Case Study 2 — A Prediction Contest: Which Rating Predicts Next Season Best?

Setup

Section 30.3 showed that the Elo formula, applied to official FIDE ratings, over-predicts favourites, and 30.8 showed that juniors systematically beat their ratings. Both findings suggest the official prediction could be improved. But "the formula is miscalibrated in hindsight" is a much weaker claim than "I can predict future games better." This case study runs an honest contest: every system is fitted only on the past and judged only on games it has not seen.

The data. Human OTB broadcast games, classical, both FIDE ratings ≥ 1400 and both FIDE IDs present: 205,319 games involving 43,611 distinct players, sorted by date. Training half: November 2025 – April 2026 (82,100 games). Test half: May – October 2026 (123,219 games). The script is code/case_study_02.py.

The contestants. Each predicts White's expected score before the game.

System What it uses
A The FIDE ratings printed in the broadcast header (the official monthly ratings), Elo formula with scale 400
B A + a constant White edge in rating points, fitted on the training half
C B with the logistic scale also fitted on the training half
D C + an age adjustment: a rating bonus or penalty for each age group (from the FIDE list's birth years), fitted on the training half
E Live Elo: each player starts at their first header rating and is updated after every game (K = 40 under 18, else 20); edge and scale fitted
F Live Glicko-2: same start, RD 100, τ = 0.5, one game per rating period (RD floored at 50); prediction uses the opponent's RD as Glicko-2 does; edge and scale fitted

The scoring rules. Log loss (mean of −[s·ln p + (1−s)·ln(1−p)], draws = ½; lower is better; a coin flip scores 0.69315) and the Brier score (mean squared error of p against the result).

Why log loss?

It is tempting to score predictions by "how often did the favourite win?" That throws away most of the information. A system that says 0.51 and a system that says 0.95 both "pick" the favourite, but they make very different claims, and only a probability-aware score can reward the one that was right about how likely. Log loss punishes confident mistakes hard. For a single game with p = 0.76:

Result log loss of p = 0.76
Win (s = 1) −ln 0.76 = 0.274
Draw (s = ½) −(½ ln 0.76 + ½ ln 0.24) = 0.851
Loss (s = 0) −ln 0.24 = 1.427

A system that says 0.95 and is wrong pays −ln 0.05 ≈ 3.0. Over 123,219 games, that harshness is what separates a well-calibrated system from an over-confident one — and the over-confidence of the Elo formula on large gaps (30.3) is exactly what the fitted scale fixes. The Brier score tells the same story more gently.

How the live systems work

The live Elo system is a dozen lines: walk through the games in date order, predict with the current ratings, then update both players.

elo = {}
for wid, bid, we, be, s, wa, ba in zip(b.white_fid, b.black_fid, b.white_elo, b.black_elo, y, b.w_age, b.b_age):
    rw, rb = elo.get(wid, float(we)), elo.get(bid, float(be))   # first appearance: header rating
    live_w.append(rw); live_b.append(rb)                       # the prediction uses these
    e = float(rt.expected_score(rw, rb))
    kw = 40 if (wa == wa and wa < 18) else 20                  # FIDE-style junior K
    kb = 40 if (ba == ba and ba < 18) else 20
    elo[wid], elo[bid] = rw + kw * (s - e), rb + kb * ((1 - s) - (1 - e))

Live Glicko-2 does the same with rt.glicko2_update, one game per rating period. Neither system ever sees a result before predicting it.

The data

Games: 205,319 (train 82,100, test 123,219); distinct players 43,611

Fitted on training half: B edge +33.4; C edge +37.5, scale 471; E (live Elo) edge +36.2, scale 450
Age adjustment (rating points, relative to 25–39): {'<12': 6, '12–14': 35, '15–17': 30, '18–24': 24, '25–39': 0, '40–59': -30, '60+': -65}

=== Test half (May–Oct 2026), n = 123,219 games ===
system                                  log loss    Brier mean pred
A  header ratings, scale 400             0.60153  0.13262    0.5025
B  + White edge                          0.59845  0.13132    0.5396
C  + fitted scale                        0.59575  0.13037    0.5397
D  + age adjustment                      0.59309  0.12926    0.5399
E  live Elo (per game), edge+scale       0.59565  0.13037    0.5397
F  live Glicko-2, edge+scale             0.59609  0.13056    0.5386
(coin flip 0.5)                          0.69315  0.17514
actual mean White score in test half: 0.5371

Improvement over A (log-loss reduction, % of the gap between A and a coin flip):
  A  header ratings, scale 400           +0.00000  (+0.0% )
  B  + White edge                        +0.00308  (+3.4% )
  C  + fitted scale                      +0.00578  (+6.3% )
  D  + age adjustment                    +0.00844  (+9.2% )
  E  live Elo (per game), edge+scale     +0.00588  (+6.4% )
  F  live Glicko-2, edge+scale           +0.00545  (+5.9% )

Prediction contest: gain over the official ratings

📊 Figure (described): Each system's reduction in log loss compared with system A (official ratings, scale 400), expressed as a percentage of A's own advantage over a coin flip, on the 123,219 test games. Adding White's edge gains 3.4%; also fitting the scale, 6.3%; also adjusting for age, 9.2%. Updating ratings after every game — live Elo (6.4%) or live Glicko-2 (5.9%) — does no better than the official monthly ratings with the same two corrections.

Analysis

1. The official ratings already do most of the work. System A beats a coin flip by 0.0916 in log loss (0.6015 vs 0.6932). Every improvement in the contest is measured against that, and the best of them recovers about 9% more. Ratings are good predictors; the corrections are refinements.

2. The two cheapest corrections are worth the most. White's first-move edge — fitted at +33.4 points with the scale fixed at 400, +37.5 with the scale free — is worth 3.4% on its own. (System A's mean prediction for White, 0.5025, is far from the actual 0.5371; B and later systems get it right.) Stretching the scale to 471 — the same flattening as the 478 found on the whole year in 30.3, now fitted on half a year and confirmed on the other half — adds as much again.

3. Age is real information that ratings lack. The age adjustment fitted on the training half says, in rating points relative to players aged 25–39: 12–14-year-olds are effectively 35 points stronger than their rating, 15–17-year-olds 30, 18–24-year-olds 24; 40–59-year-olds 30 points weaker and 60+ 65 points weaker. Applied to the unseen test half, it cuts log loss by a further 0.0027 — the largest single step in the contest. This is the 30.8 finding turned into a prediction, and it survives out of sample. (The under-12 adjustment is small, +6, matching the near-zero residual for that group in 30.8.)

4. Updating after every game barely helps. Live Elo (E) — updating after each game instead of waiting for the monthly list — ties with system C (0.59565 vs 0.59575). Live Glicko-2 (F) is slightly worse than both. Over a six-month test window, the official monthly ratings plus the edge and scale corrections are as good as a system that knows every result up to the day before. Two reasons are plausible: the official ratings already include all rated games, not just the broadcast ones (most players' rated games are not relayed, so our live systems see only part of each player's record); and month-to-month changes in strength are small compared with game-to-game noise.

What it means (and doesn't)

  • For a tournament player: when you estimate your chances against an opponent, add White's edge if you know colours, shrink the gap (multiply it by about 400/471 ≈ 0.85 for FIDE classical), and remember that a junior opponent is effectively 30–35 points stronger than their rating and a veteran some points weaker. In our data these corrections are measurably better predictions.
  • For a rating designer: the evidence here favours (a) keeping the K = 40 junior rule, or something stronger, and (b) not worrying much about update frequency. It does not say Glicko-2 is worse than Elo in general — our Glicko-2 variant uses a fixed starting RD of 100 and sees only relayed games, and its parameters were not tuned.
  • What it doesn't show: causation. The age term is a statistical correction for groups; it says nothing about any individual player. And the sample is games strong or organised enough to be broadcast, so the numbers describe that population.
  • How big is "9% better"? In absolute terms the best system lowers log loss from 0.6015 to 0.5931 — a small number per game. It matters in aggregate: for pairing simulations, tournament forecasts or prize-fund planning over thousands of games, an over-confident model systematically overstates favourites' chances. For one game between two people, the official rating and the formula remain a perfectly good guide to direction; the corrections tell you how much.
  • Pools: everything here is in the FIDE pool. Nothing in this case study transfers to Lichess or Chess.com ratings, where 30.3 found much larger scale stretches (≈ 670–750).

Discussion questions

  1. Why must the age adjustment be fitted on the training half and evaluated on the test half, rather than fitted and evaluated on all games?
  2. System A's mean prediction for White (0.5025) is almost exactly what you would expect from the ratings alone, yet White actually scored 0.5371. Where does the difference come from, and why do the ratings not "learn" it over time?
  3. Live Elo sees results the official list does not yet include, but only for broadcast games. Design a fairer comparison. What data would you need?
  4. The age adjustment for 60+ is −65 points. Give two different explanations for it (one about rating dynamics, one about selection — which players keep playing at 60+?).
  5. Would you expect the contest's ranking to change for rapid or blitz OTB games? For Lichess blitz? Use the calibration results from 30.3 to justify your answer.

Your turn

Extend code/case_study_02.py with a system G: system D plus an adjustment for the player's FIDE K-factor (from the list's std_k column: 10, 20 or 40) instead of — or in addition to — age. Fit on the training half, report the test log loss, and decide: is K a better or worse proxy than age for "this player's rating lags their strength"? Then add a system H that tunes the live-Elo K for adults (try 10, 15, 20, 30) on the training half. Expected output: one new line per system in the results table and a one-paragraph verdict.