brackt/app/services/__tests__
Claude c7dcbb0682
Announce playoff eliminations to Discord on bracket generation
Teams that miss the playoffs (NBA-style brackets) or are knocked out in the
group stage (FIFA group->knockout) were correctly marked eliminated but never
announced to league Discord channels — the elimination intents never called
recalculateAffectedLeagues, and these 0-pt eliminations have no score delta or
match to surface in the existing scored-match/standings sections.

Add an 'Eliminated' section to the standings-update embed and feed newly
eliminated drafted participants through recalculateAffectedLeagues via a new
eliminatedParticipantIds option. Wire it into generate-bracket, generate-groups,
and populate-knockout, gated to fantasy events only (qualifying-point majors like
tennis/CS2 are excluded) and scoped to participants newly eliminated by the run.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E5gLy3K9vW65ogG8GTCjWE
2026-06-28 17:37:34 +00:00
..
bracket-simulator.test.ts Fix oxlint warnings: no-shadow, consistent-function-scoping, no-non-null-assertion, and others (#196) 2026-03-21 10:59:51 -07:00
discord.test.ts Announce playoff eliminations to Discord on bracket generation 2026-06-28 17:37:34 +00:00
draft-discord.server.test.ts claude/discord-pick-notification-refactor-FeusJ (#58) 2026-05-29 16:24:22 +00:00
draft-email.server.test.ts Add draft email notifications feature (#459) 2026-05-20 15:35:43 -07:00
ev-calculator.test.ts feat: add calculateReplacementLevel and calculateVORP to ev-calculator 2026-04-09 01:59:46 +00:00
icm-calculator.test.ts Fix oxlint warnings: no-shadow, consistent-function-scoping, no-non-null-assertion, and others (#196) 2026-03-21 10:59:51 -07:00
probability-engine.test.ts Add projected-wins input mode to admin Elo Ratings page (#306) 2026-04-17 12:40:08 -07:00
probability-updater.test.ts Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -07:00
sync-tournament-results.test.ts Unify majors: score once, fan out across windows + tennis bracket EV 2026-06-22 20:32:22 -07:00