feat(ruleset_strategy): shuffled_seats — 16 distinct entrants per CTF episode, shuffled seat assignment - #24
Open
daveey wants to merge 2 commits into
Open
feat(ruleset_strategy): shuffled_seats — 16 distinct entrants per CTF episode, shuffled seat assignment#24daveey wants to merge 2 commits into
daveey wants to merge 2 commits into
Conversation
…r episode, shuffled across seats team_interleaved seats team_count (2) entrants per episode as a fixed [A, B, A, B, ...] parity pattern with deterministic round-robin pairing, so a 16-slot CTF episode had 8 copies of each of two policies and one policy always owned the even (Red) seats. shuffled_seats deals up to num_agents DISTINCT entrants per episode from a persistent shuffled ring (round-level appearances stay balanced), then shuffles them across seat positions so slot-parity teams get random sides and compositions. Fields smaller than the seat count repeat entrants evenly and still shuffle. ctf.yaml switches to it. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Competition entrants switch from {status: competing} (every membership,
including benched old versions) to the champions shortcut: each player's
single designated is_champion policy. The status-competing filter dated
from the bootstrap era when one account seeded 16 baselines and
champions-only could not reach min_entries_to_start; the league has real
multi-player champions now.
Co-Authored-By: Claude Fable 5 <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.
Problem
CTF episodes were scheduled with just 2 players filling all 16 slots (8 copies each), with a deterministic round-robin pairing and a fixed
[A, B, A, B, ...]seat pattern — one policy always owned the even (Red) seats.Change
New
shuffled_seatsseating strategy:num_agentsdistinct entrants, dealt from a persistent shuffled ring so round-level per-entrant appearances stay balanced (min_episodes_per_entrant honored exactly);shuffled_window: rescheduled rounds never reuse a deal.ctf.yamlswitches fromteam_interleavedto it (and drops the now-unusedteam_count).Tests
Rewrote the two team_interleaved CTF tests and added a full-field one: 18 entrants → 12 episodes, every episode 16 distinct policies, every entrant ≥10 appearances, sides mixed. Suite run 10× clean (assertions are shuffle-robust).
🤖 Generated with Claude Code