* Add WNBA playoff simulator with SRS-based Elo ratings, fixes #125 - New WNBASimulator: Monte Carlo (50k sims) projecting remaining regular season games → seeding → R1 Bo3 / Semis Bo5 / Finals Bo7 bracket - Hybrid Elo sourcing: pre-season uses futures odds (ICM); once avg gamesPlayed ≥ 5, switches automatically to SRS-derived Elo (elo = 1500 + srs × 20) - New WnbaStandingsAdapter: fetches ESPN standings + teams endpoints in parallel; includes zero-records for 2026 expansion teams (Portland Fire, Toronto Tempo) not yet in standings - Added srs column to regular_season_standings (migration 0063); stored as net rating proxy (avgPointsFor − avgPointsAgainst) - Added wnba_bracket to simulatorTypeEnum Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Fix missing afterEach import in wnba standings test Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
3 lines
258 B
SQL
3 lines
258 B
SQL
ALTER TYPE "public"."simulator_type" ADD VALUE IF NOT EXISTS 'mlb_bracket';--> statement-breakpoint
|
|
ALTER TYPE "public"."simulator_type" ADD VALUE 'wnba_bracket';--> statement-breakpoint
|
|
ALTER TABLE "regular_season_standings" ADD COLUMN "srs" numeric(6, 2);
|