Chapter 35 Instructor Notes: Improvement Analytics
Chapter text · Case study 1 · Case study 2 · Exercises · Quiz · Key takeaways
This chapter answers the question every student brings to class — "am I stuck?" — and its answer is uncomfortable and reassuring at once. The hook shows GothamChess's yearly blitz medians (+44, +31, +13, then +139 in 2026), which look like a plateau and a breakthrough; the validated detector sees one straight climb of +3.8 points a month for nine and a half years. The chapter's main technical idea — run changepoint detection on monthly performance, not on the rating level, and validate the detector on simulated players with known truth — is the one students will most often get wrong in their own projects.
Be explicit about the data from the start. The book's data has no multi-year history of an ordinary online amateur. The real trajectories are two public Chess.com archives (Hikaru and GothamChess), a real OTB panel of 8,744 FIDE-rated players over about six months, and the FIDE list; everything else in the validation sections is clearly labelled simulation. The personas are composites with no trajectory:
🎭 Dev's games are real Lichess games played by anonymous players at his rating, assembled into one "player". The order of his games means nothing, so the book never plots his rating over time and never claims his rating rose after he studied the Najdorf.
Learning objectives
By the end, students should be able to:
- Inventory what data can and cannot measure improvement, and refuse to read a cross-section (FIDE ratings by age) as a growth curve.
- Treat a rating as a noisy measurement: compute an improvement rate (Theil–Sen slope of monthly medians) with its window and interval.
- Explain why the rating level is autocorrelated and monthly performance is not, and why that decides whether a plateau detector works.
- Segment a series into climbs, declines, plateaus and "unclear" stretches, and validate the detector's false-alarm rate and power at their own volume of play.
- Project with a range, not a line, using a backtest and a "people like you" panel by age and starting rating.
- Compare time controls by percentile within pools, accuracy by opponent strength, and openings with a false-discovery correction and a minimum effect.
- Say what a dashboard can show (when) and what it cannot (why).
Timing plan
75-minute session
| Minutes | Activity | Notes |
|---|---|---|
| 0–8 | Hook: Levy's four years | Show the yearly table; vote "plateau or not?" Then the one-segment output. |
| 8–18 | 35.1–35.2 | What can be measured; 115-point within-month range; three windows, three rates. |
| 18–30 | 35.3 rating vs performance | Lag-1 autocorrelation 0.59 vs −0.06. |
| 30–45 | 35.4 validation | Data demo below: 76% vs 4.7% false alarms; 99.3% of steady improvers "feel stuck". |
| 45–55 | 35.5 Hikaru's real plateau | 35 months, 0.0 ± 0.9; the data says when, not why. |
| 55–68 | 35.6 projection | Backtest (flat beats linear); "people like you" table; Grace's row. |
| 68–75 | Exit ticket |
3-hour block
| Minutes | Activity | Notes |
|---|---|---|
| 0–15 | Hook and productive struggle | Students pencil plateaus on Figure 35.1 before seeing the segmentation; keep the marks. |
| 15–35 | 35.1–35.3 | The inventory; window sensitivity; autocorrelation. |
| 35–65 | 35.4 validation | Lab below: simulate your own false-alarm rate. |
| 65–80 | 35.5 | Grade the pencil marks against the detector; the rating-level ×3 "story" (six segments). |
| 80–90 | Break | |
| 90–110 | 35.6 projection | Backtest and the panel; Try it with the stricter panel (≥ 8 games each half). |
| 110–125 | 35.7–35.8 | Time-control gaps by pool; accuracy flat while the rating rose 400. |
| 125–140 | 35.9–35.10 | Openings with BH correction (Anchor C reproduced); puzzle themes (simulated log). |
| 140–160 | Case studies | CS1 (queen-vs-rook ending) at boards; CS2 (Hikaru's plateau robustness grid). |
| 160–175 | Plateaus vs noise debate | See the discussion guide. |
| 175–180 | Exit ticket |
Key numbers and games
| Item | Value as quoted | Where |
|---|---|---|
| Levy's yearly medians | 2022 2705 (+44), 2023 2736 (+31), 2024 2749 (+13), 2025 2779 (+30); 2026 median 2918 (+139) | Hook |
| GothamChess segmentation | One climb 2017-03 → 2026-11, +3.8/month [+3.4, +4.2], 2466 → 2881 | Hook; §35.5 |
| Rating noise | Levy blitz per-game mean | Δ |
| Window sensitivity (Levy blitz) | All +3.7/month [+3.3, +4.0]; last 36 +6.7 [+5.1, +8.1]; last 12 −3.0 [−8.0, +6.7] | §35.2 |
| Lichess window | 119,735 blitz players with ≥ 10 games: median net change +1, 80% between −32 and +36 | §35.1 |
| FIDE cross-section | Median active rating 1492 at age 8 → 1700 at 18 (≈ +21 per year of age) — different children, not growth | §35.1 |
| Autocorrelation (simulated) | Rating error 0.98 / 0.83 / 0.56 / 0.31 / 0.09 at lags 1/10/30/60/150 games; monthly median lag-1 0.59 vs performance −0.06 | §35.3 |
| False alarms (simulated flat, 36 months, ×5) | Rating level 76.0% (30 g/month); performance 4.7% (30) / 4.0% (150) | §35.4 |
| Steady improver (simulated, +10/month) | "3 months without a new high" 99.3% (30 g/month); detector labels a plateau 0% | §35.4 |
| Power (simulated, perf ×5) | +100 step found 13.3% (30 g/month) vs 76.7% (150); knee found 6.7% vs 45.3%; flat players labelled "plateau" 8.7% vs 94.7% | §35.4 |
| Hikaru blitz | Climb 2016-12 → 2020-04 +9.2/month; plateau 2020-05 → 2023-03, 0.0 [−0.9, +0.9] (35 months); climb 2023-04 → 2026-11 +5.0 | §35.5; CS2 |
| Backtest (4 series) | 12-month MAE flat 73.5, damped 77.2, linear 94.0; flat 80% band [−34, +150]; within ±50 only 46.9% | §35.6 |
| OTB panel (~6 months, median 172 days) | 8,744 players; all median +8; juniors 1400–2199 median +30 to +42; adults 25+ within ±5; Grace's row (junior 1800–1999) median +37, middle half −9 to +83, P10 −56; adult 1600–1799 median +5, P90 +54 | §35.6 |
| Lichess rapid − blitz | Median +125 overall (latest ratings, ≥5 games at each speed; Ch 36's +133 uses each player's median rating, ≥3 games); +186 at blitz 1200–1399 (46.6% ≥ +200); +2.5 at 2200+ | §35.7 |
| FIDE rapid − standard | Median −7; ≥ +200 only 1.4% | §35.7 |
| Percentile gap | Rapid minus blitz percentile median +17.1 points; 1600–1799 +19.6 (P10 5.0, P90 30.8) | §35.7 |
| Accuracy (Levy, 120 games, SF19 d14) | Trend +0.09/yr [−0.16, +0.35]; opponents +0.16/yr; median opponent 2449.5 (2017) → 2844 (2026); CAPS trend +0.22/yr (12,671 games); book vs CAPS r = 0.72 | §35.8 |
| Levy 2017 error | Before 24.Qh6: +8.23 (d18) / +8.03 (d24) with 24.Rxd8; after: −3.49 / −3.97 | §35.8 |
| Levy 2026 queen ending | 58...Qe8+ wins (tablebase); −7.52 (d18) / −8.17 (d24); 58...d3?? → +7.66 / +10.50 | §35.8; CS1 |
| Anchor C through the dashboard | Italian 67.5% [56.6–76.8] q = 0.020 (strength); Najdorf 6.Be3 36.0% [24.1–49.9] q = 0.327 (noise); Black Scandinavian 30.0%, −21.2, n = 15 (noise) | §35.9 |
| GothamChess openings | Last 24 months, 15 lines: 0 flagged (3 raw p < 0.05); whole archive: Trompowsky +6.7 (n = 1,448), "Indian Game" (Black) −8.4 (n = 278, q = 0.047); Hikaru −2.9 line q = 0.008 (filtered by min_effect 3) | §35.9–35.10 |
| Puzzle themes (simulated log, real puzzles) | Planted 150-pt fork weakness found 24.5% / 67.0% / 93.5% / 100% at ~20 / 50 / 100 / 250 attempts per theme; ~0.2 false weaknesses per report | §35.10 |
Threshold concepts and likely misconceptions
Threshold concept: a detector is only as good as its validated false-alarm rate at your volume. Students cross it when they stop asking "does my graph look flat?" and start asking "how often would this method call a flat player stuck, with my months and games per month?" The checkpoint's sanity line (3.3% for Hikaru's recent volume) is the habit.
Misconceptions to expect:
- "Three months without a new high means I've plateaued." 99.3% of simulated players improving every month had such a stretch.
- "My rating dropped 40 points this month, so I got worse." Levy's typical within-month range is 115 points.
- "My rate over the last year is my rate." The same archive gives −36, +44 or +81 points a year depending on the window.
- "Smoothing the rating curve makes detection safer." The rating level is autocorrelated; fed it, the detector false-alarms on 76% of flat players.
- "I'll be 1800 by summer at this rate." Trend extrapolation was the worst rule in the backtest (MAE 94 vs 74).
- "Everyone improves 100–200 points a year." Adults 25+ in the OTB panel have medians within ±5 over six months.
- "My rapid is 200 above my blitz, so I can't play fast." On Lichess below 1400 blitz that is the median gap.
- "My accuracy hasn't improved, so I haven't." Levy rose 400 points with no detectable accuracy trend; his opponents improved too.
- "Study your worst opening." It is usually the line with the fewest games (Dev's Scandinavian, 15 games).
How the four tracks use this chapter
- ♟️ Improver: 35.1–35.3, the plain-English verdicts in 35.4–35.5, the "people like you" ranges in 35.6 and the dashboard in 35.10; skip code. Exercises A1, A6, A9, A10, B1–B8, D1, D4.
- 📊 Analyst: the core is 35.3–35.6 — performance vs level, validation by simulation, the rolling-origin backtest — with Appendix E for background. Exercises A2–A5, A7, C1–C4, C7, M1–M3, E3.
- 🏆 Competitor: 35.6 (Grace's row: a range, not a promise), 35.7 (time controls), 35.9 (openings against expectation) and the Project Checkpoint. Exercises D2, D5, M2.
- 💻 Developer: every section ends in a function of
progress.py:monthly,improvement_rate,changepoints/segment(exact optimal partitioning),simulate_ratings,false_alarm_rate,detection_rate,forecast/backtest,people_like_you,opening_vs_expectation(BH q-values, own baseline),puzzle_theme_report,dashboard,recommendations. Exercises C1–C7, E1–E2.
Running the code
Scripts run from the chapter directory; outputs are saved in code/_out*.txt. Chess.com archives were retrieved on 2026-11-20 and are cached in the book's data.
| Script | What it shows | Runtime |
|---|---|---|
_ch35_common.py |
Paths, position lines, eval formatting, Chess.com loader | — |
01_public_trajectories.py |
Noise, windows and segments for both public archives | ~10 s |
02_changepoint_validation.py |
Simulated flat, steady, step and knee players (150 per cell, seeded) | ~4 min |
03_projection.py |
Rolling-origin backtest; OTB "people like you" panel (and the stricter rule) | ~20 s |
04_time_control_gaps.py |
Lichess and FIDE gaps; percentile gaps | ~50 s |
05_accuracy_trends.py |
120 Levy games at SF19 d14 (three workers); writes _ch35_accuracy_by_year.csv |
8 min cold; fast from cache |
06_openings_vs_expectation.py |
Dev's lines and Levy's last 24 months with BH correction | short |
07_dashboard.py |
Six-panel dashboard + simulated puzzle log | ~2 min |
08_exercise_positions.py, case_study_01.py, case_study_02.py, project_checkpoint.py |
Exercise boards, case studies, module demo | checkpoint ~10 s |
Expect 17 board images and 10 charts. A harmless pandas FutureWarning appears in the parallel engine analysis. Two caveats to mention: the Chess.com archive stores ratings after each game, so Elo expectations carry a bias of a few points; and the OTB panel is defined with about six months between halves, so its numbers differ from the book's longer-gap improvement reference tables — always label which panel you quote.
Lab: your own false-alarm rate (30 minutes)
- Each student estimates their own months of play and games per month (honestly).
- Run
false_alarm_rate(months=..., games_per_month=..., k=13, seed=...)on bothseries="median"andseries="perf". Compare with the chapter's 76.0% vs 4.7%. - Run
detection_ratefor a +100 step at their volume. Most students playing 20–30 games a month will see that a real jump is found well under half the time. - Discuss: what volume would they need before a plateau label means anything? (At 30 games a month, flat players were labelled "plateau" only 8.7% of the time.)
In-class demos
Board demo
Use Case Study 1's position before White's 55th move: 8/3kP1R1/5K2/3p1P2/7q/8/8/8 w - - 6 55. Ask: "White has a rook and two advanced pawns against a queen. Is White still in it?" Reveal the tablebase verdict — every White move loses — and Stockfish 19 −5.81 (d18) / −6.13 (d24): Black's king blockades e7 and the queen has a shelter. Then jump to the decisive moment from 35.8 (Black to move after 58.Kg8): the winning move is a check, 58...Qe8+; the game's pawn push 58...d3?? turns a tablebase win into a loss (+7.66 d18 / +10.50 d24). Ask: "Is one such error evidence that a 2900-rated player has not improved?" — the chapter's point is that single errors prove nothing; counting them by phase over hundreds of games might.
Data demo
Project the four yearly medians from the hook and ask students to mark plateaus. Then run (or project) 02_changepoint_validation.py output, section B: the same detector false-alarms on 76% of flat players when fed the rating level, 4.7% when fed performance. Then section C: 99.3% of steady improvers "feel stuck". Finish by revealing the single climb for Levy and Hikaru's real 35-month plateau, so students see the detector can find a plateau when the data are rich.
Exercise guidance
- Part A: everyone. A3 (performance vs level) and A9 (the 99.3% result) are the core checks; A10 (why no trajectory for Dev) tests the composite rule.
- Part B: Levy's largest error each year, 2018–2025. Good calculation practice independent of the statistics. B6 is a tablebase draw (65...Nb8 or 65...Kf6) where ...Ne5?? loses; B8 shows a depth disagreement (5.Nd2 at d18, 5.Bc1 at d24) — pair it with D3.
- Part C: C2 (your own false-alarm rate) is the most useful; C3 repeats the level-vs-performance contrast on Hikaru's bullet; C7 repeats Case Study 2's robustness grid.
- Part D: D1 (a 1200 with rapid 210 above blitz), D2 (adult vs junior at 1750 asking for a projection) and D5 (the Scandinavian at 30.0% over 15 games) are excellent short essays with clear right answers from the chapter's tables.
- Part M: M2 (with Chapter 24's regression of weak lines) and M5 (puzzle sweet spot, 70–241 points below your puzzle rating) connect well.
- Part E: E2 (your own archive through the full pipeline) is a strong term project — require the false-alarm check in the write-up.
Assessment ideas
- Dashboard audit. Students run the pipeline on their own games (or on Levy's bullet archive) and write a one-page report that states windows and intervals, the detector's simulated false-alarm rate at their volume, and a projection as a range from the matching "people like you" row.
- Explain the paradox. Short answer: "How can a player rise 400 points without becoming measurably more accurate?" A strong answer names opponent strength (2449.5 → 2844) and the opponents' parallel accuracy.
- Rewrite the claim. Give "I've been stuck since March; at my old pace I'd be 1700 by now." Students rewrite it with the chapter's tools.
- Quiz. The chapter quiz (21 items: 11 multiple choice, 5 true/false, 3 short answer, 2 positions; 1 point each, 18+ is the top band) fits a 25-minute slot.
- Developer milestone.
segmenton performance,false_alarm_rateat the user's volume, andrecommendationswithmin_effectall appear in the generated report.