brackt/database
Chris Parsons 70c22d03fc
feat: add UCL bracket Monte Carlo simulator (#131)
Implements a 16-team UEFA Champions League knockout bracket simulator
using blended Elo + futures odds probabilities (70/30 split). Tracks
integer placement counts per tier to avoid fractional accumulation
drift, ensuring total EV sums to exactly 340 by construction.

- New UCLSimulator class reading live playoffMatches from DB
- Respects completed match results (eliminated teams get exact EV)
- New ucl_bracket simulator_type enum value + migration
- Registered in simulator registry; added to admin sport selector
- 18 unit tests covering math, bracket path, and integration scenarios

Fixes #113

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-10 23:04:51 -07:00
..
context.browser-stub.ts fix: exclude database/context from browser bundle to fix Docker build (#2) 2026-02-19 11:54:32 -08:00
context.ts Initial commit from create-react-router 2025-10-10 23:04:50 -07:00
schema.ts feat: add UCL bracket Monte Carlo simulator (#131) 2026-03-10 23:04:51 -07:00