Skip to content

feat(tournament): multi-main structure — builder + standings viz#322

Merged
ryan-johnson2 merged 1 commit into
develfrom
tournament-multi-main
Jun 29, 2026
Merged

feat(tournament): multi-main structure — builder + standings viz#322
ryan-johnson2 merged 1 commit into
develfrom
tournament-multi-main

Conversation

@ryan-johnson2

Copy link
Copy Markdown
Contributor

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 ci green; check 0 errors; 561 + 42 tests; events contract 47.

🤖 Generated with Claude Code

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>
@ryan-johnson2 ryan-johnson2 merged commit eb447a4 into devel Jun 29, 2026
3 checks passed
@ryan-johnson2 ryan-johnson2 deleted the tournament-multi-main branch June 29, 2026 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant