• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

philihp / pcg
99%
main: 100%

Build:
Build:
LAST BUILD BRANCH: claude/jolly-cannon-fmLjD
DEFAULT BRANCH: main
Repo Added 09 May 2023 05:18AM UTC
Token zWE5kuofcwF2HQYqPzoejR5HBnSxlGlMH regen
Build 1315 Last
Files 8
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH claude/optimize-algorithm-performance-Vdsw2
branch: claude/optimize-algorithm-performance-Vdsw2
CHANGE BRANCH
x
Reset
Sync Branches
  • claude/optimize-algorithm-performance-Vdsw2
  • claude/add-fast-shuffle-ZumGL
  • claude/add-mulberry32-variant-6SBDT
  • claude/add-sfc32-variant
  • claude/add-stream-schemes-aSVyD
  • claude/cherry-pick-f1ef9cc
  • claude/cleanup-release-prep-7IMxY
  • claude/coverage-100
  • claude/coverage-100-minimal
  • claude/esm-build
  • claude/expand-node-test-matrix
  • claude/fix-createpcg-types
  • claude/fix-issue-138-FNGWQ
  • claude/improve-typing
  • claude/increase-test-coverage-Y5Fbh
  • claude/jolly-cannon-fmLjD
  • claude/migrate-jest-to-node-test-uj0CT
  • claude/optimize-bigint-longlike-Kom00
  • claude/readme-discoverability
  • claude/review-issue-179-sKzSf
  • claude/serialize-game-state-VWGQx
  • claude/update-dependencies-20mOD
  • claude/update-dependencies-p8bHZ
  • claude/upgrade-eslint
  • claude/version-upgrade-recommendation-73SdJ
  • main
  • output-types
  • prep-for-namechange
  • refs/tags/v0.2.0
  • refs/tags/v0.2.1
  • refs/tags/v1.0.0
  • refs/tags/v1.0.1
  • refs/tags/v1.1.0
  • refs/tags/v2.0.0
  • release/v2.0.0-prep
  • renovate/actions-checkout-4.x
  • renovate/actions-checkout-5.x
  • renovate/actions-checkout-6.x
  • renovate/actions-setup-node-4.x
  • renovate/actions-setup-node-5.x
  • renovate/actions-setup-node-6.x
  • renovate/eslint-8.x
  • renovate/eslint-9.x
  • renovate/eslint-import-resolver-typescript-3.x
  • renovate/eslint-import-resolver-typescript-4.x
  • renovate/eslint-monorepo
  • renovate/eslint-plugin-import-2.x
  • renovate/husky-9.x
  • renovate/jest-29.x
  • renovate/jest-monorepo
  • renovate/lint-staged-13.x
  • renovate/lint-staged-14.x
  • renovate/lint-staged-15.x
  • renovate/lint-staged-16.x
  • renovate/lint-staged-17.x
  • renovate/long-5.x
  • renovate/major-node.js
  • renovate/major-typescript-eslint-monorepo
  • renovate/node-20.x
  • renovate/node-22.x
  • renovate/node-24.x
  • renovate/prettier-3.x
  • renovate/ramda-0.x
  • renovate/ts-jest-29.x
  • renovate/tsconfig-node20-1.x
  • renovate/tsconfig-node20-20.x
  • renovate/tsconfig-node20-replacement
  • renovate/tsconfig-node22-22.x
  • renovate/tsconfig-node22-replacement
  • renovate/tsconfig-node24-24.x
  • renovate/typescript-5.x
  • renovate/typescript-eslint-monorepo
  • resolve-eris-tsx
  • test-for-loops
  • test-lops

20 May 2026 08:15AM UTC coverage: 99.026% (-1.0%) from 100.0%
26150238495

Pull #336

github

claude
refactor: dissolve pcg32.ts into createPcg.ts and types.ts

The number-based PCG32 implementation lived in its own file. Move:
- PCGState32 and RandomFn types -> types.ts (alongside PCGState64/RandomFn64)
- createPcg32, nextState, prevState, stepState, getOutput, randomInt,
  randomUint32, randomList (plus the SETSEQ/XSH_RR constants and
  setseqIncrement helper) -> createPcg.ts (above the BigInt PCG64 factory)

The source tree is now createPcg / types / uint64 (plus bitwise/defaults/
index). pcg32.ts is deleted. Imports in index.ts, the bench, and the
test are repointed.

No algorithm changes; bench checksums match (2195024581, 312469475).
Pull Request #336: refactor!: make BigInt-free PCG32 the default; suffix BigInt path with 64

47 of 50 branches covered (94.0%)

Branch coverage included in aggregate %.

172 of 172 new or added lines in 3 files covered. (100.0%)

258 of 258 relevant lines covered (100.0%)

6540.66 hits per line

Relevant lines Covered
Build:
Build:
258 RELEVANT LINES 258 COVERED LINES
6540.66 HITS PER LINE
Source Files on claude/optimize-algorithm-performance-Vdsw2
  • Tree
  • List 6
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
26150238495 claude/optimize-algorithm-performance-Vdsw2 refactor: dissolve pcg32.ts into createPcg.ts and types.ts The number-based PCG32 implementation lived in its own file. Move: - PCGState32 and RandomFn types -> types.ts (alongside PCGState64/RandomFn64) - createPcg32, nextState, prevState, stepS... Pull #336 20 May 2026 08:16AM UTC claude github
99.03
26149904417 claude/optimize-algorithm-performance-Vdsw2 ci: pass number seeds to createPcg32 in compat smoke test createPcg32 was tightened to accept only number seeds (BigInt is reserved for the createPcg64 API), but the smoke test was still passing 42n/54n. numberToU64 evaluates n >>> 0, which throw... Pull #336 20 May 2026 08:09AM UTC claude github
99.03
26149486806 claude/optimize-algorithm-performance-Vdsw2 commit the slop Pull #336 20 May 2026 08:00AM UTC philihp github
99.03
26136697483 claude/optimize-algorithm-performance-Vdsw2 ci: update compat smoke test to the renamed API The smoke test still used the old createPcg32(opts, state, streamId) and curried randomInt(min, max)(state). Switched to the new default API (createPcg32(state, streamId), randomInt(min, max, state)... Pull #336 20 May 2026 02:02AM UTC claude github
99.06
26136626245 claude/optimize-algorithm-performance-Vdsw2 refactor!: make BigInt-free PCG32 the default; suffix BigInt path with 64 The number-based fast variant is now the default API: createPcg32, nextState, prevState, stepState, getOutput, randomInt, randomUint32, randomList, plus the Pcg32 and Rando... Pull #336 20 May 2026 02:00AM UTC claude github
99.06
26122724051 claude/optimize-algorithm-performance-Vdsw2 perf: add BigInt-free fast variant (SETSEQ + XSH_RR) Adds a parallel `fast*` API that runs the PCG32 hot path on plain number arithmetic instead of BigInt. State is carried as two uint32 halves and 64-bit multiply uses a 16-bit-limb split so part... Pull #336 19 May 2026 08:17PM UTC claude github
99.03
See All Builds (1250)

Badge your Repo: pcg

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc