- Replace hardcoded FanGraphs p_div/p_wc draws with Binomial regular-season simulation so that admin-entered projected wins drive playoff qualification odds, not just in-bracket game win probability - Add getRegularSeasonStandings call so mid-season current wins feed into projected final standings - Use normal approximation (Box-Muller) in sampleBinomial for n≥30: drops seeding phase from ~243M to ~3M Math.random() calls per 50K-sim run - eloToRDif now calls rawWinRateFromElo instead of inlining the same formula - Warn when recognized teams lack a standings row during mid-season simulation (silent wrong seeding result with no diagnostic previously) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| simulations | ||
| standings-sync | ||
| bracket-simulator.ts | ||
| brackt.server.ts | ||
| discord.ts | ||
| draft-autostart.ts | ||
| draft-discord.server.ts | ||
| draft-email.server.ts | ||
| ev-calculator.ts | ||
| icm-calculator.ts | ||
| probability-engine.ts | ||
| probability-updater.ts | ||
| sync-tournament-results.ts | ||