Chapter 31 Discussion Guide: Chess Database Analytics
Chapter: Chess Database Analytics
Opening hook (5 minutes)
Write one line on the board: "The Scotch is the best opening in chess. White scores 54.6%."
Say: "Dev ran every opening family through 'ten million games' and got this. Two questions. How many games do you think he really mined? And is the sentence true?" Take guesses on the first, then reveal 4,471,751 games — the ten million includes 6,193,530 puzzles. On the second, reveal that the 54.6% is real (80,403 Lichess games), but the players' ratings already predicted 50.4%, and the next-move table shows why White scores: 4...Nxd4, a move strong players avoid, is Black's most popular reply. Hold one question for the session: what has to sit between a database and a conclusion?
Discussion questions
Tier 1 — Recall
1. What are the three parts of every database query, according to the chapter?
Facilitator note: Ask for an example of each from the Scotch hook.
A strong answer: A filter (which games count — Lichess, no bots, bullet to classical), a grouping (by opening family, band or position) and a summary (score, draw rate, interval, n). Every statistic has all three, whether or not the author wrote them down.
2. Define the rating-adjusted score, and give the Scotch's.
A strong answer: Actual score minus the mean Elo-expected score from each game's own ratings, in points. Scotch: 54.6 − 50.4 = +4.2. White's first-move edge is still inside it, so compare openings with each other, not with zero.
3. What is a transposition share, and which query had the highest on Lichess?
A strong answer: Transpositions ÷ all games reaching the position. The QGD Exchange: 70.6% (932 of 1,320). A move-order search would have shown less than a third of the games.
Tier 2 — Analysis
4. Over the board, White scores 59.4% in the Slav Defense. Why doesn't that make the Slav a poor defence?
Facilitator note: Get someone to find the mean rating difference in the table.
A strong answer: In those games White was on average 47 rating points stronger, so the formula expected 55.1%. Adjusted, the Slav is +4.3 — inside the +2.0 to +4.3 range of all fifteen OTB families. Open tournaments pair strong and weak players early, and weaker players choose different openings.
5. Balancing the OTB set raises the draw rate from 25.7% to 34.6%. Which number is "right"?
A strong answer: Both — they answer different questions. Balancing removes open-tournament pairings with large rating gaps, which are decisive far more often, and leaves closed and late-round pairings. A draw rate means nothing until you say which pairings it counts.
6. The unweighted move-text subset says 29.5% of games are bullet; the truth is 35.9%; analysed games alone say 20.7%. Explain all three.
Facilitator note: This is the weights-versus-self-selection distinction. Push for both halves.
A strong answer: The subset keeps all analysed games and one in eight of the rest, so analysed games are over-represented. Weights of 1 and 8 undo that design (weighted: 35.88%). But analysed games are self-selected — people request analysis far more for classical (33.4%) than bullet (6.0%) — and no weight can fix a group whose members chose themselves.
7. At OTB 2400+, the side a pawn up wins 46%; at 1400–1599 about 60%. Do masters convert worse?
A strong answer: No. The median engine evaluation of those "pawn-up" positions is +0.40 at 2400+ against +1.80 at 1400–1599; more than half the 2400+ positions are +0.50 or less. Within the same eval bucket (≥ +1.50) conversion rises from 72.5% to 84.7%. The raw trend is a composition effect. Fedoseev–Harikrishna is the example: the pawn was gone three moves later.
8. Players whose clock fell below 10% of base scored 16–18 points below expectation. What is wrong with "low clocks cause losses"?
A strong answer: Reverse causality: hard, losing positions consume time, and players who lose on time are counted as both low-clocked and losing. The chapter's better measure — time used by move 15, before the outcome is known, compared within the same engine evaluation — still shows a cost at 3+0 (−4.45 points in level positions) but none measurable at 10+0.
Tier 3 — Debate
9. "With millions of games, statistics stop lying." Agree or disagree?
Facilitator note: Split the room. The pro side has 42 of 63 findings replicating; the con side has the English Attack (203 effective Lichess games, no band reaching 100) and the confounding that replicates perfectly.
A strong answer: Partly. Big databases make noise small for common questions — two-thirds of significant cells replicate. But cell size, not total size, sets the noise, and some questions are always thin. And replication rules out noise, not bias: if Scotch players differ systematically, both halves contain them.
10. Is the engine "wrong" when it calls the Scotch after 4.Nxd4 +0.08 while White scores 53.5% on Lichess and 55.8% OTB?
A strong answer: No — they measure different things. The engine evaluates the position with best play; the database measures what people actually play next. The gap is the information a database adds: which side's typical choices cost points (4...Nxd4). Neither replaces the other.
11. Should a club player trust an "opening report" built from their own 500 games?
Facilitator note: Use Case Study 2's 2% sample (52,331 games): 9.3 significant cells against 6.6 expected by chance, none replicated.
A strong answer: Not as a ranking. A personal file is a small-database problem: a 3-point real effect needs around 1,000 games in one opening to show up reliably. A single pre-registered question with an interval can still be informative — Dev's 70 Italian games cleared the database's 52.7% — but a sorted table of twenty-five openings mostly ranks noise.
12. Heat maps say knights on d6 score +5.6 points above expectation. Should coaches put that on a poster?
A strong answer: Only with caveats. The square is rare (0.36% of OTB side-games); its owners were often already better (outpost owners stood about +0.50 at ply 30); some knights got there by capturing. The geometry argument for d6 is sound; the +5.6 is an association, not that geometry measured.
Small-group activity (20 minutes)
Three rows, one label. Give each group the three rows from Case Study 1 — all "one pawn up, settled, equal pieces, both players 2600+":
| Row | Game | Result | Relay eval at entry (side ahead) |
|---|---|---|---|
| A | Fedoseev–Harikrishna, Polanica-Zdrój 2026 | ½–½ | 0.00 |
| B | Carlsen–Firouzja, Norway Chess 2026, r11 | 1–0 | +1.66 |
| C | Erigaisi–Martirosyan, Bundesliga 2026 | ½–½ | +6.15 |
Give one group each entry FEN (from the case study), without the Stockfish 19 numbers. Each group decides: is the extra pawn real, and what would they check before using the row in a table? Report back, then reveal: Row A −0.06 (d24) — 30...Re2 31.Rf1 Rxa2 wins the pawn back; Row B +1.82 (d24) — a real edge, plus a clock of 36.8 vs 4.0 minutes; Row C −0.26 (d24) — the relay eval was a glitch (SF19 d20 −0.43 at the ply where the relay said −6.15). Close with the rule: the extreme rows of a sorted table are where glitches collect; re-check them with the engine.
Exit ticket
- Name two filters that change what a database statistic means, and what each one removes.
- Why does a 1,320-game position query beat a 388-game move-order query for the QGD Exchange?
- Rewrite this claim so the chapter would accept it: "The Bishop's Opening is the best weapon at 1600–1799 — it scores 6.5 points above average."