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

philihp / pcg
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: renovate/typescript-eslint-monorepo
DEFAULT BRANCH: main
Repo Added 09 May 2023 05:18AM UTC
Token zWE5kuofcwF2HQYqPzoejR5HBnSxlGlMH regen
Build 1323 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/coverage-100
branch: claude/coverage-100
CHANGE BRANCH
x
Reset
Sync Branches
  • claude/coverage-100
  • 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-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-algorithm-performance-Vdsw2
  • 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
  • claude/zen-lovelace-v3Nlf
  • 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

21 May 2026 11:28PM UTC coverage: 100.0% (+4.0%) from 96.018%
26259141578

Pull #347

github

claude
test: reach 100% line/branch/function coverage

Coverage was sitting at 98.30 line / 94.71 branch under the V8
--experimental-test-coverage reporter. The gaps were a mix of real
ones (a defensive dead branch in resolveStreamScheme, an
RXS_M_XS carry path no canonical seed hits) and tooling artifacts —
esbuild's CJS interop helpers were getting source-mapped onto random
lines of every file, making lines and branches that were always
executed report as 0-hit.

Changes:

- Switch the package to "type": "module". This is what eliminates the
  CJS interop noise: ESM-mode tsx no longer wraps modules in
  __export/__copyProps helpers, so V8 only sees our own code. dist
  filenames flip (.js is now the ESM entry, .cjs the CJS one) but the
  exports map handles both consumer modes transparently. Smoke-tested
  with both require() and dynamic import() against the built dist.
- Move the two runtime enums (OutputFnType, StreamScheme) out of
  types.ts into enums.ts so types.ts can be marked pure-types and
  excluded from coverage. Also move the type-only RandomListFn /
  RandomIntPartial1 / RandomListPartial1 interface declarations there.
- Simplify resolveStreamScheme by dropping the structurally unreachable
  INCREMENTERS[resolved] === undefined check; the throw is still
  exercised by the unknown-name test.
- Inline the seeded PCGState object literal in createPcg32 and the
  mul64 helper temporaries, working around per-property phantom-line
  reporting from V8.
- Add outputFns.coverage.test.ts with four targeted cases that exercise
  the rotate-by-zero edge of XSH_RR, the minimum-shift edge of XSH_RS,
  the xor-cancel case of XSL_RR, and the sumLo > 0xffffffff carry path
  of RXS_M_XS — none of which the seed=42/stream=54 canonical seed
  reaches naturally.
- tsconfig: set module=preserve + moduleResolution=bundler so DTS
  emission doesn't require explicit .js extensions on every relative
  import. tsup handles the actual resolution.
- Rename eslint.config.js... (continued)
Pull Request #347: test: reach 100% line/branch/function coverage

100 of 100 branches covered (100.0%)

Branch coverage included in aggregate %.

39 of 39 new or added lines in 7 files covered. (100.0%)

400 of 400 relevant lines covered (100.0%)

9010.32 hits per line

Relevant lines Covered
Build:
Build:
400 RELEVANT LINES 400 COVERED LINES
9010.32 HITS PER LINE
Source Files on claude/coverage-100
  • Tree
  • List 8
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
26259141578 claude/coverage-100 test: reach 100% line/branch/function coverage Coverage was sitting at 98.30 line / 94.71 branch under the V8 --experimental-test-coverage reporter. The gaps were a mix of real ones (a defensive dead branch in resolveStreamScheme, an RXS_M_XS car... Pull #347 21 May 2026 11:29PM UTC claude github
100.0
See All Builds (1257)

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