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

philihp / pcg / 26158924986
100%

Build:
DEFAULT BRANCH: main
Ran 20 May 2026 11:15AM UTC
Jobs 1
Files 7
Run time 1min
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

20 May 2026 11:14AM UTC coverage: 99.565%. Remained the same
26158924986

push

github

web-flow
Move createPcg factory into index (#339)

* refactor: move createPcg factory into index

Hoists the createPcg / createPcg32 factory (and the MASK_64 constant
used only here) out of pcg32.ts and into index.ts, alongside the
already-exported createMulberry32 path. pcg32.ts now exposes only the
pcg32 algorithm (pcg32Advance, pcg32Output) and resolveStreamScheme,
matching the structure of mulberry32.ts.

* refactor: make createPcg32 the canonical factory

Swaps the alias direction: createPcg32 now holds the full factory
implementation and createPcg is the thin alias. The variant-suffixed
name aligns with createMulberry32 and leaves room to add a
createPcg64 later, so createPcg becomes the form that will eventually
be deprecated.

* refactor: keep createPcg32 in pcg32.ts for variant symmetry

Moves createPcg32 (and the MASK_64 constant + resolveStreamScheme
helper it uses) back into pcg32.ts so each variant module owns its
own create<Variant> factory, mirroring mulberry32.ts. index.ts now
just re-exports createPcg32 and defines the createPcg legacy alias.

---------

Co-authored-by: Claude <noreply@anthropic.com>

45 of 46 branches covered (97.83%)

Branch coverage included in aggregate %.

5 of 5 new or added lines in 2 files covered. (100.0%)

184 of 184 relevant lines covered (100.0%)

20281.1 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26158924986.1 20 May 2026 11:15AM UTC 7
99.57
GitHub Action Run
Source Files on build 26158924986
  • Tree
  • List 7
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 152680d7 on github
  • Prev Build on main (#26158319794)
  • Next Build on main (#26189404174)
  • Delete
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