Compete
Matchmaking
How the ladder chooses opponents and maps.
The ladder keeps Bradley–Terry ratings and chooses ranked opponents using a separate scheduler. The scheduler considers the available pool, free match slots, version/map evidence and queue ages.
Information policy (opt-in)
The default weighted policy is described below. An optional information policy gives each bot version a bounded allowance for surveying opponent versions on every configured map. Its initial coverage target is 25% of ordinary starts while untested opponents/maps are available; incidental coverage counts too. This is an opportunity-based target, not a guarantee of that exact share.
Remaining games favor learning about ratings and unresolved matchup exceptions. Both kinds of matches can cross any rating gap. Already measured 50/50 matchups lose priority as their uncertainty falls, and counterstrategy follow-up can continue beyond 20 games. The policy favors serving overdue bots and fills compatible slots even when the remaining opponents are far apart in rating.
Owner exclusions, quotas, capacity, immediate-rematch holds, balanced maps/seats, and the rating fit stay the same. A changed version starts with no coverage entitlement; disconnects do not earn it. Online policy choices have no effect on offline simulation. In an information shadow trial, actual games continue to use the default weighted policy.
Selection
The following describes the default weighted policy.
Every two seconds, a ranked round considers connected, queued, active bots within their quotas and pacing limits. Human games take priority. Same-owner and house-versus-house edges are excluded. Owner and global capacity are enforced at launch; if an owner's last slot fills, the remaining pool is re-optimized with its unavailable bots removed.
Predictions begin with Bradley–Terry on the queued version's matchmaking rating, including its predecessor prior. Each version pair's score is smoothed toward that prediction using 20 prior games. Each map's score is smoothed toward the pair prediction with another 20 prior games. Only rated, non-void games enter this evidence; draws count as half a win. The history cache is rebuilt from stored matches on restart and updated after a committed result.
Competition quality is the mean of 4*p*(1-p) over the configured maps, using a uniform map mix.
Thus two opposite map-specific blowouts score poorly even if their average expected score is
one half. Information is the mean of 1/sqrt(1 + map_games/20) over those maps. Pair scores add:
- quality, weighted by 2;
- waiting, weighted by 0.5, from the sum of the queue ages divided by 120 seconds (capped at 5);
- recent-game fairness, weighted by 0.25;
- information times quality, weighted by 0.2;
- a 0.3 placement bonus times quality when one rating deviation exceeds 150 and the other's is below 100;
- a penalty up to 0.25 for opponent familiarity in each bot's ten most recent ranked games.
Discovery has a separate allocation: approximately one of every seven ranked starts (14.3%) is reserved before competitive allocation. It considers every rating gap. It greedily favors less-tested pairs, using the same information measure above without multiplying by quality or applying a rating window. Older queue entries and stable bot IDs break ties. New versions start with no pair evidence. When a pair has 2–19 games and its observed score differs from the Bradley–Terry prediction by at least 0.25, its discovery score doubles for follow-up testing. The bonus ends at 20 games; established blowouts still receive coverage but lose priority to less-tested pairs. Maps remain balanced independently of outcomes.
The budget counts matches actually started. Each competitive start earns one credit; a reserved discovery start spends six. A batch can reserve against the starts it is about to make, so credit can temporarily be negative if other launches fail. Empty rounds and rejected launches neither earn nor spend credit. There is no accumulated timer-based quota.
When a pass cannot allocate any competitive match, leftover compatible bots play discovery
matches to avoid being stranded by rating filters. These idle-discovery starts neither earn
nor spend credit. They can increase the total discovery share beyond 14.3%, especially in small
or sparse pools. This is deliberate: the normal discovery budget controls the tradeoff when
competitive alternatives exist. All discovery matches retain same-owner and house-versus-house
exclusions, quotas, capacity and the two-sided immediate-rematch hold.
These tests can reveal A > B, B > C, C > A. Bradley–Terry remains the leaderboard summary;
version-pair and map evidence retains the cycle. Discovery creates opportunities for evidence,
not a guarantee of complete coverage while bots connect, change versions or leave. The simple
coverage policy has no special triangle detector, learned matchup model or second rating system.
The ordinary rating window is 400 points plus 20 per second of the shorter wait, capped at 1200. After 60 seconds, oldest eligible bots are served first against their best competitive available opponents; their own ages widen the window. An established matchup can pass the ordinary window if it has at least 20 games, expected score between 25% and 75%, and map quality at least 0.5. The 1200-point cap applies to competitive allocation. Discovery bypasses both rating filters, while both participants' ten-second immediate-rematch hold applies to every allocation. An overdue bot with no compatible opponent still waits. This policy is not a sixty-second SLA.
The remaining competitive pool is allocated by general-graph maximum-weight matching, using the pinned
MIT edmonds-blossom-fixed runtime dependency. Integer weights avoid floating-point precision
problems; candidates and edges use stable ordering. The free-match-slot constraint is solved inside
the matching problem, rather than truncating its chosen pairs. Exhaustive small-graph tests
check the solver, odd cycles, exclusions, capacity, version history, and overdue handling.
Each version pair plays its least-represented configured map next, with seed-based ties. This choice is independent of expected outcomes. Fighter IDs minimize the participants' combined ranked-seat imbalance; seeds break ties. The engine continues to randomize spawn assignment. Human games keep their map selection and human-first seats.