brackt/app/routes/__tests__
Claude cdf86d1682
Feed each AFL Elimination Final into the Semi-Final of the same number
The Elimination Final winners were crossed into the Semi-Finals — EF1's winner
met the QF2 loser and EF2's the QF1 loser. The AFL feeds them straight through:
SF1 is the QF1 loser against the EF1 winner and SF2 the QF2 loser against the
EF2 winner. The crossover in this system lands a round later, at Semi-Final →
Preliminary Final, so a Qualifying Final loser cannot meet the side that just
beat it — that part was already right and is unchanged.

In 2026 that drew Fremantle v Adelaide and Brisbane v Geelong, when Fremantle
played Geelong and Brisbane played Adelaide.

Placement now reconciles both Semi-Final slots on every Elimination Final
result rather than writing the one it was called for, so correcting a recorded
result moves the qualifier instead of leaving the beaten team alive in a semi.
A slot held by anyone who never played an Elimination Final still raises
"already filled", and a Semi-Final that has been played refuses the move rather
than rewriting who contested it.

The simulator paired the Semi-Finals the same crossed way, which biased every
projection running off an undecided Elimination Final; it now feeds straight
through too.

Brackets already advanced under the crossover keep their wrong pairings, since
no admin action re-runs advancement — a completed match cannot be re-submitted.
Admin → the event's bracket gains a "Fix Semi-Final Pairings" button that runs
the same reconciliation over a bracket as it stands.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MSDeNWAXvK7nznJqjxn7Jo
2026-09-11 18:10:30 +00:00
..
admin.simulators.test.ts Hide completed seasons in admin tools (#418) 2026-05-12 16:52:26 -07:00
admin.sports-seasons.$id.expected-values.test.ts Fix EV reporting 20 pts for both LLWS 5-6 and 7-8 locked tiers 2026-08-27 16:11:59 +00:00
admin.sports-seasons.$id.simulator.helpers.test.ts Make MLB projected wins actually drive the simulation 2026-08-29 05:31:15 +00:00
admin.sports-seasons.$id.test.ts Remove flaky context menu click tests (#81) 2026-06-10 05:59:49 +00:00
admin.sports-seasons.bracket.clear.test.ts Only derive feeders where the halving rule actually holds 2026-08-21 18:18:05 +00:00
admin.sports-seasons.bracket.generate.test.ts Fix three defects found reviewing the bracket entry-floor work 2026-08-27 17:26:23 +00:00
admin.sports-seasons.bracket.helpers.test.ts Announce mirror knockouts from the admin bracket-scoring path too 2026-07-04 18:19:52 +00:00
admin.sports-seasons.bracket.reprocess.test.ts Fix three defects found reviewing the bracket entry-floor work 2026-08-27 17:26:23 +00:00
admin.sports-seasons.bracket.reseed-afl-semifinals.test.ts Feed each AFL Elimination Final into the Semi-Final of the same number 2026-09-11 18:10:30 +00:00
admin.sports-seasons.bracket.reseed-afl.test.ts Add a Re-seed Wildcard Winners button to the bracket admin 2026-09-04 21:40:08 +00:00
admin.sports-seasons.helpers.test.ts Hide completed seasons in admin tools (#418) 2026-05-12 16:52:26 -07:00
admin.sports.$id.test.ts Add public sports overview page (#451) 2026-05-19 23:02:58 -07:00
admin.sports.new.test.ts Add public sports overview page (#451) 2026-05-19 23:02:58 -07:00
admin.tournaments.$id.test.tsx Canonical tournament layer: 2026-05-01 21:04:48 -07:00
api.upload-sport-icon.test.ts Add Cloudinary sports icon uploads (#393) 2026-05-07 16:07:34 -07:00
api.webhooks.cloudinary.test.ts Add Cloudinary-backed avatar system (#385) 2026-05-06 14:47:37 -07:00
batch-results-helpers.test.ts feat: batch qualifying results entry (#290) 2026-04-12 14:52:22 -07:00
check-email.test.ts Add email verification for email/password signups (#400) 2026-05-09 23:58:45 -07:00
onboarding.test.ts Add user onboarding flow with username selection (#430) 2026-05-15 11:17:15 -07:00
root.onboarding-exempt.test.ts Add admin user management interface with search and username editing (#431) 2026-05-15 12:07:51 -07:00
settings.test.ts claude/settings-menu-urls-kbp6x8 (#116) 2026-06-30 16:01:36 +00:00
sports.test.tsx sync racing standings (#80) 2026-06-10 04:25:48 +00:00