Part IV — Openings and Preparation
Dev Raman, the club's computer-science student, runs his first database query on his own games and gets a number that looks like a diagnosis. As White against the Najdorf, playing the English Attack with 6.Be3, he has scored 36.0% over 50 blitz games. His Italian Game, meanwhile, scores 67.5% over 80. Obvious conclusion: the Najdorf is his weakness, and he should spend the next month on it.
🎭 Composite data: Dev's games are real Lichess games played by anonymous players at his rating, assembled into one "player" so we can demonstrate the method on your own games.
Then he puts intervals on the numbers. The Italian's 95% interval is 56.6–76.8%, comfortably above the 51.6% the database scores at his level — a real strength. The Najdorf's is 24.1–49.9%, which overlaps what his rating predicts. Fifty games can't tell a weakness from bad luck. And the population fact behind the story turns out to be more useful than Dev's own number: at his level, White scores only 44.3% with 6.Be3 (n = 97), against 49.0% across all blitz ratings (n = 801). The English Attack is hard for 1600-rated players, not just for Dev.
So Dev should still study the Najdorf — because he meets it often and it's hard at his level, not because one number looked bad. That is Anchor C, and it sets the tone for Part IV: openings are where chess players most often reach for data, and where the data is most often misread.
What this part is for
Part IV teaches you to choose, build, study and prepare openings the way a strong player with a database and an engine would — and to know what each of those tools can and can't tell you. It starts from principles (why development, the centre and king safety matter, measured in tempi and win %), builds a repertoire as a decision tree, surveys the main systems for White and Black by the middlegames they lead to, and ends with the two kinds of preparation that win tournament games: engine-assisted preparation of a line, and preparation against a specific opponent.
Three ideas run through all six chapters.
- An opening is a choice of middlegame. You choose it for the pawn structure it aims for, the plans that belong to that structure, and the risk it carries. The moves are the route. This is Part I's threshold concept — the structure dictates the plan — applied from move one.
- Different pools answer different questions. The masters explorer shows what prepared strong players do, the broadcast games show real over-the-board tournaments, the Lichess sample shows online play at your rating, and Stockfish shows the position's value with perfect play. Part IV uses all four and is careful never to mix them.
- Every number about you needs an interval. Fifty games give about ±13 points. Most "weak lines" that players find in their own records are noise.
How the chapters build
Chapter 19 derives the opening principles from the value of a tempo and tests each one against 794,947 quiet opening moves from 48,000 Lichess games. Chapter 20 turns your own games into a repertoire tree, adds database expectations at every node, and introduces Anchor C. Chapters 21 and 22 are the system chapters — the main 1.e4 and 1.d4 systems for White, then the main defences for Black — each built around structures, plans and model games, with scores from all four pools. Chapter 23 is the preparation method: database → engine → model games → must-know positions, in that order. Chapter 24 applies the same method to a person, and introduces Anchor D.
Outpost adds six modules: an opening-principles audit of your first moves (opening_principles.py),
a repertoire tree with database expectations (repertoire.py), an opening profile report
(opening_report.py), a side-by-side comparison of defences (opening_compare.py), an engine-plus-
database prep tool (prep.py), and an opponent scouting report (scout.py).
What the data found
- A tempo is worth more when the position is open. "One tempo is worth about 0.64 pawns in the start position and 0.59 after 1.e4 e5 (Stockfish 19, depth 20, pass test) — but only 0.33 in a closed Queen's Gambit Declined" (Chapter 19).
- Principles measure the position, not the result. "2.Qh5 is about half a pawn worse than 2.Nf3 (−0.27 vs +0.25) yet scores 52.9% for White below 1200 — because Black's replies include blunders" (Chapter 19).
- Prepare for the opponents you actually meet. "In Lichess blitz, 1...c5 is 5.8% of Black's answers to 1.e4 below 1000 and 34.1% at 2200–2399." With two prepared replies per node, "only 19.3% of games at Dev's level are still inside his tree after ply 10" (Chapter 20).
- The same opening ranks differently in different pools. "The Scotch is the best-scoring 1.e4 e5 system on Lichess (54.4%) and in balanced OTB games (56.5%) but the worst among masters (52.3%)." Engine edges predict master results, not club results: "r = +0.76 (masters), +0.38 (OTB), +0.05 (Lichess)" across ten systems (Chapter 21).
- No defence wins; every defence chooses a structure. "After 1.e4 every main reply scores below 50% for Black in master games (Sicilian 47.2%, 1...e5 45.6%), and Stockfish 19 rates them within about a tenth of a pawn of each other." The folklore that the Sicilian scores above 50% for Black is wrong (Chapter 22).
- Engine-equal is not human-equal. "Across 331 common club opening positions, evaluation and White's score correlate at only 0.09"; "the Stafford Gambit (+2.11) scores 48.3% for White at Lichess 1400–1799" (Chapter 23).
- "Weak lines" mostly evaporate. "Across 1,732 Lichess players, lines selected as weakest (−9.4 points vs own average) scored +2.3 in the next games" (Chapter 24).
The cast and the anchors in Part IV
This is the part where Grace Mbeki, sixteen and rated about FIDE 1850, takes centre stage. She is preparing for a FIDE open, and Chapters 20–24 follow her repertoire decisions. Dev Raman is the other lead: his Najdorf problem (Anchor C) runs through Chapters 20 and 23, and he builds the preparation tools.
🎭 Composite data: Grace's games are real over-the-board games from the broadcast data, played by unnamed players at her rating and assembled into one "player". Her scouted opponent in Chapter 24 is a stand-in built from one anonymous online player's public record. Neither is a fact about a real person.
Anchor D — the opponent preparation that killed Grace's assumption — is introduced in Chapter 24. Grace expected her opponent to play the French passively against the Advance. The data refuted the story: the opponent "played the French in 95.6% of Black games against 1.e4 and 3...c5 in 11 of 11 Advance games", and scored "75.0% [57.3–87.0] against 3.e5 (n = 30)". There was no weak French line to target. The one soft signal was the clock — a blitz specialist whose edge was smaller at rapid — so Grace chose 3.Nd2, a sound line whose structures she knows, and prepared for a long game. Anchor D returns in Chapter 27, at the tournament itself.
Anchor A, the Carlsbad structure, returns in Chapters 21 and 22 — this time from the opening side, as the structure the Queen's Gambit Exchange aims for. Anchor C returns in Chapters 23, 31, 35 and 40.
The model games come from every era: Morphy in the 1850s, Steinitz–von Bardeleben 1895, Spassky–Fischer and Fischer–Spassky from Reykjavik 1972, Topalov–Kasparov 1994, Shirov–Polgar 1994, Polgar–Gelfand 1996, Kramnik–Topalov 2006, and the 2026 season's Gukesh–Carlsen, Firouzja–Carlsen, Vaishali–Zhu Jiner and Van Foreest–Giri.
Chapter by chapter
- Chapter 19 — Opening Principles. The value of a tempo,
the four principles as one principle, measured costs of each kind of opening move, and the
exceptions that serve the purpose. Outpost:
opening_principles.py. - Chapter 20 — Building an Opening Repertoire. The
repertoire as a decision tree, reply frequencies by rating, intervals and forking paths, and Anchor
C. Outpost:
repertoire.py. - Chapter 21 — Essential Openings for White. The
Italian, Ruy Lopez, Scotch and anti-Sicilians; the Queen's Gambit, London and Catalan — each by
structure, plans, model games and four-pool statistics. Outpost:
opening_report.py. - Chapter 22 — Essential Openings for Black. The
Sicilian, French, Caro-Kann and 1...e5; the QGD, Nimzo- and Bogo-Indian and King's Indian; the
English Attack decision; draw rates as the hidden variable. Outpost:
opening_compare.py. - Chapter 23 — Engine-Assisted Preparation. The
four-step method, reading engine output as a ranking with error bars, shallow-search horizons, and
must-know positions. Outpost:
prep.py. - Chapter 24 — Opponent Preparation. Scouting a
player from public games, testing stories instead of collecting them, predictability, the clock
as part of the profile, the ethics of preparation, and Anchor D. Outpost:
scout.py.
Appendix H — Opening Statistics Tables collects the opening tables by pool and rating band, with sample sizes.
Which track should read what
- ♟️ Improver. Chapter 19 in full, Chapter 20's method sections, and the sections of Chapters 21–22 on the openings you actually play. Plans over lines: the chapters show that club games leave the book very early, and Chapter 25 adds that only 15 of 3,342 Italian Game blitz games at 1550–1750 reached the textbook tabiya.
- 📊 Analyst. Chapter 20's intervals and forking-paths simulation, Chapter 21's four-pool comparison and selection effects (the Alapin is a good example), and Chapter 23's engine-versus-results analysis.
- 🏆 Competitor. This is your part. All six chapters; Chapters 23 and 24 are the most directly useful chapters in the book for tournament preparation.
- 💻 Developer. The six checkpoints. Chapter 20's repertoire tree and Chapter 24's scout are the modules most readers will run on their own games first.
Before you go on
Part IV ends with preparation for a single opponent — the point where chess knowledge meets competition. Part V widens that out to the whole competitive life of a player: how to study, how to review your games, how to prepare for and play a tournament, the psychology of the game, and the history that shaped the ideas you've been learning.
Chapters in This Part
- Chapter 19 — Opening Principles: Why Development, Center Control, and King Safety Matter More Than Memorized Lines
- Chapter 20 — Building an Opening Repertoire: Database Research, Engine Analysis, and Choosing Lines That Fit Your Style
- Chapter 21 — Essential Openings for White: 1.e4 Systems (Italian, Ruy Lopez, Scotch, Sicilian Anti-Systems) and 1.d4 Systems (Queen's Gambit, London, Catalan)
- Chapter 22 — Essential Openings for Black: Responses to 1.e4 (Sicilian, French, Caro-Kann, e5 Systems) and 1.d4 (Queen's Gambit Declined, Nimzo/Bogo-Indian, King's Indian)
- Chapter 23 — Engine-Assisted Preparation: Using Stockfish and Databases to Prepare Openings at Any Level
- Chapter 24 — Opponent Preparation: Analyzing a Specific Player's Games to Find Their Tendencies and Weaknesses