Chapter 24 Instructor Notes: Opponent Preparation
Chapter text · Case study 1 · Case study 2 · Exercises · Quiz · Key takeaways
This chapter introduces Anchor D, and it is built to break a story. Grace arrives with the club's verdict on her round-3 opponent — "he plays the French every game, and he's passive against the Advance" — and the data confirms the first half and refutes the second. The lesson students should leave with: opponent preparation is a measurement exercise followed by a chess decision. Choices are reliable evidence; results by line are mostly noise; the clock can be a soft signal; and preparation ends at the chess — never the person.
Two framing points to set before class. First, the opponent is a stand-in: the anonymous Lichess account with the most French games as Black at blitz and rapid, median 2317 Lichess (not FIDE, never converted), and Grace herself is a composite. Second, the opponent's clock profile is unusual, and the chapter deliberately describes it neutrally ("a profile describes games, not a person"). Hold your class to the same standard — see the ethics section below.
Learning objectives
From the hook, the track routing and the summary, students should be able to:
- Build a scouting frame (one row per game, the player's view, same rating pool) and compute score, Wilson interval and Elo-expected score per line.
- Judge a line against the player's own average, because the Elo formula over-predicts favourites.
- Translate a style claim ("passive") into countable moves and test it against a same-rating reference group.
- Explain why "weak lines" found in small samples regress, using the split-half result and the power calculation.
- Read predictability (entropy), phase accuracy and clock profiles as pooled — and therefore more reliable — signals.
- Turn a profile into a sound opening choice and a game plan, and keep practical chances separate from soundness.
- Apply the chapter's ethics: public games only, no de-anonymising, juniors protected, fair play.
Timing plan
75-minute session
| Minutes | Activity | Notes |
|---|---|---|
| 0–8 | Hook: Grace's plan | Vote: "Is the Advance a good plan against a passive French player?" Then reveal 95.6% French, 76.0% [67.9–82.5], 75.0% vs the Advance (n=30), 3...c5 every time. |
| 8–20 | 24.1 distribution, not a game; the Elo bias | 80.2% predicted vs 70.7% actual (Lichess blitz, 200–299 gap). |
| 20–32 | 24.4 the passivity test | Productive struggle first (students design the proxy). |
| 32–45 | 24.5 weak lines evaporate | −9.4 → +2.3; 212 games per line. |
| 45–55 | 24.7 the clock as a soft signal | Blitz +7.8, rapid +3.0; French blitz +10.3 vs rapid −4.0 (wide). |
| 55–68 | 24.8 Grace's decision + 24.9 the illustrative game | 3.Nd2; 24.Nxh7 practical but unsound. |
| 68–75 | 24.11 ethics + exit ticket |
3-hour block
| Minutes | Activity | Notes |
|---|---|---|
| 0–15 | Hook role-play (Grace and the narrator) | |
| 15–40 | 24.2–24.3 the pipeline and the repertoire | Predictability in bits; the French tree by third move. |
| 40–60 | 24.4 passivity test, hands-on | Students write the hypothesis before seeing any games. |
| 60–85 | 24.5 split-half experiment | Simulate with dice or coin flips first (six-game lines), then show the real arrows. |
| 85–95 | Break | |
| 95–120 | 24.6–24.7 phase accuracy and clock | Emphasise the alternative explanations the chapter lists. |
| 120–145 | 24.8–24.9 and Case Study 1 | Board work on the illustrative game with clock times. |
| 145–165 | 24.10 and Case Study 2: scouting public figures | Hikaru and GothamChess: high entropy, no reliable weak line. |
| 165–180 | Ethics discussion and exit ticket | Use Exercise D4 as the prompt. |
Key numbers and games
| Item | Value as quoted | Where |
|---|---|---|
| Opponent's French | 129 of 135 games as Black vs 1.e4 = 95.6%; scored 76.0% [67.9–82.5] vs 70.0% expected | Hook; 24.1 |
| vs the Advance | 75.0% [57.3–87.0], n = 30 (expected 68.3%); 3...c5 in all 11 Advance games with moves | Hook; 24.4; 24.8 |
| French by speed | Blitz 79.3% vs 68.9% expected (n=82); rapid 68.2% vs 72.2% (n=44, interval 53.4–80.0) | Hook; 24.7 |
| All games by speed vs expectation | Bullet +26.8, blitz +7.8, rapid +3.0 | 24.7 |
| Ratings | Median own 2317 (Lichess) vs opponents' 2147; 489 non-bullet games profiled out of 676 | 24.1; summary |
| Elo over-predicts favourites | Lichess blitz, 200–299 gap: 80.2% predicted, 70.7% actual; OTB: 80.1% vs 76.3% | 24.1 |
| Passivity reference (Black 2167–2467, 430 move-text games) | 3...c5 84.9%; ...f6 within 40 plies 26.5% (opponent 36.4%); ...c5 on move 3 54.2% (n=365) vs after move 5/never 43.8% [26.2–63.1] (n=24) | 24.4 |
| Engine on the Advance | After 3.e5 +0.24 (depth 18) / +0.32 (depth 24); after 3...c5 +0.34 / +0.25; after 3...b6 +0.91 / +0.85 | 24.4 |
| Split-half (1,732 Lichess players) | Weakest line −9.4 → +2.3 [−0.0, +4.3]; strongest +12.0 → +1.2; OTB −8.0 → +0.7 (40 players, wide) | 24.5 |
| Sample sizes | Wilson half-width at 70%: n=10 ±24.8, n=30 ±15.6, n=129 ±7.8, n=300 ±5.2; 212 games per line to detect a 10-point gap | 24.5 |
| Phase accuracy (book) | Opponent 94.6 / 85.8 / 89.9 vs reference 93.8 / 87.5 / 91.5; blunders per game 3.78 vs 1.86 (games longer — not a rate) | 24.6 |
| Endgame split | Reached an endgame +5.6 vs expectation (n=124); no endgame +17.9 (n=82) | 24.6 |
| Clock | Median 1.0 s per move in blitz and rapid; 97% of base left at move 40 in rapid (reference 27%); wins on time 32.2% vs 24.1%; losses on time 11.6% vs 25.3% | 24.7 |
| Grace's options (SF19 depth 24 after the opponent's reply) | Advance +0.29, 3.Nc3 +0.35, 3.Nd2 +0.21, Exchange +0.15; OTB FIDE 1700–2100 Black minus expected: 3.Nd2 −5.0 (n=740), 3.Nc3 −3.5, 3.e5 −2.9, 3.exd5 −1.5 | 24.8 |
| Illustrative game (broadcast 268961) | WIM FIDE 2035 vs WCM FIDE 1807, girls' U20 event, August 2026; after 23...Kg7 +1.20 (d18) / +1.86 (d24), best 24.Rd7; 24.Nxh7 −0.50 / −0.28; 24...Rh8? +2.83 / +2.73; only 24...Kxh7 held | 24.9; Case Study 1 |
| Hikaru (Chess.com blitz) | 83.1% vs 83.4% expected over 45,935 games; entropy 2.11–2.18 bits | 24.10 |
| GothamChess (Case Study 2) | 61.5% vs 61.5% over 18,294 blitz games; last 12 months French 36.7% of replies to 1.e4; 1...e5 47.3% [32.2–62.9] over 37 games — "noise" | Case Study 2 |
Threshold concepts and likely misconceptions
Threshold concept: you prepare for a distribution of games, not one game. An opponent's record is a sample, and every number from it carries an interval. Students who cross this stop looking for "the hole" and start asking two questions: what does this player reliably choose, and is any result difference larger than the noise?
Misconceptions to expect:
- "A couple of games is enough to see a style." Memorable games are memorable because they are atypical — the chapter's pitfall is confirmation hunting.
- "76% is a huge score, so the French is his best line." He was usually the higher-rated player; expected 70.0%. And Elo over-predicts favourites, so compare lines with his own average.
- "The weakest line in his file is where I should go." Across 1,732 players, the weakest line jumped from −9.4 to +2.3 in the next games.
- "Rapid 68.2% vs 72.2% means he's weak at rapid." The interval (53.4–80.0) contains the expected score; it is a soft signal only because it agrees with independent evidence (the clock curve and the bullet → blitz → rapid gradient).
- "24.Nxh7 won, so it was right." Stockfish rates it −0.28 at depth 24; it worked practically because Black, shorter of time, missed the only move.
- "The prep won Grace the tournament." The chapter makes no such claim. Do not let students invent one.
- "His clock is suspicious." The chapter explicitly declines to speculate; suspicions belong with a platform's fair-play team.
How the four tracks use this chapter
- ♟️ Improver: 24.1, the passivity test (24.4), the decision (24.8) and the game (24.9); skim code. Deliverable: a one-page scouting routine for their next club opponent. Exercises A1, A5, A8, B1–B5, D1, D4.
- 📊 Analyst: 24.3–24.7: predictability, the split-half test, phase accuracy and clock profiles against a reference pool. Watch the yardsticks. Exercises A3, A7, A9, A10, C2, C4, C7, E1.
- 🏆 Competitor: 24.8, 24.9, 24.10 and 24.11; Part B with a clock running. Case Study 1's clock table is the centrepiece. Exercises B6–B10, D2, D3, D5.
- 💻 Developer:
outpost/scout.py:line_stats,verdict(strength / weakness / noise / too few, with a baseline = the player's own average),predictability,speed_split,clock_habits,phase_accuracy,Profile.render(),recommend(). Exercises C1, C3, C5, C6, E2.
Running the code
| Script | What it shows |
|---|---|
code/01_opponent_repertoire.py |
Repertoire tables and predictability |
code/02_passivity_check.py |
...c5 and ...f6 timing vs the reference group |
code/03_phase_and_clock.py |
Phase accuracy, clock curves, speed split |
code/04_weak_lines_noise.py |
Split-half experiment and the power calculation |
code/05_grace_choices.py |
The four French third moves: opponent, engine, OTB band |
code/06_round3_game.py |
The illustrative game with clocks and depth-16 analysis |
code/07_public_figure_hikaru.py |
Hikaru's public Chess.com archive |
code/08_exercise_positions.py |
Part B positions |
code/case_study_01.py, case_study_02.py, project_checkpoint.py |
Case studies and the scout demo |
Each script runs in under two minutes from the caches (Stockfish 19 at depths 16–24 through the engine cache; Chess.com archives through the toolkit's cached wrapper). The helper locates the stand-in opponent by the fixed rule and caches that player's games without identifiers; saved outputs are in code/_out*.txt. Data needed: the Lichess sample, game_features, the broadcast games and the cached Chess.com archives for Hikaru and GothamChess. Reading the full Lichess games file is slow (about 25 s); the helper reads only the needed columns.
Two cautions for live demos. Never print or look up the opponent's username — it is hashed, and the chapter's ethics apply to the classroom. And when students run scout() on a strong public player without the baseline, every line will look like a "weakness" against raw Elo expectation; that is the yardstick problem, not a finding.
In-class demos
Board demo
Set up the illustrative game after 24.Nxh7 (Exercise B10): r4r2/1p3pkN/pq2p1pn/4P3/6P1/P6Q/1P3P1P/R2R2K1 b - - 0 24. Tell students Black has about 19 minutes left against White's 29. Give them three minutes by the clock to choose a move. Then reveal the depth-20 top three: 24...Kxh7 (−0.39), 24...Rfd8 (+2.07), 24...Rfe8 (+2.60) — one move holds. Show the game's 24...Rh8? (+2.83 / +2.73) and the finish (25.Ng5 Qxb2 26.Qg3! Qb5 27.Qf4 Rhf8 28.Qf6+ Kg8 29.Nxe6). Then step back one move: after 23...Kg7 the engine wanted the quiet 24.Rd7 (+1.95 at depth 20). Close with the chapter's point — practical chances are real but not proof, and against an opponent who answers instantly and accurately in familiar positions the same gamble is a worse bet.
Data demo
Run a split-half simulation before showing the real result. Give each pair a sheet with four "lines" of six results generated by coin flips (all lines have the same true strength). Ask each pair to report their "weakest line". Then flip six more for that line. Tally the class: the weak lines regress. Now project the real arrows from 24.5 (Lichess weakest −9.4 → +2.3; strongest +12.0 → +1.2) and the Wilson table (±15.6 at n=30). Finish with the power number: 212 games per line to detect a 10-point gap.
Exercise guidance
- Part A: all tracks. A3 (quote 80.2% vs 70.7%), A4 (entropy calculation: 1.5 bits) and A7 (why weakest lines regress) are quick checks. A9 is a good trap: a line with a lower raw score can still be 5.0 points above expectation.
- Part B: Improver and Competitor, ideally with a clock. Common wrong answers:
- B2 (after 21.g4): students play the "active" 21...Nh6 because it attacks g4; the engine's 21...Ne7 (heading to g6) keeps Black slightly better.
- B3 (after 25...Qxb2): students drift with 26.Nf3 (+0.12); 26.Qg3 is the only move (+2.62 at depth 20).
- B9: students choose 24.Nxh7 because it won; the engine's 24.Rd7 kept a large, safe advantage.
- B10: students decline the piece "to keep the attack away". Calculate the acceptance first.
- B6–B8: the opening positions; the right answer names a plan the student understands among near-equal engine choices (e.g. after 3.Nd2 c5 4.Ngf3, 4...Nc6 +0.20, 4...cxd4 +0.27, 4...Nf6 +0.37 at depth 20).
- Part C: Analyst C2, C4, C7; Developer C1, C3, C5, C6.
- Part D: D4 (a scouting file with the opponent's school, illness posts and a guess at their account) is mandatory discussion for everyone. D5 (weaknesses vs choices) is the best written question.
- Part M: M1 links to Dev's shrunk Najdorf estimate in Chapter 20; M2 to Chapter 13's clock work.
Assessment ideas
- Scouting file on a public player. Students build a one-page file on a public figure's public games (the chapter's models are Hikaru and GothamChess): predictability, lines with n, interval and difference from own average, speed split, clock habits, and a five-line recommendation. Grade the refusal to call noise a weakness and the absence of any personal information.
- Story test. Give a style claim ("she never fights for the initiative in the Caro-Kann"). Students write the hypothesis, choose two countable proxies, name the reference group and the sample they would need.
- Practical vs sound. Short essay on 24.Nxh7 using three yardsticks — engine, result, and the clock.
- Quiz. 21 items (11 multiple choice, 5 true/false, 3 short answer, 2 positions).
- Ethics reflection. A paragraph on where the line falls between Sam's notebook and surveillance.
- Developer milestone.
verdict()returns "noise" for every GothamChess line in the last-12-month report when judged against his own average, andscout()renders the stand-in opponent's profile without any identifier.