(seed: number)
| 1671 | |
| 1672 | // Seeded deterministic PRNG so the shuffled run is reproducible (mulberry32). |
| 1673 | function mulberry32(seed: number): () => number { |
| 1674 | let a = seed >>> 0; |
| 1675 | return () => { |
| 1676 | a |= 0; |
| 1677 | a = (a + 0x6d2b79f5) | 0; |
| 1678 | let t = Math.imul(a ^ (a >>> 15), 1 | a); |
| 1679 | t = (t + Math.imul(t ^ (t >>> 7), 61 | t)) ^ t; |
| 1680 | return ((t ^ (t >>> 14)) >>> 0) / 4294967296; |
| 1681 | }; |
| 1682 | } |
| 1683 | |
| 1684 | const PAGE_IDS = Array.from({ length: 12 }, (_, i) => `j${i}`); |
| 1685 |
no outgoing calls
no test coverage detected
searching dependent graphs…