Monte Carlo simulation of the 2026 AFL season and 10-team finals series. Elo ratings are backsolved from Squiggle's projected season win totals using the inverse formula: elo = 1500 - 450×log₁₀((1−wins/23)/(wins/23)). - New `afl_bracket` simulator type (schema + migration) - `afl-simulator.ts`: projects remaining regular season via Elo, seeds the AFL_10 finals bracket (Wildcard → QF/EF → SF → PF → Grand Final), and correctly tracks P5/P6 and P7/P8 as separate scoring tiers - `afl.ts` standings sync adapter pulling from Squiggle API (no auth required) - Finals line on standings display set to 10 for AFL seasons - Substring name matching with longest-key-wins to prevent "Port Adelaide" colliding with "Adelaide" when matching "Port Adelaide Power" - 27 unit tests covering bracket logic, column-sum guarantees, and name matching Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
9 lines
199 B
Text
9 lines
199 B
Text
NODE_ENV="development"
|
|
DATABASE_URL=""
|
|
CLERK_SECRET_KEY=""
|
|
CLERK_PUBLISHABLE_KEY=""
|
|
CLERK_WEBHOOK_SECRET=""
|
|
CONTAINER_REGISTRY=""
|
|
DEV_ADMIN_CLERK_ID=""
|
|
SENTRY_AUTH_TOKEN=""
|
|
SQUIGGLE_CONTACT_EMAIL=""
|