Replace static Basketball-Reference seed probability distributions (p_1..p_10) with dynamic simulation of each team's remaining games based on current standings from the DB. - Load regularSeasonStandings in parallel with participants query - Compute remainingGames = 82 - gamesPlayed per team - Pre-compute per-game win probability (Elo vs average opponent 1500) on TeamEntry at construction time — not inside the hot loop - Sort conference standings by projected wins to assign seeds, replacing the drawSeed() weighted-probability approach - Conference resolved from standings table, falls back to TEAMS_DATA - Strip all p_1..p_10 seed probability data from TEAMS_DATA - Move simulateProjectedWins to module scope (no closure captures) - Remove const N alias; use NUM_SIMULATIONS directly Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| auto-racing-simulator.ts | ||
| bracket-simulator.ts | ||
| golf-simulator.ts | ||
| nba-simulator.ts | ||
| ncaam-simulator.ts | ||
| ncaaw-simulator.ts | ||
| nhl-simulator.ts | ||
| registry.ts | ||
| types.ts | ||
| ucl-simulator.ts | ||