brackt/app
Claude 2420cf3c19
Some checks failed
🚀 Deploy / 🧪 Test (pull_request) Successful in 2m50s
🚀 Deploy / ʦ🔍 Typecheck & Lint (pull_request) Failing after 49s
🚀 Deploy / 🐳 Build (pull_request) Has been skipped
🚀 Deploy / 🚀 Deploy (pull_request) Has been skipped
Harden CS2 simulator: protect locked results, gate recorded bracket, hoist recon
Three review follow-ups on the conditioning change:

- reconcileAdvancers no longer flips a result that is locked in from real
  match data. Locked advancers are kept out of the demotion pool and
  locked-eliminated teams out of the promotion pool; they are only touched
  as a last resort when there aren't enough non-locked teams to reach the
  8-advancer target (a genuinely inconsistent snapshot). buildStageInitialRecords
  now also returns the lockedAdvanced set for this.
- simulateChampionsStage only honors recorded bracket results when the real
  bracket pairings are actually in use (realBracket). Previously a recorded
  winner could be applied to a fictitious Elo-seeded pairing.
- Per-stage Swiss W-L reconstruction is loop-invariant, so it is now computed
  once per event in CSMajorSimulator.simulate and passed in via
  options.swissRecords instead of being re-derived on every Monte Carlo
  iteration.

Adds direct unit coverage for reconcileAdvancers (protection + last-resort
fallback) and for the bracket-gating behavior.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018zMG6JFng8bMqZYweffVuE
2026-06-20 03:17:30 +00:00
..
components claude/sweet-carson-46j5k6 (#100) 2026-06-19 06:15:32 +00:00
contexts feat: implement middleware and context provider for Express integration 2025-10-11 20:56:00 -07:00
hooks Fix SSR/hydration timezone flip in event date and time display (#95) 2026-06-17 06:09:29 +00:00
lib claude/practical-newton-4v041g (#98) 2026-06-18 02:33:05 +00:00
models claude/bracket-wins-minimum-qp-el8z14 (#99) 2026-06-19 01:25:17 +00:00
routes claude/bracket-wins-minimum-qp-el8z14 (#99) 2026-06-19 01:25:17 +00:00
services Harden CS2 simulator: protect locked results, gate recorded bracket, hoist recon 2026-06-20 03:17:30 +00:00
test claude/sweet-carson-46j5k6 (#100) 2026-06-19 06:15:32 +00:00
types Redesign standings page with sortable table, 7-day change, and chart repositioned (#205) 2026-03-22 11:05:13 -07:00
utils claude/sports-templates-conversion-ILWAM (#71) 2026-06-04 21:31:49 +00:00
welcome Redesign to dark-mode-only with navy palette and accent colors (#13) 2026-02-20 19:26:11 -08:00
app.css Add electric flash + fade animation for draft picks, fixes #381 (#407) 2026-05-10 23:17:29 -07:00
entry.client.tsx Filter unnecessary sentry css and js errors. 2026-03-15 10:24:57 -07:00
entry.server.tsx Replace console.* with structured logger, fix no-inferrable-types (closes #98) (#199) 2026-03-21 13:41:39 -07:00
root.tsx fix: resolve all 48 WCAG 2.2 AA accessibility issues (#439) 2026-05-17 20:11:38 -07:00
routes.ts claude/beautiful-hawking-a72ilq (#92) 2026-06-16 14:11:51 +00:00