brackt/app/services
Chris Parsons 0b53570723
All checks were successful
🚀 Deploy / 🧪 Test (pull_request) Successful in 2m20s
🚀 Deploy / ʦ🔍 Typecheck & Lint (pull_request) Successful in 1m15s
🚀 Deploy / 🐳 Build (pull_request) Has been skipped
🚀 Deploy / 🚀 Deploy (pull_request) Has been skipped
Fix MLB simulator: use projected wins for playoff seeding + perf + cleanup
- 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>
2026-06-01 11:55:24 -07:00
..
__tests__ claude/discord-pick-notification-refactor-FeusJ (#58) 2026-05-29 16:24:22 +00:00
simulations Fix MLB simulator: use projected wins for playoff seeding + perf + cleanup 2026-06-01 11:55:24 -07:00
standings-sync Fix MLB standings 406 error and refactor ESPN adapter shared code (#62) 2026-06-01 03:31:18 +00:00
bracket-simulator.ts Replace console.* with structured logger, fix no-inferrable-types (closes #98) (#199) 2026-03-21 13:41:39 -07:00
brackt.server.ts Add Brackt as a league-private meta-sport (#200) (#377) 2026-05-04 20:31:44 -07:00
discord.ts claude/discord-pick-notification-refactor-FeusJ (#58) 2026-05-29 16:24:22 +00:00
draft-autostart.ts Add auto-start draft at scheduled time (#437) (#438) 2026-05-16 23:37:29 -07:00
draft-discord.server.ts claude/discord-pick-notification-refactor-FeusJ (#58) 2026-05-29 16:24:22 +00:00
draft-email.server.ts Add draft email notifications feature (#459) 2026-05-20 15:35:43 -07:00
ev-calculator.ts fix: address VORP code review issues (#283) 2026-04-08 23:20:02 -04:00
icm-calculator.ts Replace console.* with structured logger, fix no-inferrable-types (closes #98) (#199) 2026-03-21 13:41:39 -07:00
probability-engine.ts Fix NCAAW futures odds simulation and admin import UX (#420) 2026-05-13 01:06:16 -07:00
probability-updater.ts Fix slow bracket save and stale projected points (#54) 2026-05-27 04:28:10 +00:00
sync-tournament-results.ts Canonical tournament layer: 2026-05-01 21:04:48 -07:00