feat(tournament): round-robin structure — builder + standings/rotation viz#317
Merged
Conversation
…n viz
Round-robin joins single-elim in the Build-tournament action:
- Structure picker gains "Round robin"; its config is Rounds (heats per pilot), Heat size (default 4),
a points-table editor, and the win-condition picker, seeded from a finished round's ranking or a
class roster. submitAdvance creates ONE round_robin round (not a level chain) and fills it.
New roundRobinRoundReq() in standings.ts.
- New RoundRobinView (standings table: Pos | Pilot | Points | Best lap, ordered by the canonical
round ranking; + a per-rotation grid grouping heats by rr-r{N} with finishing order). Rendered in
the EventRounds Tournaments container and the Results tournament view. roundRobin.ts builds the
view-model (rotation grouping + points/best-lap aggregation from heat results). Friendly names
throughout.
Engine/server/schema were already in place. Frontend-only: check 0 errors, 546 rd-console + 38
component tests.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Round-robin joins single-elim in the Build-tournament action. Structure picker + config (Rounds, Heat size default 4, points editor, win condition), seeded from a round ranking or class roster; creates ONE round_robin round. New RoundRobinView — standings (Pos | Pilot | Points | Best lap, by the canonical ranking) + per-rotation grid (heats grouped by rr-r{N}) — shown in the Tournaments container + Results tournament view.
Frontend-only; check 0 errors, 546 + 38 tests.
🤖 Generated with Claude Code