feat(tournament): multi-main structure — builder + standings viz#322
Merged
Conversation
Multi-main joins single-elim + round-robin in the Build-tournament action (the engine was already built/registered; this un-shelves it and adds the UI): - standard_schemas offers multi_main (params main_size, bump_n); events offered-formats contract updated. - Builder: structure picker gains "Multi-main"; config = Main size (default 4) + Bump-up count (0 = independent A/B/C mains; >0 = bottom-up bump ladder) + win-condition, seeded from a round ranking or class roster. submitAdvance creates ONE multi_main round. New multiMainRoundReq(). - Viz: MultiMainView — a standings table (Pos | Pilot | Tier), full-field by the engine's tier-banded ranking, with each pilot's main (A-Main/B-Main/…) in the Tier column. Standings-only (mains stay in the Heats list), matching the simplified round-robin view. Rendered in the EventRounds Tournaments container + the Results tournament view. multiMain.ts builds the view-model (tier derived from the main-X heat each pilot raced). cargo xtask ci green (no binding drift); frontend check 0 errors; 561 rd-console + 42 component tests; events contract 47. 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.
Multi-main joins single-elim + round-robin in Build-tournament (engine was already built; this un-shelves it + adds UI). Structure picker + config (Main size default 4, Bump-up count 0=independent mains / >0=bottom-up bump ladder, win condition), seeded from a round ranking or roster; creates ONE multi_main round. MultiMainView = standings (Pos | Pilot | Tier), full-field by the engine's tier-banded ranking, each pilot's main shown — standings-only (mains live in the Heats list), matching the round-robin view.
cargo xtask cigreen; check 0 errors; 561 + 42 tests; events contract 47.🤖 Generated with Claude Code