Repository navigation
feat(tournaments): league table, games-based scoring, no draws, byes without points, withdraw players - #170
Merged
Merged
Conversation
…ers, no draws
Per-tournament scoring ('games' 3/2/1/0 or classic 'match' 3/0) and bye
scoring ('none' or 'win'), a withdrawn flag on participants that removes
all their matches from everybody's standings, league-table tiebreakers
(points, game difference, head-to-head of two, games won, seed) for round
robin, draws rejected with draws_not_allowed, and fixed round-robin
pairings. Migration 0018 backfills existing tournaments with 'match' and
'win' so their standings do not change. See ADR 0028 (next commit).
Updated tests that encoded the old behavior: the bye in tournaments-api
is now 0:0 by default, and the draw-normalisation test now asserts the
rejection.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…coring settings in the UI Quick buttons for 2:0, 2:1, 1:2 and 0:2 (no draw), a Bundesliga-style table with Spieltage and a crosstable for round robin, "Aus der Wertung nehmen" next to dropping, scoring and bye scoring when creating a tournament and during registration, no swap button for round robin. Adds a round-robin E2E spec; the Swiss E2E expectations now follow games scoring and the page-test fixtures model a pre-ADR-0028 tournament. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…nd withdrawing Marks ADR 0008 as partially superseded, updates the Turniere section of DEVELOPMENT.md and records the tester-feedback items under Phase 7. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A participant who was both dropped and withdrawn had their fixtures turned into byes for the opponent, which score under byeScoring 'win' even though nothing against a withdrawn player may count. Withdrawn players are now left out of the dropped set, so their fixture is still created and then voided. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… taken on main) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
dinooo13
force-pushed
the
feat/tournament-league-scoring
branch
from
October 3, 2026 02:37
e8494e9 to
a9fb286
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tester feedback (Sept 2026) on round-robin tournaments.
Roadmap phase / item
Phase 7 (Turniere), "Tester-Feedback Sept 2026".
Changes
draws_not_allowed).tournament.scoring)games: 3 for a 2:0 win, 2 for a 2:1 win, 1 for a 1:2 loss, 0 for a 0:2 loss. Default for new tournaments.match: classic 3/0.tournament.bye_scoring):none(default: no points, not a played match, shown as "Spielfrei") orwin(the old 2:0).tournament_participant.withdrawn)pairings_fixed), because they broke the fixed schedule.match/win, so their points don't change.Test plan
pnpm lint,pnpm typecheck,pnpm typecheck:e2epnpm test: 1860 testspnpm test:e2e: 139 on the main commit; the follow-up fix re-rane2e/tournaments.spec.ts🤖 Generated with Claude Code