Chapter 24 Exercises — Opponent Preparation

Difficulty: ⭐ concept check · ⭐⭐ applied · ⭐⭐⭐ analysis and judgment · ⭐⭐⭐⭐ open-ended project

All evaluations are Stockfish 19 from White's point of view, at the depth stated. Positions come from the illustrative OTB game in 24.9 (broadcast game_id 268961) and from the opening lines profiled in the chapter; scripts code/06_round3_game.py and code/08_exercise_positions.py reproduce every number.


Part A — Concepts ⭐

A1. Define a scouting frame and list the five columns it cannot do without. Why must the two rating columns come from the same rating pool?

A2. Grace's opponent scored 76.0% in the French against an Elo-expected 70.0%. Explain in two sentences why the second number matters more than the first.

A3. The chapter says the Elo formula "over-predicts favourites". Quote the Lichess blitz numbers for a 200–299 rating gap from 24.1 and explain what this does to a strong player's scouting report if lines are judged against raw Elo expectation.

A4. Compute the Shannon entropy (in bits) of a player who answers 1.d4 with ...Nf6 in 50% of games, ...d5 in 25% and ...g6 in 25%. Is this player more or less predictable than Grace's opponent against 1.e4 (0.26 bits)?

A5. Translate the style claim "she never fights for the initiative in the Caro-Kann" into two measurable proxies you could compute from moves.

A6. Why does the chapter profile only the opponent's 489 non-bullet games when preparing for a classical game?

A7. In the split-half test (24.5), why do lines selected as the weakest in the first half look better in the second half, even though nobody's skill changed?

A8. Give three examples of information a scout must never use, according to 24.11, and one example of information that is fair game.

A9. The opponent's French score against 3.Nc3 lines (the "Classical Variation" row) was 64.0%, the lowest of the main lines. Its Elo-expected score was 59.0%. In one sentence, why is "he is weakest against 3.Nc3" the wrong conclusion?

A10. What is the difference between a hard signal and a soft signal in a scouting file? Classify (a) "95.6% of his Black games against 1.e4 are French Defences" and (b) "his French scores below expectation at rapid".

Answers to Part A

A1. One row per game from the scouted player's point of view, with color, own (rating), opp (opponent's rating), score (1/½/0) and speed. The expected score uses the rating difference, which is only meaningful within one pool (Lichess, Chess.com and FIDE are different scales).

A2. The opponent was usually the higher-rated player, so a high raw score was expected. The surplus (+6.0 points) measures performance after accounting for opposition, which is what tells you whether the French is a strength.

A3. Predicted 80.2%, actual 70.7% for the higher-rated player. A strong player who is an average favourite will sit below raw expectation in almost every line and look "weak everywhere"; judging lines against the player's own average performance removes the bias.

A4. H = −(0.5·log₂0.5 + 0.25·log₂0.25 + 0.25·log₂0.25) = 0.5 + 0.5 + 0.5 = 1.5 bits. Much less predictable than 0.26 bits.

A5. For example: (a) the ply of her first pawn break against White's centre (...c5 or ...e5) and whether it comes before move 12; (b) whether she ever castles opposite to White or advances a flank pawn beyond her fourth rank in the first 20 moves. Compare both with a same-rating reference group.

A6. Bullet decisions are too different from a 90-minute game to inform it; including 187 bullet games would let the fastest format dominate the profile.

A7. Choosing the minimum of several small samples selects for bad luck; the second half does not share that luck, so it regresses to the player's true level (−9.4 → +2.3 points on Lichess).

A8. Never: private games or messages; guesses about who is behind an anonymous account; personal details such as school, location or health (especially for juniors). Fair game: the player's published games on a platform, broadcast or federation database.

A9. The line still scores 5.0 points above its expectation; the low raw score reflects stronger opponents choosing 3.Nc3, and its interval (44.5–79.8%) is far too wide to rank it against other lines.

A10. A hard signal rests on a large sample or a near-unanimous choice and survives any reasonable reanalysis; a soft signal points in a direction but its interval includes "no effect". (a) is hard — 129 of 135 games. (b) is soft — 44 games, interval 53.4–80.0% containing the 72.2% expectation; it matters only because independent evidence (clock curves, the bullet → blitz → rapid gradient) points the same way.


Part B — Positions ⭐⭐

B1. Analyze this position. The illustrative game after 12...Nf5. White to move. Black's knights eye d4; is White's d5-target really available?

White to move: is the d5-pawn available?

♟️ Position: White Kg1, Qd3, Ra1, Re1, Bc1, Nc3, Nf3, b2, f2, g2, h2, a3, d4, e5; Black Ke8, Qb6, Ra8, Rh8, Bf8, Nf5, Nc6, d5, a6, e6, b7, f7, g7, h7 — White to move. FEN: r3kb1r/1p3ppp/pqn1p3/3pPn2/3P4/P1NQ1N2/1P3PPP/R1B1R1K1 w kq - 3 13

Solution

13.Nxd5! is Stockfish 19's first choice at depth 20 (+0.74), ahead of 13.Rd1 (+0.34) and 13.Kh1 (+0.31). The point is that the e6-pawn cannot recapture: after 13...exd5? the pawn no longer shields the knight on f5, and 14.Qxf5 wins it back with interest (+3.52 at depth 18, +3.68 at depth 20 after 13...exd5; at depth 20 with three lines Stockfish's best reply is 13...Qd8 at +0.78, with 13...exd5 rated +4.59). The game went 13...Qd8 14.Nc3, and Black regained the d4-pawn with 14...Nfxd4. After 13.Nxd5 the engine reads +0.65 (depth 18) / +0.92 (depth 24). The lesson for scouting: even in a "passive" French set-up, the central tension creates concrete chances for both sides.

B2. Find the defence. After 21.g4 in the illustrative game. Black to move. White has just pushed the g-pawn at Black's knight on f5.

After 21.g4 — Black to move

♟️ Position: White Kg1, Qf3, Ra1, Rd1, Ng5, b2, f2, h2, a3, g4, e5; Black Kg8, Qb6, Ra8, Rf8, Nf5, a6, e6, b7, f7, g7, h7 — Black to move. FEN: r4rk1/1p3ppp/pq2p3/4PnN1/6P1/P4Q2/1P3P1P/R2R2K1 b - - 0 21

Solution

21...Ne7! (−0.52 at depth 20; −0.55 at depth 24 for the position before the move) brings the knight back towards g6, where it covers the dark squares around the king. 21...Nh4 (−0.12) is a second option. The game's 21...Nh6? puts the knight on the rim, where it defends nothing; after it Stockfish reads +2.12 (depth 18) / +2.06 (depth 24). Rule: when a pawn kicks a defending knight, retreat it towards the king, not away from it.

B3. Find the only move. After 25...Qxb2. White to move. Black has grabbed a pawn with the queen; White has sacrificed a knight earlier and must keep the initiative.

After 25...Qxb2 — White to move

♟️ Position: White Kg1, Qh3, Ra1, Rd1, Ng5, f2, h2, a3, g4, e5; Black Kg7, Qb2, Ra8, Rh8, Nh6, a6, e6, g6, b7, f7 — White to move. FEN: r6r/1p3pk1/p3p1pn/4P1N1/6P1/P6Q/1q3P1P/R2R2K1 w - - 0 26

Solution

26.Qg3! (+2.62 at depth 20) is the only move that keeps a decisive edge; 26.Nf3 (+0.12) and 26.Qe3 (−0.09) throw it away. The queen protects g4 indirectly, eyes the dark squares on the b8–h2 diagonal (f4, e5) and prepares Qf4–f6. White found it in about 42 seconds in the game.

B4. Find the tactic. After 27...Rhf8. White to move.

White to move: finish the attack

♟️ Position: White Kg1, Qf4, Ra1, Rd1, Ng5, f2, h2, a3, g4, e5; Black Kg7, Qb5, Ra8, Rf8, Nh6, a6, e6, g6, b7, f7 — White to move. FEN: r4r2/1p3pk1/p3p1pn/1q2P1N1/5QP1/P7/5P1P/R2R2K1 w - - 4 28

Solution

28.Qf6+! (+8.63 at depth 20) — the queen reaches the hole on f6, and after 28...Kg8 29.Nxe6 fxe6 30.Qxg6+ Kh8 31.Qxh6+ the defence collapses (engine line). Alternatives such as 28.Rab1 (+5.20) or 28.h3 (+4.97) keep a winning advantage but let Black breathe. After 28.Qf6+ the evaluation is +9.59 (depth 18) / +9.62 (depth 24).

B5. Find the tactic. After 28...Kg8. White to move.

White to move: the last blow

♟️ Position: White Kg1, Qf6, Ra1, Rd1, Ng5, f2, h2, a3, g4, e5; Black Kg8, Qb5, Ra8, Rf8, Nh6, a6, e6, g6, b7, f7 — White to move. FEN: r4rk1/1p3p2/p3pQpn/1q2P1N1/6P1/P7/5P1P/R2R2K1 w - - 6 29

Solution

29.Nxe6! (+8.84 at depth 20; the game move, after which Black resigned). If 29...fxe6, 30.Qxg6+ Kh8 31.Qxh6+ Kg8 32.Qg6+ (the engine's depth-24 line) and White's queen strips the king; at depth 18 the engine prefers 29...Nf5 30.gxf5 fxe6 31.Qxe6+ for Black, which also leaves White winning easily. Final position: +9.64 (depth 18) / +9.87 (depth 24).

B6. Build the plan. The opponent's answer to 3.Nc3: 1.e4 e6 2.d4 d5 3.Nc3 Nf6 4.Bg5 h6 5.Bxf6 Qxf6. White to move. Black has the bishop pair; White has a lead in development and the centre.

3.Nc3 Nf6 4.Bg5 h6 5.Bxf6 Qxf6 — White to move

♟️ Position: White Ke1, Qd1, Ra1, Rh1, Bf1, Ng1, Nc3, a2, b2, c2, f2, g2, h2, d4, e4; Black Ke8, Qf6, Ra8, Rh8, Bc8, Bf8, Nb8, d5, e6, h6, a7, b7, c7, f7, g7 — White to move. FEN: rnb1kb1r/ppp2pp1/4pq1p/3p4/3PP3/2N5/PPP2PPP/R2QKBNR w KQkq - 0 6

Solution

Stockfish 19 at depth 20 (three lines): 6.a3 (+0.43), 6.exd5 (+0.32), 6.Qd3 (+0.23); the position itself is +0.41 (depth 18) / +0.35 (depth 24). The plan behind 6.a3 is prophylactic — it stops ...Bb4 pinning the c3-knight, after which White can develop with Qe2/Nf3 and use the development lead before Black's bishops wake up. 6.exd5 changes the structure at once. A good plan statement: "Keep the bishops from opening lines: prevent ...Bb4, castle, and play against Black's slower development, aiming for e4–e5 or an exchange on d5 when it gains time."

B7. Analyze this position. The Advance after 3...c5 4.c3 Nc6 5.Nf3 Nge7 — one of the opponent's two main choices on move 5. White to move.

Advance, 5...Nge7 — White to move

♟️ Position: White Ke1, Qd1, Ra1, Rh1, Bc1, Bf1, Nb1, Nf3, a2, b2, f2, g2, h2, c3, d4, e5; Black Ke8, Qd8, Ra8, Rh8, Bc8, Bf8, Nc6, Ne7, c5, d5, e6, a7, b7, f7, g7, h7 — White to move. FEN: r1bqkb1r/pp2nppp/2n1p3/2ppP3/3P4/2P2N2/PP3PPP/RNBQKB1R w KQkq - 3 6

Solution

Depth 20, three lines: 6.Na3 (+0.33), 6.h4 (+0.33), 6.Bd3 (+0.22). Black's knight is heading for f5 to hit d4 a third time (with ...Nc6 and ...Qb6 or ...cxd4). 6.Na3 heads for c2 to over-protect d4; 6.h4 takes space and discourages ...Nf5 (h4–h5 or g4 can kick it); 6.Bd3 prepares to exchange the knight when it lands on f5. All three are sound; the choice is about which structure you understand. Note that Black gets exactly the active play our opponent always seeks — no "squeeze" is available.

B8. Opening choice. The Tarrasch after 3.Nd2 c5 4.Ngf3. Black to move. Which replies are playable, and which structures does each lead to?

Tarrasch, 4.Ngf3 — Black to move

♟️ Position: White Ke1, Qd1, Ra1, Rh1, Bc1, Bf1, Nd2, Nf3, a2, b2, c2, f2, g2, h2, d4, e4; Black Ke8, Qd8, Ra8, Rh8, Bc8, Bf8, Nb8, Ng8, c5, d5, e6, a7, b7, f7, g7, h7 — Black to move. FEN: rnbqkbnr/pp3ppp/4p3/2pp4/3PP3/5N2/PPPN1PPP/R1BQKB1R b KQkq - 1 4

Solution

Depth 20, three lines: 4...Nc6 (+0.20), 4...cxd4 (+0.27), 4...Nf6 (+0.37). 4...Nc6 and 4...cxd4 tend towards open positions where Black may accept an isolated d-pawn after exd5 exd5; 4...Nf6 invites e5 and a French-chain structure. For White's preparation the important point is that the engine spread is only 0.17 pawns: prepare the structures (isolani with ...exd5, chain with e5), not one move order.

B9. Build the plan. After 23...Kg7 in the illustrative game. White to move, with a clear advantage and 29 minutes against Black's 19. Choose between a quiet move and the knight sacrifice on h7.

After 23...Kg7 — White to move

♟️ Position: White Kg1, Qh3, Ra1, Rd1, Ng5, b2, f2, h2, a3, g4, e5; Black Kg7, Qb6, Ra8, Rf8, Nh6, a6, e6, g6, b7, f7, h7 — White to move. FEN: r4r2/1p3pkp/pq2p1pn/4P1N1/6P1/P6Q/1P3P1P/R2R2K1 w - - 2 24

Solution

Stockfish 19 at depth 20 (three lines): 24.Rd7 (+1.95), 24.Qf3 (+1.27), 24.Rac1 (+0.79); the position is +1.20 (depth 18) / +1.86 (depth 24). 24.Rd7 seizes the seventh rank and attacks f7 and b7, keeping every White piece in play with no risk. The game's 24.Nxh7 drops the evaluation to −0.50 (depth 18) / −0.28 (depth 24). A good plan statement: "I am clearly better and have more time: occupy the seventh rank, keep the knight on g5 and the queen on the h-file, and let Black find moves." Sacrifice only when the quiet route does not keep the advantage.

B10. Find the defence. After 24.Nxh7. Black to move with about 19 minutes left.

After 24.Nxh7 — Black to move

♟️ Position: White Kg1, Qh3, Ra1, Rd1, Nh7, b2, f2, h2, a3, g4, e5; Black Kg7, Qb6, Ra8, Rf8, Nh6, a6, e6, g6, b7, f7 — Black to move. FEN: r4r2/1p3pkN/pq2p1pn/4P3/6P1/P6Q/1P3P1P/R2R2K1 b - - 0 24

Solution

24...Kxh7! At depth 20 the engine's three choices are 24...Kxh7 (−0.39), 24...Rfd8 (+2.07) and 24...Rfe8 (+2.60): only the capture holds. After 24...Kxh7 25.g5 the evaluation is −0.48 (depth 18) / −0.15 (depth 24): White regains some material on h6 but runs short of attackers. The game's 24...Rh8? (+2.83 / +2.73) declined the piece: the knight escaped with 25.Ng5 and White was simply a pawn up with the attack intact. The practical lesson: when a piece is offered next to your king, calculate the acceptance first — it is usually the critical line.


Part C — Data & Code ⭐⭐–⭐⭐⭐

C1. Database research ⭐⭐. Extend code/01_opponent_repertoire.py to profile the opponent's games as White by Black's reply to 1.Nf3 (from the 94 games with moves). Output: a table with reply, n, share, score with Wilson interval, Elo-expected score and difference from the opponent's own average. Expected shape: 3–6 rows, most with "too few" or "noise".

C2. Database research ⭐⭐. Re-run the split-half test of code/04_weak_lines_noise.py with the minimum line size raised from 5 to 10 games. Report the number of players, the first-half gap and the second-half result for weakest and strongest lines. Does a larger minimum make lines persist?

C3. Engine analysis ⭐⭐. For the four French tabiyas in 24.8, run Stockfish 19 at depths 16, 20 and 24 (engine.evaluate) and tabulate the evaluation and best move at each depth. Which tabiya's best move changes with depth?

C4. Database research ⭐⭐⭐. Using outpost.scout.clock_habits, compute the clock profile (median seconds per move, % of base left at moves 20 and 40, share of games below 10%) for the top 20 French specialists in the Lichess sample (players with the most blitz+rapid French games as Black). Never print ids. Where does Grace's opponent sit in that distribution?

C5. Database research ⭐⭐⭐. In code/05_grace_choices.py, add a column for the share of games in each line that reach a book endgame (game_features.endgame_ply not null) at FIDE 1700–2100. Does any third move lead to endgames more often — relevant if Grace wants long games?

C6. Engine analysis ⭐⭐⭐. For Hikaru's 1.e4 g6 2.d4 Bg7 3.Nc3 a6, collect White's fourth moves in his last-12-month blitz games. For each move with ≥ 10 games, report White's score with an interval and Stockfish 19's depth-20 evaluation after the move. Expected shape: a table of 3–6 moves; expect the scores to be inside each other's intervals.

C7. Database research ⭐⭐⭐. Build a "speed gradient" chart for the 66 French specialists (players with ≥ 30 blitz+rapid French games as Black): for each, compute score minus expectation in blitz and in rapid (all their non-bullet games), and plot one against the other. Is Grace's opponent's pattern (edge concentrated at blitz) typical of specialists, or unusual? Expected shape: a scatter of up to 66 points, many with too few rapid games — decide and state a minimum.

Hints for Part C

C1: filter x[(x.color == "white") & x.movetext.notna()], use scout.first_moves(t, 2)[1] for Black's reply, and scout.repertoire(..., baseline=overall_diff). C2: change min_line=5 to 10 in both calls; expect fewer players and wider intervals, and the second-half numbers still near zero. C4: use the same French filter as locate_opponent() but keep the top 20 counts; loop over each player's games and call clock_habits, storing only numbers. C5: join game_features on game_id for broadcast games. C6: scout.first_moves(movetext, 7) gives the first seven plies; group by the seventh. C7: reuse load_lichess_cols(["game_id", "white_id", "black_id", "speed", ...]), keep ids only inside the loop, and write a table of (blitz diff, rapid diff, n blitz, n rapid) with no id column. A sensible minimum is 20 rapid games; many specialists will drop out, which is itself a finding about how thin rapid samples are online.

What good answers to Part C look like

  • Every table carries n and an interval. A row without its sample size is not an answer.
  • Every comparison names its yardstick. "Above expectation" (Elo), "above own average" (player baseline), or "above the reference group" (same-rating players) are three different statements.
  • Every engine number names its depth. If the best move changes between depth 16 and depth 24 (C3), report both and say which you trust.
  • No identifiers leave the script. Use hashed ids only for grouping; output only aggregates. For Chess.com data, never print an opponent's username.
  • One sentence of chess meaning. End each answer with what the number changes about your preparation — or say honestly that it changes nothing.

Part D — Judgment & Transfer ⭐⭐⭐

D1. At 1200 (club, Lichess rapid), most opponents have only a few dozen public games and change openings often. What parts of this chapter's pipeline still help, and which should be dropped? What changes at 2000 OTB, where opponents have years of broadcast games?

D2. An engine rates the line you prepared at +0.35, and a line you know much better at +0.15. Your opponent's record in both is "noise". Which do you play, and why?

D3. Your opponent's online profile shows a strong blitz edge that disappears at rapid, like Grace's opponent. You will play them in a 15+10 rapid OTB game. How much weight do you give the online profile?

D4. A teammate shows you a scouting file that includes the opponent's school, their recent social media posts about being ill, and a guess at their anonymous Lichess account. What do you say?

D5. Two coaches argue. Coach A: "Prepare for the opponent's weaknesses." Coach B: "Prepare for the opponent's choices and your own strengths." Using the split-half result (24.5) and the predictability comparison (24.10), say which coach is closer to what the data supports, and identify one situation in which Coach A is right.

Discussion points

D1: At 1200, choice tables and predictability still work (a handful of games shows what they play); results by line, phase accuracy and clock curves are almost pure noise — drop them. At 2000 OTB, with hundreds of classical games, a recency window, a speed split and choice trees four or five plies deep become worthwhile; results by line still need the 24.5 caution. D2: Usually the +0.15 line you understand — 0.2 pawns is below what most players can convert, and understanding reduces your error rate in the middlegame (where most points are lost). D3: Moderate weight on choices (openings transfer well), low weight on results, and treat the clock signal as a hypothesis — OTB and online clock behaviour differ, and 15+10 is between blitz and classical. D4: Remove everything that is not chess; never guess or share an anonymous identity; illness and school are not preparation (24.11). D5: Coach B, at almost every sample size an amateur meets — choices are stable (11 of 11 games with 3...c5) while line results regress (−9.4 → +2.3 points). Coach A is right when a weakness rests on a large sample and a mechanism you can see in the games — for example a player who loses on time in a large share of hundreds of games, or who scores far below their average across hundreds of games in one structure, and whose games show the same kind of mistake repeatedly.


Part M — Mixed / Interleaved ⭐⭐–⭐⭐⭐

M1. (Ch 24 + Chapter 20) Chapter 20 shrank Dev's small-sample opening scores towards a database prior. Apply the same idea to Grace's opponent: shrink each French line's score toward the opponent's overall French score with a prior of 30 games, using repertoire.shrink if it is available or your own (points + prior·p0)/(n + prior). Which line moves most?

M2. (Ch 24 + Chapter 13) In the case-study game, both decisive Black errors came in "only-move" positions with less time than White. Using Chapter 13's ideas, write a three-rule clock plan for Grace against her opponent.

M3. (Ch 24 + Chapter 2) The opponent answers 3.Nd2 with 3...c5. Using Chapter 2's IQP material, list two plans for White against an isolated d5-pawn and one plan for Black, and say which one fits Grace's "long game" strategy.

M4. (Ch 24 + Chapter 22) Chapter 22 compares the French from Black's side. Which of its structures does Grace's opponent reach most often (24.3's tree), and which does GothamChess reach (Case Study 2)? Are they playing "the same opening"?

M5. (Ch 24 + Chapter 1) Explain, using Chapter 1's win-percentage curve, why a +1.86 position (after 23...Kg7) and a −0.28 position (after 24.Nxh7) differ more in practical terms than the 2.1-pawn gap suggests.

Answers to Part M (outline)

M1: With p0 = 0.760 and prior 30, the Tarrasch (7.0 points from 9 games: 77.8%) moves to about (7.0 + 22.8)/39 ≈ 76.4%; the Classical (16.0/25 = 64.0%) moves to about (16.0 + 22.8)/55 ≈ 70.5% — the largest move, because it is furthest from the overall score. Everything ends within about six points of 76%: no line stands out. M2: e.g. (1) bank time in the opening by playing known structures quickly but not instantly; (2) spend real time at structure changes and before accepting or declining material; (3) never fall below 15 minutes before move 30. M3: White: blockade d4 with a knight and trade minor pieces; or pressure d5 with Rd1/Bf3. Black: activity and the d5–d4 break. The blockade-and-trade plan fits a long game. M4: The opponent: 3...c5 against 3.e5 and 3.Nd2, 3...Nf6 against 3.Nc3; GothamChess: 3...dxe4 against both 3.Nc3 and 3.Nd2 — very different structures under one name. M5: win% saturates; at +1.86 White's win percentage is about 66.5, at −0.28 about 47.4 (the book's formula), and the practical difference is whether White is playing for two results or three.


Part E — Research & Extension ⭐⭐⭐⭐

E1. Build a "scouting value" index: for every player in the Lichess sample with ≥ 40 games as Black, compute predictability against 1.e4 (entropy) and the persistence of their line results (split-half). Is there any relationship between how predictable a player is and how persistent their line results are? Write up the method, the result with intervals, and what it means for choosing whom to prepare deeply.

E2. Extend outpost.scout with a color_baseline option that judges White lines against the player's White average and Black lines against their Black average (Case Study 2's suggestion). Re-run GothamChess's persistence analysis and report how much of the year-to-year correlation (0.25) remains.

E3. Write a two-page scouting-ethics policy for your club: what may be collected, how files are stored and shared, how juniors are protected, and how suspected fair-play issues are reported. Base it on 24.11 and on the published fair-play policies of the platforms your club uses (describe them; do not invent quotations).