10,000-match Elo balance experiment
==================================

The rating arithmetic conserves points. Individual ratings still contain
substantial uncertainty, especially at ten games and in the draft model.
This experiment does not establish optimal parameters for real IW4x play.

Method
------
Primary run: 10,000 sequential 4v4 matches, seed 20261012.
Independent seed range: 20261012 through 20261016.
Total unique simulated matches: 110,000. Rotating and draft
models have 5 and 5 seeds respectively; the equal-skill control has 1.
Rerunning a seed reproduces its outcome; repeated execution is not extra
independent evidence. No game processes or production databases were used.

Each run starts with 80 accounts, adds one per day after day one, and selects
10-20 daily players uniformly. A newcomer is active on arrival. Each match
samples eight of that day's players. Assumed total match cycle: 15 minutes,
including drafts/loading, over the 390-minute evening: 26 matches/day.
The run therefore spans 385 days and ends with 464 accounts.
Growth and activity are held constant for this extrapolation; no attrition.

Synthetic individual skill is static Normal(1500, SD 200), with the initial
80 centered to 1500. Outcome expectation is logistic(team mean difference
/400), with about 2% draws. Draw sampling preserves expected match score.
Everyone starts at 1500. Every update calls rating_service.policy.deltas
directly: K=64/48/32, ten placement games, shared conserved rounding, no
abandon penalty. Three divisions, Bronze-Diamond; labels do not affect MMR.

The captain model assumes the two highest noisy skill estimates become
captains; picks alternate through the remaining estimated strengths.
Estimate noise SD is 80. Lower current MMR gets first pick, matching the
repo's order. Human voting/selection is modeled, not executed from GSC.
Captains thus have skill knowledge beyond displayed Elo. This is a stress
case for closely balanced drafts, not evidence that all real drafts behave
this way. Attendance, latent skills and outcome uniforms are paired across
the two team-selection models. Different seeds are independent.

Results across independent seeds
--------------------------------
Rank correlation and player error below use accounts with at least 30 games.
Synthetic skills are centered to the same overall 1500 reference as Elo.
Error is absolute Elo minus that synthetic target; no real player skill
was observed. Pair-order accuracy uses only pairs at least 100 skill points
apart and gives ties half credit. Ranges are seed ranges, not confidence
intervals. Brier improvement uses the final 2,000 matches of each run.

Rotating teams:
  Spearman skill/rating correlation: 0.811; range 0.777 to 0.826
  Mean absolute player error (Elo): 92.5; range 88.3 to 96.4
  Correctly ordered player pairs (%): 88.7; range 87.1 to 89.9
  Brier improvement over 50/50 (%): 8.57; range 6.37 to 10.09

Captain draft:
  Spearman skill/rating correlation: 0.700; range 0.653 to 0.742
  Mean absolute player error (Elo): 110.0; range 102.4 to 114.7
  Correctly ordered player pairs (%): 82.5; range 80.6 to 84.7
  Brier improvement over 50/50 (%): -1.41; range -1.69 to -1.11

Every match in every run had exactly zero sum of rating changes. Every
daily total equaled 1500 times the account count; no inflation/deflation
beyond the explicit 1500 points added for each new account. All deltas were
integers within their player K limit. Each run recorded 80,000 player-games.

The draft prediction result is a real limitation of this modeled setting.
Negative Brier improvement means more squared score-prediction error than
always predicting 0.5. Draft teams are already close in true strength, so
rating noise can exaggerate their difference. Player ordering still carries
skill information; this does not mean that ratings are completely random.

Rotating teams, primary seed, final 2,000 matches:
  True expected score in 40%-60% range: 38.6%
  Average true distance from 50/50: 14.74 percentage points
  Average estimated distance: 13.53 percentage points
  MSE against known outcome probability: 0.01442
  Same MSE for constant 50/50: 0.03163

Captain draft, primary seed, final 2,000 matches:
  True expected score in 40%-60% range: 61.4%
  Average true distance from 50/50: 8.74 percentage points
  Average estimated distance: 8.10 percentage points
  MSE against known outcome probability: 0.01513
  Same MSE for constant 50/50: 0.01136

Primary-seed rank distribution (completed ten placements only)
-------------------------------------------------------------
Rank             Rotating teams        Captain draft
Bronze           20 (  4.3%)          15 (  3.2%)
Silver          108 ( 23.4%)          89 ( 19.3%)
Gold            202 ( 43.7%)         242 ( 52.4%)
Platinum        109 ( 23.6%)         108 ( 23.4%)
Diamond          23 (  5.0%)           8 (  1.7%)
Placed: 462; still in placements: 2.
This distribution follows the assumed skill spread and team selection.
It is not a target percentage or a forecast of real launch ranks.

Placement/experience checkpoints (primary seed)
----------------------------------------------
Games     Players reaching it     Mean error: rotating / draft
   10                     462               148.6 /  163.3 Elo
   30                     411               127.4 /  149.9 Elo
   50                     380               117.2 /  146.9 Elo
  100                     293                93.6 /  124.2 Elo
  200                     179                71.8 /  104.0 Elo
  400                      15                81.9 /   99.2 Elo
These are checkpoints during individual careers, not the final-population
error above. Later checkpoints contain fewer/older accounts; they are not
a controlled same-player convergence curve. Ten games reveal a rank, but
do not establish precise skill. Strong/weak outliers can need many matches.

Equal-skill control
-------------------
All players have identical true skill; every match is a true 50/50.
After 10,000 matches the final rating range is 1180-1816.
For accounts with 30+ games, mean absolute noise is 87.5 Elo.
Central 80% of all account ratings: 1362-1634.
Rank counts: {'Bronze': 1, 'Silver': 86, 'Gold': 297, 'Platinum': 77, 'Diamond': 1}.
This demonstrates luck-driven rating spread despite zero total drift.
A rank/division alone is not a confidence interval on a player's ability.

Implications
------------
The experiment supports exact point conservation and useful broad skill
ordering under these assumptions. It also finds noisy individual ranks,
slow placement of extreme skills, and overconfident draft predictions.
Do not call the parameters perfectly balanced or ten-game ranks settled.
No production constants or rank thresholds were changed by this experiment.
Any proposed change should be compared on prediction, convergence and noise
together, then checked against actual human match data.

The outcome generator deliberately follows the Elo team model. Passing it
does not validate that model for IW4x. Real attendance, voting, skill changes,
team chemistry, fixed parties, collusion and game-mode differences were not
measured. This does not replace the pending eight-human runtime session.

Reproduce from repository root
------------------------------
python3 tests/elo/simulate_balance.py --matches 10000 --seeds 5 --seed 20261012
python3 tests/elo/report_balance.py

Simulation uses the Python standard library; plotting also needs matplotlib.
results.json contains every seed, assumptions, metrics and source hashes.
matches.csv records all 10,000 primary-run rosters, predictions and changes.
players.csv contains the primary-run final synthetic accounts.
comparison.png and comparison.svg visualize the primary seeds only.
