Chapter 33 Instructor Notes: Playing Style Analysis

Chapter text · Case study 1 · Case study 2 · Exercises · Quiz · Key takeaways

Chapter 33 is the book's lesson in measurement validity, and it is the chapter most likely to surprise students who arrive wanting a "style fingerprint". Dev's hook gives away the plot: his "sharpness meter" correlates with the champions' average centipawn loss at r = 0.97. "I didn't build a style meter. I built an error meter." The chapter then builds eight style features and puts every one through four questions — style or skill? a trait? era, opponents or openings? are the types real? — in three populations: 22 champions and elite players, 738 OTB players rated FIDE 2400+, and 801 anonymous Lichess blitz players. The results are consistent. There is a real aggressive ↔ solid direction, but it is tangled with era and skill. Players don't form types. Clock habits are the most reliable trait.

Teach it as a methods chapter with chess inside, not a chess chapter with methods attached. The four tests (null-model silhouette, seed stability, bootstrap over games, one-game classifier) and split-half reliability are tools students will use on every metric after this.

Learning objectives

By the end, students should be able to:

  1. Define style as consistent preference among near-equal options, after accounting for strength, circumstance and era, and name the four impostors (skill, circumstance, era, noise).
  2. Compute and interpret the eight style features (sharpness, material-giving, tension, king pressure, opposite castling, endgame reach, queens off by move 20, draws) plus the engine and clock features.
  3. Explain why sharpness measures error and why the skill-free only-move rate fails for a different reason.
  4. Run and read PCA and k-means on player profiles, and say what PC1 and PC2 capture and what else they track.
  5. Test clusters against permuted and Gaussian null models, with seed stability, bootstrap co-assignment and a classifier, and explain why stability is not reality.
  6. Compute split-half reliability (Spearman–Brown) and decide which features can describe individuals.
  7. Use style honestly in scouting (the clock), opening choice (what you score in, not what you like) and self-review (aggression vs accuracy).

Timing plan

75-minute session

Minutes Activity Notes
0–8 Hook: Dev's sharpness ranking Board demo below (Chigorin–Steinitz 25...Qxh4).
8–18 33.1–33.2 definition and features The impostor table; tension vs king pressure on two boards (Tal, Karpov).
18–28 33.3 sharpness is error r = 0.97; the only-move rate and Gukesh's recapture.
28–40 33.4 PCA PC1 47% (r 0.54 with year, −0.70 with ACPL); Kasparov's profile.
40–55 33.5 are the clusters real? Productive struggle first; data demo below.
55–65 33.6–33.7 reliability and club level Clock 0.87 / 0.75 vs material-giving 0.19; 3.86 vs 1.70 per 100.
65–72 33.8–33.9 Hikaru vs GothamChess; honest uses 63.2% from one game.
72–75 Exit ticket

3-hour block

Minutes Activity Notes
0–15 Hook and the definition Students list their own style label and how they would measure it.
15–40 33.2 features, hand-counted Pairs count tension on the Karpov–Pomar board (1 contact) and the Petrosian board.
40–60 33.3 Two positions: Steinitz's 25...Qxh4 and Gukesh's 36...Bxf2.
60–80 33.4 PCA biplot reading; Moiseev–Petrosian 14...Nfd7 at two depths.
80–90 Break
90–120 33.5 lab Run 02_champion_clusters.py output; students fill a "four tests" worksheet.
120–140 33.6–33.7 Reliability bars; club-level table.
140–160 Case Study 1 or 2 CS1: one game through the lens; CS2: the classifier.
160–180 33.9 and the debate (discussion guide Q9–Q12); exit ticket

Key numbers and games

Item Value as quoted Where
Sharpness ranking (40-game samples) Steinitz 3.08, Alekhine 2.35, Tal 2.34 … Carlsen 1.40 Hook; 33.2
Sharpness vs ACPL r = 0.97 (22 players); 0.86 per game; 0.91 across 738 OTB players; 0.79–0.88 per game in Lichess blitz bands 33.3; 33.6; 33.7
Ostrauskas–Tal, 1955 31...Bg2+ −7.96 (d20) vs 31...Nd3 −1.51; tension 4 → 7 33.2
Karpov–Pomar, Nice 1974 21.O-O-O +1.43, 21.O-O +1.36 (d20); tension 1; Karpov king pressure 0.48 (lowest of 22) 33.2
Chigorin–Steinitz, St Petersburg 1895/96 25...Qxh4?? −4.56 → +5.27 (d16), a 71.7 win-% swing; best 25...b4 −4.80 (d20); Steinitz lost 33.3
Only-move rate r = −0.08 with ACPL; split-half 0.05; Gukesh's top example is a queen recapture (36...Bxf2 −6.79 vs 36...c3 +7.50) 33.3
PCA (22 players) PC1 47% (aggressive ↔ solid), PC2 21% (endgame tendency); PC1 vs year r = 0.54, vs ACPL r = −0.70 33.4
Kasparov's profile Opposite castling +1.75, tension +1.48, material-giving +1.23, sharpness −0.50 (z) 33.4
Moiseev–Petrosian, 1950 14...Nfd7 a "deviation" at d16; at d20 MultiPV first (+0.29 vs 14...a4 +0.32); tension 2 vs 8 33.4
Tal–Vaganian, 1974 33.Kh2 and 33.Qxe2 both 0.00 (d20); complicating-deviation reliability 0.04 33.4
Silhouette vs nulls (k = 3) 0.219 vs permuted null 0.139 (p = 0.015); vs Gaussian null 0.231 (p = 0.58) 33.5
Seed stability / bootstrap Seed ARI 0.40; bootstrap ARI 0.32 [0.04–0.72]; 0 of 231 pairs together ≥ 90%; Tal–Steinitz 82%, Carlsen–Kramnik 72% 33.5
One-game classifier 22-way 5.7% vs 4.5% chance; Tal vs Petrosian 55.0%; Steinitz vs Carlsen 81.2% 33.5
Era-adjusted Silhouette 0.282 vs null 0.231 (p = 0.12) 33.5
OTB population 739 players, 28,752 player-games; split-half: time on five longest moves 0.87, opening time share 0.75, sharpness 0.64, material-giving 0.19 33.6
OTB skill links Sharpness r 0.91 with ACPL, −0.55 with rating; clock features |r| ≤ 0.18 33.6
OTB clusters Never beat the Gaussian null (p 0.675–0.925); k = 2 seed ARI 0.950 33.6
Lichess blitz bands Material-giving 3.86 (<1200) → 1.70 (2400+) per 100; sharpness 6.10 → 3.67; tension 4.79 → 5.21; time concentration 0.457 → 0.532 33.7
Lichess repeat players 801 players; material-giving reliability 0.70 but r 0.60 with ACPL; clusters 0.132 vs null 0.127 33.7
Hikaru vs GothamChess (Chess.com 3+0) Time on five longest 54.3% vs 50.1%; one-game classifier 63.2% (chance 50.2%); Hikaru 2014–19 vs 2020–26: 50.4% 33.8; Case Study 2
Yurtaev–Carlsen, Aeroflot Open 2004 13.Na5 +0.11 (d20) after White's queen trade; 28.Rb2 −0.64 vs 28.Rd1? −3.22 (d20) 33.4; Case Study 1

One caution if students compare chapters: the ACPL column in this chapter's 22-player table (for example Steinitz 39.97, Carlsen 13.07, Kasparov 14.15) differs slightly from Chapter 29's champions' table for the same fixed samples (38.0, 13.4, 14.4). The per-game values are identical; Chapter 33 averages the 40 per-game ACPLs (each game counts equally), while Chapter 29 pools all moves (total centipawns ÷ total moves, so long games weigh more) — the text under the table says so. Neither chapter ranks champions, and no conclusion depends on the difference, but expect the question.

Threshold concepts and likely misconceptions

Threshold concept (the chapter names it): style is a continuum, not a set of types. One dominant direction, partly stable positions along it, and cluster boundaries that are artefacts of the algorithm. After this, every "four types of chess player" chart looks different.

Second threshold: a measure must be both valid and reliable. Sharpness is reliable (0.83) but invalid as style (it measures error); the only-move rate is skill-free but unreliable (0.05). Students need both questions every time.

Misconceptions to expect:

  • "Big evaluation swings mean a sharp style." They mean somebody erred. Two perfect players produce almost no swings even in a wild game.
  • "Steinitz was the most aggressive champion." The father of positional chess tops the sharpness table because of moves like 25...Qxh4 and his opponents' errors.
  • "k-means found three groups, so there are three styles." k-means always returns k groups; the real data never beats a Gaussian null.
  • "The clusters are stable across seeds, so they're real." A stretched cloud is cut in the same place every time (k = 2 OTB seed ARI 0.950).
  • "Tal and Petrosian are easy to tell apart." From one game, 55.0% against a coin's 50%.
  • "Forty games is enough to profile a player." Only clock features clear 0.7 at forty games; material-giving is 0.19.
  • "I'm an aggressive player." At club level, material-giving is mostly hanging pieces (3.86 per 100 below 1200).
  • "Stronger players avoid tension." Tension rises with rating; stronger players can calculate the contacts.
  • "An engine deviation shows style." Petrosian's 14...Nfd7 was a deviation at depth 16 and the engine's first choice at depth 20.
  • "A composite player has a style." Composites average many players and sit near the centre (Dev's mean |z| 0.26 against 0.74 for a median real player).

How the four tracks use this chapter

  • ♟️ Improver: 33.1–33.4 and 33.9: which famous style claims hold, why "aggressive" can hide an accuracy problem, and honest uses of style. Exercises A1–A3, B1–B7, D1, D4.
  • 📊 Analyst: 33.3, 33.5, 33.6 and both case studies. This is the methods core of Part VI. Exercises A5–A7, A9, C1, C2, C4, C6, E1, E2.
  • 🏆 Competitor: 33.9's scouting advice — record an opponent's opening time share and time concentration, not a label; Case Study 2 on clock fingerprints. Exercises D2, M2, M4.
  • 💻 Developer: The Project Checkpoint, style.py: tension, king_pressure, game_features, eval_features, engine_choice_features, time_features, player_profiles, fit_style_space, silhouette_vs_null, seed_stability, bootstrap_coassignment, split_half_reliability, classify_players, describe_profile. Exercises A4, A8, C3, C5, C7, E3.

Running the code

Script What it shows Notes
code/01_champion_features.py Per-game features for the 22 players' fixed 40-game samples (SF19 d16 + d12 MultiPV 2) → champion_games.csv About 40 s with a warm engine cache; about 6.6 minutes cold
code/02_champion_clusters.py PCA, k-means, nulls, seed stability, bootstrap, era adjustment, classifiers About 3.5 minutes (null simulations)
code/03_otb_population.py 739 OTB players → otb_player_games.parquet About 10 minutes (about 25,000 game replays); the parquet is provided, so run it only to reproduce
code/04_lichess_style.py Lichess bands and 801 repeat players → lichess_player_games.parquet About 8 minutes; parquet provided
code/05_chesscom_fingerprint.py Hikaru vs GothamChess About 30 s
code/06_style_positions.py Rule-picked boards, d20 MultiPV 2 checks About 35 s
case_study_01.py, project_checkpoint.py Yurtaev–Carlsen analysis; style.py demo on Dev's composite About 25 s and 15 s

Expect 11 board diagrams (7 in the text) and 10 charts. For class, use the saved data files (champion_games.csv 0.18 MB, the two parquets) and skip scripts 03 and 04. Privacy notes for anyone extending the code: Lichess players appear only in aggregate (the parquet uses a factorised index, never hashes), and the Chess.com archive rows contain amateur opponents' usernames in the PGN and player columns. Never print them.

In-class demos

Board demo

Project Chigorin–Steinitz, St Petersburg 1895/96, before Black's 25th move (the 33.3 diagram). Tell the class: "Black is winning. Stockfish says −4.56. This is the most famous positional theorist in chess history." Ask for Black's move. Then reveal what Steinitz played: 25...Qxh4??, giving the queen for a knight, and the swing to +5.27 — 71.7 win-% points on one ply. Stockfish 19 at depth 20 wanted 25...b4 (−4.80) or 25...Bh3 (−3.93). Steinitz lost. Now ask: "Our 'sharpness' feature averages these swings. Which champion did it rank as the sharpest?" Let them say Steinitz, and draw the lesson: the feature counts mistakes, not choices.

Data demo

Run the productive struggle from 33.5 for real. Show Figure 1 (22 players, three coloured clusters) and ask each student to predict: (a) how often Tal and Steinitz stay together when each player's 40 games are resampled, (b) how often Carlsen and Kramnik do, (c) whether the silhouette beats a random cloud with the same correlations. Then project the outputs of 02_champion_clusters.py: Tal–Steinitz 82%, Carlsen–Kramnik 72%, no pair at 90%, bootstrap ARI 0.32, silhouette 0.219 vs Gaussian null 0.231 (p = 0.58). Finish with the classifier: Tal vs Petrosian from one game, 55.0%. Ask: "What, then, is the most famous style contrast in chess?"

Exercise guidance

  • Part A: everyone. A3 (why sharpness measures errors), A5 (permuted vs Gaussian null) and A7 (true or false: seed stability shows clusters are real — false) are the core checks.
  • Part B: each position is a style feature on a real board.
  • B1 (Ostrauskas–Tal, 31...Bg2+ −7.96) is a combination in a won position. Ask whether it shows "aggression".
  • B2 (Chigorin–Steinitz) is the blunder behind the sharpness ranking.
  • B3 (Moiseev–Petrosian, 14...Nfd7) and B6 (Karpov–Pomar, 21.O-O-O +1.43 / 21.O-O +1.36) are tension and planning boards.
  • B4 (Yurtaev–Carlsen, 28.Rb2 −0.64 vs 28.Rd1 −3.22): most of the game's sharpness is White's error.
  • B5 (Tal–Vaganian, both moves 0.00) is the thinnest "risk" signal in chess history.
  • Part C: C3 (an aggression feature that counts only engine-sound sacrifices) and C7 (who_traded_queens) fix two flaws the chapter names; C6 (classify OTB players) tests fingerprints in a single era.
  • Part D: D1 (the coach who tells a 1300 to play the King's Gambit) and D2 (Grace's 25-game "positional player" file) are the best short essays.
  • Part M: M1 (Chapter 11's sound-sacrifice share) and M2 (time concentration and Chapter 13's blunder curve).
  • Part E: E1 (a style instrument with six features that each clear 0.7 reliability and |r| < 0.3 with ACPL) is a strong term project.

Assessment ideas

  1. Validate a feature. Students propose one new style feature, compute it on champion_games.csv or the OTB parquet, and report: correlation with ACPL and rating, split-half reliability, and whether it changes the null-model result. Grade on the honesty of the conclusion.
  2. Critique a chart. Give students a "five types of chess player" infographic, real or invented by you. They write the three questions from the 33.5 pitfall box and say what evidence would be needed.
  3. Short answer. "Why does seed stability of 0.950 not show that two OTB style groups exist?" A strong answer explains stretched-cloud cuts and the Gaussian null comparison.
  4. Quiz. The chapter quiz (20 questions: multiple choice, true/false, short answer, one position) fits a 25-minute slot.
  5. Developer milestone. style.py run on the student's own 100+ games, with describe_profile, the reliability of each feature at that sample size, and a paragraph on which features may describe the student and which only describe the games.