500 trials with a ~3–5% expected win rate had enough variance to occasionally land below the 0.03 threshold (~2% failure rate). Bumping to 2000 trials reduces the std dev by 2x; lowering the threshold to 0.02 keeps the assertion meaningful (still well above random 0.78%) while eliminating the flakiness. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| afl-simulator.test.ts | ||
| golf-simulator.test.ts | ||
| mlb-simulator.test.ts | ||
| ncaam-simulator.test.ts | ||
| ncaaw-simulator.test.ts | ||
| nhl-simulator.test.ts | ||
| snooker-simulator.test.ts | ||
| tennis-simulator.test.ts | ||
| ucl-simulator.test.ts | ||