Chapter 35 Exercises — Improvement Analytics
Difficulty: ⭐ recall · ⭐⭐ apply · ⭐⭐⭐ analyse/judge · ⭐⭐⭐⭐ open project.
All numbers in the solutions come from the chapter's scripts (code/01–08, case studies) run on the book's
data snapshot. Positions in Part B are real moments from GothamChess's public Chess.com blitz archive — the
largest single error in each year's 12-game Stockfish sample (35.8) — re-checked with Stockfish 19 at depths 18
and 24, and with the Syzygy tablebase when seven pieces or fewer remain. Evaluations are from White's point of
view.
Part A — Concepts ⭐
A1. Name the five data sources the chapter inventories in 35.1 and say, for each, whether it follows the same players over time.
Answer
Chess.com public archives (yes, every game, but only two public players); broadcast OTB games (yes, by FIDE id, for 12 months); the FIDE list (no — one snapshot); the Lichess sample (barely — 34 hours); the persona composites (no — many different anonymous players relabelled as one).
A2. Define the chapter's improvement rate. Why Theil–Sen rather than an ordinary least-squares slope?
Answer
The Theil–Sen slope of monthly median ratings (active months with ≥ 10 games in one pool and time control) against elapsed months, with a 95% interval; inactive months count as elapsed time. Theil–Sen is the median of pairwise slopes, so one wild month barely moves it, while it can drag a least-squares line.
A3. What is a monthly performance rating, and why is it a better input to a changepoint detector than the monthly median rating?
Answer
The rating R at which the Elo expected score against the month's opponents equals the month's points. Each month's performance comes only from that month's games, so its errors are independent (simulated lag-1 autocorrelation −0.06). The rating level carries errors forward for dozens of games (autocorrelation 0.56 at 30 games), so its month-to-month differences understate its wandering and the detector sees "changes" in pure noise.
A4. State the chapter's labels for a segment (climb, decline, plateau, unclear) precisely.
Answer
Climb: the slope's 95% interval lies entirely above +2 points/month. Decline: entirely below −2. Plateau: the whole interval lies within ±2. Unclear: anything else. Segments are at least 6 months long.
A5. What is a rolling-origin backtest, and which forecasting rule won it on the real Chess.com series?
Answer
At each past month, forecast 6 or 12 months ahead using only data up to that month, then compare with what happened. The flat rule ("stay where you are", median of the last three active months) had the lowest mean absolute error at 12 months (73.5 points pooled) against damped trend (77.2) and linear trend (94.0).
A6. Why is the FIDE cross-section's "+21 points per year of age between 8 and 18" not a junior's growth rate?
Answer
It compares different children at different ages. Those who quit drop out of older ages and late starters join, so the cross-section mixes growth with selection. Only following the same players (the broadcast panel) measures change.
A7. What does a Benjamini–Hochberg q-value protect against in an opening table?
Answer
Against the many-tests problem: when you test 13 or 15 lines, some look unusual by luck. Flagging only lines with q < 0.10 keeps the expected share of false flags among the flagged lines at about 10%.
A8. Why are a player's score-minus-expectation residuals by speed (e.g., Hikaru blitz −0.3, bullet −0.0) nearly zero, and what are they still good for?
Answer
A rating system adjusts each pool's rating until the player's score matches expectation, so settled ratings give residuals near zero. A sustained positive residual is still a useful leading indicator that a rating is about to rise (new account, fast-improving junior).
A9. In the simulations, 99.3% of players improving steadily by +10 true points a month had at least one three-month stretch without a new monthly-median high. What does that number say about the feeling of a plateau?
Answer
That the feeling is almost guaranteed even for a player who never stops improving, so on its own it carries almost no information. The validated detector flagged a plateau in none of those simulated players.
A10. Why does the chapter refuse to plot a rating trajectory for Dev?
Answer
Dev's games are a composite: real Lichess blitz games by many different anonymous players in his rating band, selected by a fixed rule. Their order and ratings describe no single person, so a "trajectory" would be random by construction. The composite is useful for opening and phase profiles only — and no claim that his rating rose can be made.
Part B — Positions ⭐⭐
Each position is a real moment from a GothamChess Chess.com blitz game in which the player to move made the year's largest error in our sample. Find the right move — and then ask yourself what kind of error a dashboard would log it as.
B1. Find the tactic (2018).

♟️ Position: White Kd2, Qh6, Rb1, Rg1, Bf6, a2, f2, c3, d4, h4, e5; Black Kg8, Qa4, Rc7, Rf7, Ba6, c4, e4, f5, e6, a7, g7, h7 — White to move. FEN:
6k1/p1r2rpp/b3pB1Q/4Pp2/q1pPp2P/2P5/P2K1P2/1R4R1 w - - 1 27
Solution
27.Rb8+! mates: Stockfish 19 finds #6 at depths 18 and 24 — 27.Rb8+ Bc8 28.Rxc8+ Rxc8 29.Rxg7+ Kf8 and the queen and rook finish. Three White pieces — the queen on h6, the bishop on f6 and the g1-rook on the open g-file — already bear on g7; the b-rook check and exchange on c8 pull the c7-rook off the seventh rank, so g7 falls with check. The game's 27.Rb2 (guarding the second rank against ...Qxa2+) was −1.19 (d18) / −1.26 (d24). Error type: missed forcing win (checks first).
B2. Analyze this position (2019).

♟️ Position: White Kd3, Qf3, Rg1, Bd2, c3, h4, c5, f5, f6; Black Kg8, Qb3, Re4, a3, d5, b7, g7, h7 — Black to move. FEN:
6k1/1p4pp/5P2/2Pp1P2/4r2P/pqPK1Q2/3B4/6R1 b - - 0 31
Solution
31...Qb5+! draws by perpetual check: 0.00 at depths 18 and 24 (31...Qb5+ 32.Kc2 Qb2+ 33.Kd1 Qb1+ 34.Bc1 and the checks continue). The game's 31...a2? lost to a mating attack: #10 for White at both depths, starting 32.Rxg7+. Black's king is the more exposed one; with f6 and g7 under fire there is no time for the a-pawn. Error type: racing a pawn when the opponent's attack is faster — the defensive resource was checks.
B3. Build the plan (2020).

♟️ Position: White Kg1, Qg6, Re1, Rb3, Bf4, c2, f2, g2, h6; Black Kg8, Qc5, Rf7, Rf8, Bg7, Ng5, a5, d6, f6 — White to move. FEN:
5rk1/5rb1/3p1pQP/p1q3n1/5B2/1R6/2P2PP1/4R1K1 w - - 0 32
Solution
32.Rbe3! — bring the second rook to the attack along the third rank while keeping f4 defended: +4.52 (d18) / +6.41 (d24), main line 32.Rbe3 Qc7 33.Rg3 with Ree3 to follow. The game's 32.Rg3? left the bishop on f4 short of defenders: 32...Qb4! hit it and the position flipped to −4.46 (d18) / −5.48 (d24). Error type: attacking move that removed a defender (loose piece).
B4. Find the tactic (2021).

♟️ Position: White Kf3, Qa7, Ra1, Rf1, a2, b2, d4, e5; Black Ke8, Qd8, Rh8, Be6, d5, c6, f7 — Black to move. FEN:
3qk2r/Q4p2/2p1b3/3pP3/3P4/5K2/PP6/R4R2 b - - 0 29
Solution
29...Rh3+! first: −7.14 (d18) / −8.03 (d24), 29...Rh3+ 30.Ke2 Bg4+ 31.Rf3 and Black wins material with the king hunted in the open. The game's 29...Bg4+ in the other order let White's king go to g2: 0.00 at both depths — 30.Kg2 Bh3+ 31.Kf3 Bg4+ is a repetition. Error type: right pieces, wrong move order. Checking with the rook first takes away the g2 escape before the bishop check.
B5. Endgame technique (2022).

♟️ Position: White Kb3, Rg6, Bh3, Ne7, a2, b2, c2, g2; Black Kc5, Rf1, Rf2, e3, d4, a5, b6, h6 — Black to move. FEN:
8/4N3/1p4Rp/p1k5/3p4/1K2p2B/PPP2rP1/5r2 b - - 4 35
Solution
35...Rf6! — trade off White's only active piece: −5.99 (d18) / −6.69 (d24), 35...Rf6 36.Bg4 Rxg6 37.Nxg6 Rf2 and the e- and d-pawns decide. The game's 35...e2?? walked into a mating net around Black's own king: #8 for White at both depths, 36.Rc6+ Kb5 37.a4+ Ka6 38.Rc7. Error type: king safety in the endgame — Black's king on c5 was the exposed piece, and two rooks on the f-file do not defend it.
B6. Endgame technique (2023) — tablebase position.

♟️ Position: White Kg3, g4, h5, b7; Black Kg5, Nc6, h6 — Black to move. FEN:
8/1P6/2n4p/6kP/6P1/6K1/8/8 b - - 8 65
Solution
The Syzygy tablebase says draw with correct play; the drawing moves are 65...Nb8! (or 65...Kf6). Stockfish 19 agrees: 0.00 at depths 18 and 24 after 65...Nb8 66.Kf3 Na6. The knight must stay on the squares that control b8 (b8 itself, a6, d7). The game's 65...Ne5?? let the pawn queen: 66.b8=Q, #8 for White at both depths, and the tablebase confirms a White win. Error type: knight versus passed pawn — the knight must control the promotion square, not chase a target.
B7. Find the tactic (2024).

♟️ Position: White Kg1, Qe2, Rf1, Re3, Nc3, a2, b2, h2, g4, d5; Black Kg7, Qd7, Rh8, Bg5, Nf6, h3, c6, g6, a7, f7 — Black to move. FEN:
7r/p2q1pk1/2p2np1/3P2b1/6P1/2N1R2p/PP2Q2P/5RK1 b - - 0 27
Solution
27...Bxe3+! first: −5.98 (d18) / −6.57 (d24), 27...Bxe3+ 28.Qxe3 Qxg4+ 29.Qg3 Qxg3+ 30.hxg3 and Black is a clean exchange ahead in an ending. The game's 27...Qxg4+? allowed 28.Rg3!, attacking the queen; after 28...Qxe2 29.Nxe2 the queens are gone, the e3-rook survives, and the position is +0.38 (d18) / +0.58 (d24). Error type: wrong capture order — take the piece that can block before giving the check.
B8. Analyze this position (2025) — move 5.

♟️ Position: White Ke1, Qd1, Ra1, Rh1, Bf1, Bg5, Nb1, Ng1, a2, b2, c2, e2, f2, g2, h4, d5; Black Ke8, Qb6, Ra8, Rh8, Bc8, Bf8, Ne4, Nb8, c5, a7, b7, d7, e7, f7, g7, h7 — White to move. FEN:
rnb1kb1r/pp1ppppp/1q6/2pP2B1/4n2P/8/PPP1PPP1/RN1QKBNR w KQkq - 1 5
Solution
Both b2 and g5 are attacked. Stockfish's choice depends on depth: 5.Nd2 +0.11 (d18) but 5.Bc1 +0.32 (d24) — a depth disagreement worth noticing (Chapter 23's rule: state the depth). The game's 5.c3?? defends nothing: after 5...Qxb2 the knight on b1 and the c3-pawn are hanging, −4.57 (d18) / −5.02 (d24) (5...Qxb2 6.Nd2 Nxc3). Error type: opening — a "natural" pawn move that ignored the opponent's two threats.
Part C — Data & Code ⭐⭐–⭐⭐⭐
C1. ⭐⭐ Window sensitivity. Using pg.improvement_rate, compute GothamChess's bullet improvement rate for
every window of 12, 24 and 36 consecutive active months. Output: a table (window length, start month, slope, lo,
hi) and the share of 12-month windows whose interval includes zero.
Answer (shape and anchor)
The script 01 output gives the anchors: all 71 months +3.5/month [+2.9, +4.0]; last 36 +3.6 [+2.7, +4.6]; last 12 −4.5 [−8.8, +0.8]. Expect a large share of 12-month windows to straddle zero and a much smaller share of 36-month windows. Report the real share from your run.
C2. ⭐⭐ Your own false-alarm rate. Write my_false_alarm(months, games_per_month) that calls
pg.false_alarm_rate with 200 simulated players and prints the rate at penalties ×3, ×5, ×8. Run it for (24, 15),
(36, 30), (36, 150). Expected shape: rates fall with the penalty; at ×5 near 5% for 30 and 150 games a month
(chapter values 4.7% and 4.0% at 36 months).
C3. ⭐⭐⭐ Detector on the rating level vs performance — real data. For Hikaru's bullet archive, print the segments of both series (rating level at ×3, performance at ×5). How many changepoints does each find? Which segments would you trust, and why?
Answer
Script 01: the rating-level series finds eight segments (seven changepoints) with labels including "decline" and several "climbs"; the performance series at ×5 finds six segments, most "unclear", with clear climbs only at the start (2014) and the end (from October 2025, +22.7/month [+3.1, +42.2]). Trust the performance segmentation (validated false-alarm rate ≈ 5%), and even there trust only segments whose intervals are narrow.
C4. ⭐⭐⭐ Backtest a fourth rule. Add a method "mean12" to pg.forecast (mean of the last 12 active months)
and rerun pg.backtest on the four series. Output: the pooled table with four methods at horizons 6 and 12.
Expected: a smoother but laggier forecast — for players who kept rising it should be biased even lower than
"flat". Check whether its MAE beats flat's 56.5 (6 months) / 73.5 (12 months).
C5. ⭐⭐⭐ Accuracy against opponent strength. From script 05's analysis, compute for each of the 120 games the difference (GothamChess's book accuracy − his opponent's) and regress it on year. Is the trend in the difference clearer than the trend in his accuracy alone (+0.09/yr [−0.16, +0.35])? Output: slope, interval, n = 120.
C6. ⭐⭐ Percentile gap for a single player. Using pg.pool_percentile and the Lichess pools built in script 04,
write a function that takes (blitz rating, rapid rating) and returns the player's percentile gap and where that gap
sits among players of the same blitz band who play both. Test it on (1650, 1800).
Answer (anchor)
At blitz 1600–1799, the median rapid-minus-blitz percentile gap is +19.6 with P10 +5.0 and P90 +30.8 (script 04). A raw 150-point gap at 1650 will land somewhere inside that band; compute the exact percentile with your function.
C7. ⭐⭐⭐ Robustness of a plateau. Case study 2 varies the penalty (×3, ×5, ×8) and minimum segment length (4, 6, 9) for Hikaru's blitz. Repeat the grid for GothamChess's blitz. Output: a 3 × 3 table of the number of segments and their labels.
Answer (anchor)
At ×5 with minimum 6 the chapter found a single climb (+3.8/month [+3.4, +4.2]). Expect ×3 with short segments to be the most likely setting to split it; if every cell still shows one climb, the "no plateau" verdict is robust. Report your grid.
Part D — Judgment & Transfer ⭐⭐⭐
D1. A 1200 Lichess player's rapid rating is 210 above their blitz. A coach says, "You rely on time; play more blitz." What does the data say about that diagnosis, and what would you measure instead?
Answer
Below 1400 blitz, a rapid rating about 190 points higher is the median (1200–1399: median +186; 46.6% have +200 or more), so the gap is ordinary for the pools, not a symptom. Measure the clock directly: time-trouble frequency, blunders by remaining time, flag losses (Chapters 13 and 36), and compare with players at the same level.
D2. An adult at FIDE 1750 asks for a projection for the next six months. A junior at FIDE 1750 asks the same. Give each an honest answer from the panel.
Answer
Adult (25+), 1600–1799: median +5, middle half −17 to +29, P10–P90 −35 to +54. Junior (<18), 1600–1799: median +42, middle half −2 to +95, P10–P90 −38 to +148. Same starting rating, very different ranges. Both should hear "a range, not a promise", and both should know the panel is OTB classical and survivors of a year of tournaments.
D3. Engine versus human: in B8 Stockfish prefers 5.Nd2 at depth 18 and 5.Bc1 at depth 24. Should an improving player care which, and what should the dashboard log?
Answer
No — both keep the balance (+0.11 / +0.32) and both answer the two threats; the human lesson is "count the attacked pieces before a quiet move". The dashboard should log the played move's error type (an opening move that ignored two threats), not the engine's ranking of two good moves.
D4. At 1200, which of this chapter's tools would you actually use, and which would you skip? At 2000?
Answer
At 1200 (often few games per month, fast improvement): improvement rate over long windows, "people like you", the opening table only as a sanity check; skip plateau detection (no power) and accuracy trends (too few analysed games, opponent confound). At 2000 with heavy volume: plateau detection on performance becomes informative, backtested ranges help with targets, and opening tables over 24 months can find real lines worth work — after the false-discovery correction.
D5. A friend's dashboard shows "Black: Scandinavian, 30.0% over 15 games, −21 points against expectation" and they want to drop the opening. Using Dev's identical row from 35.9, write the two-sentence reply you would send.
Answer
"Fifteen games give a 95% interval from 13% to 55%, and once you account for testing every opening you play, the gap is indistinguishable from luck (Dev's same row has q = 0.33). Play another 50 games in it, or study it because you play it often — but don't drop it because of one bad-looking number."
Part M — Mixed / Interleaved ⭐⭐–⭐⭐⭐
M1. (Ch 30 + Ch 35) ⭐⭐ Chapter 30's rating updates use a K-factor. In this chapter, K = 13 was chosen for the simulations. What real quantity was it matched to, and what changes in the false-alarm results if a pool uses a much larger K?
Answer
It matched the simulated mean per-game rating change (5.85 at K = 13) to GothamChess's real 6.36. A larger K makes the rating wander more and its errors persist differently; the performance series is unaffected by K (it depends only on results and opponents), which is one more reason to segment performance.
M2. (Ch 24 + Ch 35) ⭐⭐ Chapter 24 found that "weak lines" in a player's first half of games regress towards average in the second half. Which tool in this chapter is designed around that finding, and how?
Answer
opening_vs_expectation: it judges lines against the player's own average, applies a false-discovery correction
across all lines, and (in recommendations) requires at least a 3-point effect — so the "worst line in the table",
usually the one with the fewest games, is not reported as a weakness.
M3. (Ch 32 + Ch 35) ⭐⭐⭐ Chapter 32 defines book accuracy and ACPL. Why might ACPL and accuracy disagree about the trend in 35.8's table (e.g., 2017 ACPL 57.8 vs 2018 30.0)?
Answer
ACPL is dominated by a few huge losses (one blunder in a winning position can add hundreds of centipawns, clipped at ±1000), while accuracy uses win-% drops, which saturate in already-decided positions. Twelve games a year means one or two disasters move ACPL a lot; both are also confounded by opponent strength (2018's sample faced a median 2075).
M4. (Ch 18 + Ch 35) ⭐⭐ Case study 1's queen-versus-rook ending was decided by connected passed pawns on the seventh rank. Which principle from Chapter 18 would have saved the game at move 58, and how would a dashboard know this error type recurs?
Answer
Check first, from the square that also gains time for the king (58...Qe8+, a tablebase win), rather than pushing your own pawn. A dashboard can tag errors by phase and material signature (here a queen against rook and pawns) over hundreds of games and report whether such endings cost more points than expected.
M5. (Ch 25 + Ch 35) ⭐⭐⭐ Chapter 25 says the puzzle sweet spot is 70–241 points below your puzzle rating. Combine that with 35.10: how many puzzles of one theme should you do before believing a "weakness" in that theme?
Answer
The simulation found a large (150-point) theme weakness 67% of the time at ~50 attempts per theme and 93.5% at ~100. So aim for roughly 100 attempts per suspected theme, at sweet-spot difficulty so success rates are in a range where differences are visible, and treat any single flag as one of the ~0.2 false flags per report until it repeats.
Part E — Research & Extension ⭐⭐⭐⭐
E1. Continuous segments. The chapter's segments may jump at a changepoint. Implement a continuous piecewise-linear fit (a "hinge" model: the trajectory bends but does not jump), validate it on the same simulated players (false alarms, step and knee detection), and rerun it on Levy's and Hikaru's archives. Does Hikaru's plateau survive?
E2. Your own archive. Download your own Chess.com or Lichess games through Outpost's games.py, build the
dashboard, and write a one-page report that states, for every claim, its window, interval and the false-alarm rate
of the detector at your volume. Include one thing the data cannot tell you.
E3. A better panel. Extend the OTB panel to three windows (thirds of the year) and estimate how much of a player's first-to-second-window change carries over to the second-to-third (the regression-to-the-mean coefficient), separately for juniors and adults. What does that coefficient imply for "I gained 60 points this season, so I'll gain 60 next season"? Report the panel sizes per window, state the selection rule in one line, and print only group statistics — never an individual player's record.