56 min read

Thursday night, the library's back room. Grace has her phone out before she has her coat off.

Chapter 32 — Engine Analysis at Scale: Average Centipawn Loss, Accuracy, and Measuring Chess Performance Objectively

Thursday night, the library's back room. Grace has her phone out before she has her coat off.

Grace: Someone at the open last weekend said that if your opponent's accuracy is over 97, you should report them to the arbiter.

Dev: That's a thing people say online all the time.

Sam: We used to say a player was "booked up". Now we say they're "accurate". Same suspicion, more decimals.

Grace: So is it true? Is 97 suspicious?

That is an empirical question, and the book's data can answer it. Take every over-the-board classical game in our broadcast database — real tournament games, played with arbiters in the room, relayed live on Lichess with an engine evaluation after every move — and score each player's moves with the book's accuracy formula. Keep only player-games of at least 30 moves, so that short draws don't flatter anyone.

== A. High accuracy is not rare: OTB classical player-games (relay evals, indicative) ==
     band  player_games  median_acc acc_ge_97 acc_ge_98 acpl_le_10 zero_blunders
1400-1599         21880        91.6      2.5%      0.5%       1.9%         24.5%
1600-1799         43754        92.1      4.0%      0.9%       3.4%         31.4%
1800-1999         63652        92.8      5.5%      1.3%       5.6%         37.5%
2000-2199         66367        93.5      8.6%      2.3%       9.4%         44.1%
2200-2399         62274        94.4     14.1%      4.3%      15.9%         52.6%
    2400+         42802        95.7     25.9%     10.1%      28.8%         64.6%
  1800-1999: 3,527 of 63,652 player-games (>= 30 moves) reached >= 97
  2000-2199: 5,706 of 66,367 player-games (>= 30 moves) reached >= 97

Among FIDE 2000–2199 players — Grace's next opponents — 5,706 player-games out of 66,367 (8.6%) reached a book accuracy of 97 or more. At FIDE 1800–1999 it was 3,527 (5.5%). One game in eleven or twelve, from ordinary players, under tournament conditions. A rule that flags every 97 at that level would accuse somebody in almost every round of a big open.

So 97 is not evidence. But that raises a harder question, and it is the subject of this chapter: if a single accuracy number cannot tell a cheat from a good day, what can these numbers tell us at all? They were produced by an engine, at some depth, from evaluations that a different engine or a deeper search would have set differently, through a formula that weighs a 300-centipawn loss very differently depending on the score. Before we use ACPL and accuracy to measure players — ourselves, our students, the world champions in Chapter 29, the playing styles of Chapter 33 — we need to know how they behave as measurements: how much two engines agree, how much depth changes them, what they are blind to, and what it costs to compute them for thousands of games.

Chapter 26 used these numbers on one game at a time and showed why a single game's ACPL is mostly noise. This chapter is the methodological companion: many games, two sources of evaluations, five depths, and the statistics that tell you which differences are real.

♟️ Improver Track: Read 32.1–32.3 and 32.6 closely: what a centipawn loss and an accuracy score actually measure, why a missed win and a blunder can cost the same, and why your ACPL depends on your opponent. Skim the code; the chess arguments are all in the prose and diagrams.

📊 Analyst Track: The agreement study (32.4), the depth study (32.5) and the difficulty model (32.6) are the core. Bring your statistics: correlation, Bland–Altman limits, Cohen's kappa, z-scores (Appendix E).

💻 Developer Track: 32.8 and the Project Checkpoint: batch analysis with engine.analyse_games_parallel, the evaluation cache, multi-PV batches, a cost model, and the new outpost/accuracy.py module.


32.1 Measuring a Move: Centipawns, Win Percentage, Accuracy

Every metric in this chapter starts from the same raw material: an engine evaluation of the position before a move and of the position after it. Everything else is a choice about how to turn two numbers into a judgement about the move.

📐 Definition — centipawn loss (CPL) and ACPL: for one move, CPL = max(0, eval_before − eval_after) from the mover's point of view, both evaluations clipped at ±1000 centipawns (a forced mate counts as ±1000). ACPL is the mean CPL over a player's moves — in one game, or pooled over many. Lower is better; 0 means every move kept the engine's evaluation.

📐 Definition — win percentage (Lichess model): win% = 50 + 50·(2/(1 + e^(−0.00368208·cp)) − 1), with cp clipped at ±1000, from the mover's view. An evaluation of 0 is 50%; +1.00 is 59.1%; +3.00 is 75.1%.

📐 Definition — move accuracy and book game accuracy: with Δ = the mover's win-% drop, move accuracy = 103.1668·e^(−0.04354·Δ) − 3.1669, clipped to 0–100. The book's game accuracy is the arithmetic mean of a player's move accuracies. Lichess's displayed accuracy uses the same per-move formula but averages with volatility weighting and a harmonic mean, so it runs lower than ours; Chess.com's "Accuracy" (CAPS) is a proprietary model. Numbers from different definitions are not comparable.

📐 Definition — inaccuracy / mistake / blunder: a move whose win-% drop is at least 5 / 10 / 15 points (the Lichess convention, used throughout the book). The older centipawn rule — 50 / 100 / 300 cp — appears in many tools and in this chapter only, for comparison.

These definitions live in toolkit/chessdata.py, and every number in the book is computed by those functions. They were introduced in Chapter 1 (the win-% curve) and used for single-game reviews in Chapter 26. What this section adds is a feel for how they transform a loss.

One loss, many prices

Take the same centipawn loss and charge it in four different positions:

for before in (0, 200, 500, -300):
    for loss in (50, 100, 200, 300):
        wb, wa = chessdata.win_pct(before), chessdata.win_pct(before - loss)
        print(before, loss, wb - wa, chessdata.move_accuracy(wb, wa),
              chessdata.classify_move(wb - wa), chessdata.classify_move_cp(loss))
eval_before  cpl  wp_before  wp_after  wp_drop  move_accuracy book_label   cp_label
      +0.00   50       50.0      45.4      4.6           81.3         ok inaccuracy
      +0.00  100       50.0      40.9      9.1           66.2 inaccuracy    mistake
      +0.00  200       50.0      32.4     17.6           44.7    blunder    mistake
      +0.00  300       50.0      24.9     25.1           31.4    blunder    blunder
      +2.00   50       67.6      63.5      4.2           82.9         ok inaccuracy
      +2.00  100       67.6      59.1      8.5           68.0 inaccuracy    mistake
      +2.00  200       67.6      50.0     17.6           44.7    blunder    mistake
      +2.00  300       67.6      40.9     26.7           29.1    blunder    blunder
      +5.00   50       86.3      84.0      2.3           90.1         ok inaccuracy
      +5.00  100       86.3      81.3      5.0           80.0         ok    mistake
      +5.00  200       86.3      75.1     11.2           60.2    mistake    mistake
      +5.00  300       86.3      67.6     18.7           42.6    blunder    blunder
      -3.00   50       24.9      21.6      3.3           86.3         ok inaccuracy
      -3.00  100       24.9      18.7      6.2           75.5 inaccuracy    mistake
      -3.00  200       24.9      13.7     11.2           60.2    mistake    mistake
      -3.00  300       24.9       9.9     15.0           50.5    mistake    blunder

Read across one row at a time. In a level position, losing two pawns' worth (200 cp) drops your winning chances by 17.6 points — a blunder by the book's rule but only a "mistake" by the centipawn rule. Five pawns up, the same 200 cp costs 11.2 points: a mistake. Three pawns down, 300 cp costs 15.0 points — a mistake on the win-% scale but a blunder on the centipawn scale. CPL counts material-equivalents; the win-% family counts consequences.

From centipawns to accuracy

📊 Figure (described): Left: the Lichess win-% curve, steep near 0 and flat beyond about ±5 pawns, with the four starting evaluations marked. Right: the move accuracy a move earns as a function of the centipawns it loses, for each starting evaluation. In a level position (black) or at +2.00 (green), 100 cp costs about a third of the accuracy; at +5.00 (purple) or −3.00 (orange) the curves sit higher — the same loss is cheaper when the game is already decided.

🔍 Why this works: The win-% curve is a logistic function, the same shape as the Elo expected-score curve in Chapter 30. Lichess uses it to turn an evaluation into an expected result. Near equality each pawn of advantage moves the result a lot; once you are a rook up, another pawn barely changes the outcome. A metric built on win % therefore treats "I was winning and now I am still winning" as nearly harmless, and "I was level and now I am lost" as catastrophic — which is how a practical player thinks. CPL treats both as the same number of pawns.

Where the two labelling rules disagree in real games

Is the difference academic? We scored 2,000 randomly chosen server-analysed Lichess blitz games (135,856 moves) with both rules:

rows = centipawn rule (50/100/300), columns = book win-% rule (5/10/15)
classification     ok  inaccuracy  mistake  blunder
cp_label                                           
ok              99136           0        0        0
inaccuracy       6986        6913        0        0
mistake          3306        4097     4614     3383
blunder            60         599      473     6289
cp-blunders (>= 300 cp): 7,421; of these book-blunders 84.7%; labelled ok/inaccuracy by win-% 8.9%
  cp-blunders made when the mover was already >= +5.00: 24.9%; <= -5.00: 6.8%
book blunders (>= 15 win-%): 9,672; of these under 300 cp: 35.0%; median cpl 376
moves per game 67.9; share of all centipawns lost in moves made at |eval before| > 3.00: 47.8%

The rules agree that 99,136 moves were fine and that 6,289 were blunders. They disagree about the rest in two systematic directions. A quarter (24.9%) of the centipawn "blunders" were made by a player who was already at least five pawns up: moves that gave back a chunk of a huge advantage. And 35.0% of the win-% blunders lost less than 300 centipawns — the 150-to-300 cp losses that turn an equal game into a lost one. Most striking is the last line: 47.8% of all centipawns lost in these games were lost in positions that were already decided (mover more than three pawns up or down). ACPL spends half its weight on moves that rarely change a result.

⚠️ Common pitfall: Reading an ACPL number without asking how the tool clips evaluations. The book clips at ±1000. A tool that clips at ±2000, or not at all, will report much larger ACPL for the same games — mostly from moves in decided positions — and a tool that ignores mates will report smaller ones. Before you compare your ACPL with anyone's table, find out the clip, the engine and the depth.

🔄 Check your understanding 1. Why can a move that loses 300 centipawns be only an "inaccuracy" by the book's rule? 2. In the 2,000 blitz games, what share of all centipawns was lost in positions that were already decided, and what does that imply about ACPL?

Answer

  1. Because the book's labels use the drop in win %, and near the edges of the win-% curve a large evaluation change moves the expected result very little: from +9.05 to +5.97 is a drop from about 97% to 90%.
  2. 47.8%. Nearly half of what ACPL measures comes from moves that rarely change the result, so ACPL is sensitive to how long decided games go on — and to how a tool clips evaluations.

32.2 One Game, Two Engines: Anchor B Revisited

Before we go to scale, let us watch the machinery work on one game you already know. Anchor B (from Chapter 11, reviewed in Chapter 26) is a real Lichess rapid game between two anonymous players, both rated 1613, a London System. At move 10 White castled. The engine's move was a knight sacrifice.

Anchor B before White's move 10

♟️ Position: White Ke1, Qd1, Ra1, Rh1, Bf4, Nd2, Ne5, a2, b2, c2, f2, g2, h2, e3; Black Ke8, Qd8, Ra8, Rh8, Bc5, Bc8, Nb8, e4, a6, e6, b7, f7, g7, h7 — White to move. FEN: rnbqk2r/1p3ppp/p3p3/2b1N3/4pB2/4P3/PPPN1PPP/R2QK2R w KQkq - 0 10

🤖 Engine check: Stockfish 19 gives the position +6.18 at depth 18 (and +6.09 at depth 24) with 10.Nxf7 Kxf7 11.Qh5+ Kg8 12.Qxc5 Nc6: the knight takes f7, the king must take it back, and the queen check on h5 also hits the loose bishop on c5, so White regains the piece with a ruined Black position. After the move played, 10.O-O, the evaluation is +1.78 (d18) / +1.68 (d24). In human terms: Black's king is still in the centre, Black's queenside has not moved, and the c5-bishop is undefended — three preconditions that make the sacrifice work. Castling is a good move in general and the wrong move here.

Now the measurement. The game carries Lichess's own server evaluations (someone requested the analysis), so we can score it twice: once from those stored evaluations and once from our own Stockfish 19 run at depth 16.

st = acc.stored_moves(movetext, max_ply=None)            # from the [%eval] comments
sf = engine.analyse_game(pgn, depth=16)                  # our run (cached)
-- Lichess server evals
       moves  acpl  accuracy  inacc  mistakes  blunders
side                                                   
black     35  92.8      86.3      1         1         4
white     36  69.2      88.7      1         0         4
-- Stockfish 19 d16
       moves  acpl  accuracy  inacc  mistakes  blunders
side                                                   
black     35  87.6      86.9      2         0         4
white     36  70.5      88.9      1         0         4
10.O-O (ply 19): stored +6.28 -> +1.69, cpl 459, win-% drop 25.9, accuracy 30.2, blunder
               SF19 d16 +6.12 -> +1.51, cpl 461, win-% drop 26.9, accuracy 28.8, blunder; best Nxf7
White ACPL d16 70.5; without 10.O-O 59.4; 10.O-O alone = 18.2% of White's centipawns lost
White ACPL alive moves only (|eval| <= 3.00): 11.8 on 12 of 36 moves

Three things stand out.

The two sources agree closely here. White's ACPL is 69.2 from the server evaluations and 70.5 from ours; accuracy 88.7 versus 88.9; the same four blunders. Black's ACPL differs by five centipawns. This is one game; section 32.4 asks whether the agreement holds across eighty.

Missing a win is charged like a blunder. 10.O-O lost 459–461 centipawns and 26–27 win-% points. No piece was hung and nothing was "blundered" in the everyday sense — White simply didn't find a sacrifice. The metrics cannot tell the difference between walking into a fork and not seeing a combination. Both are the gap between the move played and the best move. That single move is 18.2% of all the centipawns White lost in the game; remove it and White's ACPL drops from 70.5 to 59.4.

Most of White's centipawns were lost in decided positions. On the 12 moves White made while the game was still "alive" (the mover's evaluation within ±3.00 — the convention Chapter 26 introduced), White's ACPL was 11.8. The other 24 moves were made with an advantage of more than three pawns, and that is where the rest of the 70.5 came from. Here are two of them.

A 300-centipawn move that the win-% rule calls an inaccuracy

♟️ Position: White Kg1, Ne5, b2, f2, g2, h2, a3, c3, e3; Black Kc2, a4, e4, f7, g7, h7 — White to move. FEN: 8/5ppp/8/4N3/p3p3/P1P1P3/1Pk2PPP/6K1 w - - 1 29

White played 29.f3, letting Black's king take on b2; Stockfish 19 at depth 16 preferred 29.c4. The evaluation went from +9.05 to +5.97 — a loss of 308 centipawns, a "blunder" by the centipawn rule. But White's winning chances went from about 97% to about 90%, a drop of 6.5 points: an inaccuracy by the book's rule. White was winning before and still winning after.

The endgame moment where the win slipped

♟️ Position: White Kg1, Ne5, g2, h2, c3, e3, e4; Black Ka3, a4, f7, g7, h7 — White to move. FEN: 8/5ppp/8/4N3/p3P3/k1P1P3/6PP/6K1 w - - 0 31

Two moves later the opposite happened. With 31.Kf2 White let the a-pawn advance; Stockfish 19 plays 31.Nd3, heading for the c5 square to stop the pawn.

🤖 Engine check: Before 31.Kf2, +5.92 (d18) / +5.95 (d24) with 31.Nd3 Kb3 32.Nc5+ Kxc3 33.Nxa4+. After 31.Kf2, 0.00 at both depths (31...Kb3 32.c4 a3 33.Nd3 Kxc4): the a-pawn ties the knight to the queenside while Black's king eats White's queenside pawns, and the king on f2 is too far away to help. One quiet king move cost 561 centipawns and 38.8 win-% points — a true blunder by either rule. The game went 31...Kb3 32.Ke2 a3 33.Nd3 a2? and the evaluation jumped back to +6.30 (d18): 33...Kxc3 kept the draw (0.00), but after 33...a2 34.Nc1+ the knight wins the a-pawn. White won.

Same game, same player, two big centipawn losses: one cost an inaccuracy's worth of winning chances, the other a whole half-point. ACPL weighs them 308 versus 561. The win-% scale weighs them 6.5 versus 38.8. That is the argument for win-% metrics in one picture — and the reason the book reports both.

🔄 Check your understanding 1. A player is +0.50 and plays a move that leaves them at −1.50. Another is +7.00 and goes to +5.00. Both lost 200 centipawns. Which move is labelled worse by the book's rule, and why? 2. In Anchor B, White's ACPL on alive moves was 11.8 but 70.5 on all moves. What does that tell you about where to look in a review?

Answer

  1. The first. From +0.50 to −1.50 crosses the steep middle of the win-% curve (about 54.6% → 36.5%, a drop of roughly 18 points: a blunder). From +7.00 to +5.00 moves along the flat top of the curve (about 92.9% → 86.3%, about 7 points: an inaccuracy). The centipawn loss is identical; the consequence is not.
  2. That White's play while the result was still open was good, and the large number comes from a missed win (10.O-O) and from moves made with a big advantage. Look at the handful of moves where the game was alive and the evaluation swung — not at the total.

32.3 The Population View: What ACPL Looks Like Across Players

One game shows the mechanism. A population shows the shape. The book's data carries stored evaluations for 416,869 server-analysed Lichess games and about 324,000 over-the-board broadcast games — hundreds of thousands of player-games that cost us nothing to score. The reference tables (computed by the book's own scripts with the book's standard definitions) give the averages by the player's own rating band:

Pool, speed (analysed games) ≈1000 ≈1500 ≈2000 ≈2500
Lichess blitz 85.7 69.3 56.9 43.6
Lichess rapid 89.0 68.2 52.6 32.8
OTB classical, FIDE (relay evals, indicative) 49.3 40.5 28.5 16.6

Mean ACPL at a rating point (own rating within ±50). Lichess ratings are Glicko-2, OTB ratings are FIDE — different scales; the OTB row uses relay engines of varying depth, so it is indicative.

ACPL falls steadily with rating in every pool. But look at the gaps. A Lichess blitz player at ≈2500 still averages 43.6 centipawns per move — more than a FIDE 1500 over the board (40.5). That is not because the blitz master is weaker. It is because the clock is part of the measurement: the same players lose more centipawns with less time. Hold the band fixed at Lichess 1600–1799 and vary only the speed:

Lichess 1600–1799, analysed games bullet blitz rapid classical
ACPL (mean) 73.1 64.8 62.4 58.4
Blunders per 100 moves 7.88 7.05 6.68 6.17

And the phase of the game changes it again. For Lichess blitz players at 1600–1799 the reference table gives ACPL 33.4 in the opening, 86.9 in the middlegame and 64.7 in the endgame (book phase definitions); for OTB classical players at FIDE 2000–2199, 9.8 / 31.0 / 34.1. Opening moves are cheap because they are mostly known; the middlegame is where centipawns go.

⚠️ Common pitfall: Comparing your ACPL with a number from a different pool, speed or phase mix. "My ACPL was 40 — that's master level" means nothing unless you know it was the same engine, depth, clip, speed and pool. A blitz game measured against an OTB classical table will always look terrible; a short game that ended in the opening will always look brilliant.

The spread inside one band

Averages hide the most important fact about single-game ACPL: its spread. Chapter 26 measured this for rapid games; here are blitz and OTB classical side by side.

-- Lichess blitz (own Lichess band)
             count   10%   25%   50%    75%    90%
1200-1399  49805.0  29.1  46.8  69.0   96.3  126.8
1600-1799  62295.0  25.6  40.6  60.0   83.0  108.8
2000-2199  39923.0  20.7  33.5  50.8   70.0   91.0
2400+      17211.0  15.6  25.4  39.6   55.5   72.8
-- OTB classical (own FIDE band)
1600-1799  56156.0  13.4  21.2  33.5  45.8  58.4
2000-2199  82374.0   9.0  14.4  24.1  36.0  46.8
2400+      53177.0   4.8   8.0  13.3  22.1  33.0
Lichess blitz: share of 1200-1399 player-games with ACPL below the 2000-2199 median (50.8): 29.0%
               share of 2000-2199 player-games with ACPL above the 1200-1399 median (69.0): 26.0%

Single-game ACPL by band

📊 Figure (described): Box plots of single-game ACPL by the player's own band — Lichess blitz on the left, OTB classical on the right — with boxes for the middle half and whiskers from the 10th to the 90th percentile. The medians fall steadily with rating, but every box overlaps its neighbours, and in blitz the 1200–1399 box overlaps the 2000–2199 box.

In blitz, 29.0% of the games played by 1200–1399 players have a lower ACPL than the median game of a 2000–2199 player. A single game's ACPL is a draw from a wide distribution; the band shifts the distribution, it doesn't pin the game. (Chapter 26 turned this into a sample-size rule: you need dozens of games before an average ACPL separates neighbouring bands.)

The world champions — with every caveat attached

The same tools applied to history produce a tempting table. The book's reference run analysed 40 games for each of 18 world champions with Stockfish 19 at depth 16, scoring only moves 10–40. Across all 719 sampled games the champions' ACPL is 20.4 and their opponents' 25.9. The lowest in the sample are Carlsen 13.4, Kasparov 14.4 and Ding 15.0; the highest Alekhine 24.7, Tal 24.9 and Steinitz 38.0; across the eighteen champions, ACPL and the median year of the games correlate at r = −0.70.

Do not rank champions from this. Most neighbouring confidence intervals overlap (Carlsen's interval is 10.8–16.3; Ding's 12.3–17.9; Kramnik's 12.2–20.9). Depth 16 is shallow for judging deep sacrifices. The collections are curated and old scores contain transcription errors that show up as "blunders". And — the subject of section 32.6 — ACPL depends on the positions and the opponents. A champion who played sharp attacking chess against weaker opposition in the 1890s and one who played technical games against well-prepared grandmasters in the 2020s are not being measured on the same test. Chapter 29 does the historical analysis properly; here the point is methodological: a metric is only comparable across groups when the groups faced comparable positions.

📋 Try it — Database research: Using game_features (or the per-speed tables above), find the Lichess blitz band whose median ACPL is closest to the OTB classical median of FIDE 1600–1799 players (33.5). What does the answer tell you about comparing online and over-the-board ACPL?

Answer

None of the Lichess blitz bands gets there: even 2400+ has a median of 39.6. Over-the-board classical games at FIDE 1600–1799 produce lower ACPL than the strongest online blitz players in our sample. The comparison is between different time controls, different rating scales and different evaluation sources (server analysis vs relay engines) — the numbers are not on one scale, and no conversion from one to the other should be read off such a table.

🔄 Check your understanding 1. A Lichess blitz player rated 2400 averages ACPL 43.6; a FIDE 1500 over the board averages 40.5. Is the online master weaker? 2. Why should the champions' ACPL table never be read as a ranking?

Answer

  1. No. The pools, the time controls and the evaluation sources all differ; faster games produce more centipawn loss for the same player (1600–1799 Lichess players: 73.1 in bullet, 58.4 in classical).
  2. The intervals of neighbouring champions overlap, the depth is shallow, the collections are curated, and ACPL depends on the opponents and positions each champion faced — which differ enormously across eras.

32.4 The Agreement Study: Do Two Engines Score the Same Games the Same Way?

Here is the chess question behind this section. Your Lichess game comes with Lichess's evaluations; your coach runs it through her own Stockfish; a commentator quotes the relay bar from a broadcast. When the three numbers disagree, which is "your accuracy"? And can you compare your ACPL with a table built from a different source?

The book uses two kinds of stored evaluations. Lichess server analysis is produced on request by Lichess's distributed analysis network (volunteer machines running Stockfish with a fixed search budget per position; the exact version and budget are Lichess's choice and have changed over time). Broadcast relay evaluations come from Lichess's cloud and relay engines at varying depth. Neither states a depth in the PGN. Our own runs are Stockfish 19 at a fixed, stated depth, through the toolkit's cache. The question is empirical: on the same moves, how close are they?

The design

📐 Definition — agreement study: a comparison of two measurements of the same objects (here: the same moves in the same games) to estimate how interchangeable they are. We report correlation (do the sources rank things the same way?), bias (the average difference), Bland–Altman limits of agreement (the range that contains 95% of the individual differences: bias ± 1.96 × SD of the differences), and Cohen's kappa for labels (agreement beyond what chance would produce; 0 = chance, 1 = perfect).

The sample is fixed and stratified, so you can rerun it:

  • 64 Lichess games with server analysis: blitz and rapid, four bands of the players' average rating (<1200, 1400–1599, 1800–1999, 2200+), 8 games per speed × band, balanced pairings (|difference| ≤ 100), 40–200 plies, no bots; drawn with random_state=2026 from 219,383 eligible games.
  • 16 OTB classical broadcast games with relay evaluations, both players FIDE 1800–2599, from 137,930 eligible games.
  • The window: plies 1–80 (moves 1–40) in both sources, so we compare exactly the same moves.
games = pick_samples()                                     # stratified, seed 2026
stored = [acc.stored_moves(r.movetext, max_ply=80) for r in games.itertuples()]
pgns = [acc.truncated_pgn(sans, 80) for sans in game_sans]
sf = acc.analyse_batch(pgns, depth=16, workers=3)          # engine.analyse_games_parallel + context

The first, uncached run took 730 seconds on three worker processes for 5,335 positions; every rerun reads the cache and takes about a minute. (Section 32.8 turns those numbers into a cost model.)

Result 1 — position evaluations

== 1. Position evals (eval AFTER each move, White POV, clipped +/-1000) ==
   source  positions     r  median_abs_diff_cp within_25cp within_50cp over_200cp  median_abs_diff_level  median_abs_diff_winpct within_5_winpct
broadcast       1157 0.969                11.0       75.5%       83.8%       1.0%                    9.0                    0.98           88.9%
  lichess       4167 0.993                12.0       71.1%       84.4%       1.8%                    9.0                    0.74           93.7%

Position by position, the sources agree well. Against Lichess server evaluations our depth-16 numbers correlate at 0.993, with a median absolute difference of 12 centipawns; 84.4% of positions are within half a pawn and only 1.8% differ by more than two pawns. In win-% terms, which is what the accuracy formula sees, 93.7% of positions are within 5 points. The broadcast relay evaluations agree slightly less well (r = 0.969; 88.9% within 5 win-% points) — unsurprising for evaluations of varying depth.

Result 2 — labels

-- lichess: rows = stored evals, columns = Stockfish 19 d16
classification_sf    ok  inaccuracy  mistake  blunder   All
classification_st                                          
ok                 3195          97        3        0  3295
inaccuracy           84         253       55        5   397
mistake               2          26      105       29   162
blunder               2           0       23      288   313
All                3283         376      186      322  4167
   blunders: stored 313, SF19 322, both 288; kappa(blunder yes/no) = 0.90; kappa(4 classes) = 0.78
   mistakes+blunders: stored 475, SF19 508, both 445, kappa = 0.89
-- broadcast: (same layout)
   blunders: stored 16, SF19 15, both 11; kappa(blunder yes/no) = 0.71; kappa(4 classes) = 0.58
   mistakes+blunders: stored 35, SF19 35, both 24, kappa = 0.68

On Lichess games the two sources found 313 and 322 blunders and agreed on 288 — a kappa of 0.90, excellent agreement by any convention. Nearly all disagreements sit on a boundary: a move one source calls a mistake and the other a blunder, or an inaccuracy against "ok". Almost nothing jumps two categories (two stored "blunders" are "ok" at depth 16, and no stored "ok" is a depth-16 blunder). The broadcast games have few errors to begin with — strong players, classical time controls — so the same handful of boundary cases weighs more: kappa 0.71 for blunders.

Result 3 — the numbers players actually see

== 3. Player-game ACPL and book accuracy (same moves, same window) ==
   source     metric  player_games  stored_mean  sf19_mean     r   rho  bias           loa  mean_abs_diff
broadcast       ACPL            32         20.0       21.5 0.894 0.891   1.6 [-10.1, 13.2]            4.5
broadcast   accuracy            32         94.0       93.9 0.926 0.939  -0.1   [-2.2, 2.1]            0.8
broadcast ACPL alive            32         18.1       18.9 0.925 0.913   0.8   [-8.4, 9.9]            3.4
  lichess       ACPL           128         69.9       73.1 0.964 0.965   3.2 [-16.9, 23.4]            7.2
  lichess   accuracy           128         86.9       86.7 0.981 0.977  -0.2   [-2.3, 2.0]            0.8
  lichess ACPL alive           128         60.8       64.4 0.970 0.972   3.6 [-17.5, 24.7]            6.9
band ranks (stored, SF19): {'acpl_st': [3, 2, 1, 4], 'acpl_sf': [3, 2, 1, 4]}
player-games with |ACPL difference| >= 10 cp: 15.6%; >= 20 cp: 7.5%

Agreement between stored evaluations and Stockfish 19

📊 Figure (described): Left: each player-game's ACPL from the stored evaluations (x) against our Stockfish 19 depth-16 ACPL (y), Lichess in blue and broadcast in orange; the points hug the diagonal. Right: the Bland–Altman plot — the difference (ours minus stored) against the mean of the two — with the bias (+2.9 overall) and the 95% limits (about −16 to +22). The spread of differences grows with the ACPL level: games with many large losses disagree more in absolute terms.

Read this table twice, because it is the chapter's most practical result.

Accuracy is far more stable than ACPL. Book accuracy from the two sources differs by 0.8 points on average, with 95% of player-games within about ±2.2 points. ACPL differs by 7.2 centipawns on average on Lichess games, with limits of −16.9 to +23.4, and 15.6% of player-games differ by 10 cp or more. The reason is the one from section 32.1: ACPL charges every centipawn in decided positions, where engines disagree most about how winning a winning position is; the win-% scale squashes those disagreements.

Rankings survive; levels shift a little. Correlations are 0.96–0.98 on Lichess and the band ranking is identical in both sources. But our depth-16 ACPL runs 3.2 cp higher on average than Lichess's server numbers. Small, systematic, and enough to matter if you compare your own engine's ACPL with a table built from server analysis — like the reference tables in section 32.3.

⚠️ Common pitfall: Treating a 5-centipawn ACPL difference between two players as meaningful when the numbers come from different analysis sources. Two engines scoring the same moves disagree by more than that in about half of all player-games here. Compare players only within one source — same engine, same depth, same clip — and prefer accuracy over ACPL when you must cross sources.

When the sources disagree, who is right?

The disagreements are not random noise. Sorting the positions by how much the two sources differ in win-% terms puts this one at the top:

== Largest disagreements in White win-% points ==
   source           band  game_index  ply  san  eval_after_st  eval_after_sf   gap  gap_wp
  lichess      1800-1999          49   69 Ng5+          232.0           20.0 212.0    18.3
verify after Ng5+ (ply 69): stored +2.32; SF19 d16 +0.20; d18 +0.51 Kf6 Nxe4+ dxe4 b4 Ke5; d24 +5.58 Kf6 Nxe4+ dxe4 b4 Ke5

The largest disagreement: a fork that turns into a pawn ending

♟️ Position: White Kg1, Ng5, a2, b2, g2, h2; Black Kf7, Re4, d5, a6, b7, g7 — Black to move. FEN: 8/1p3kp1/p7/3p2N1/4r3/8/PP4PP/6K1 b - - 1 35

A Lichess blitz game between two players in the 1800–1999 band. White has just played 35.Ng5+, forking king and rook. Black is a rook for a knight up before the check; after 35...Kf6 36.Nxe4+ dxe4 the game becomes a king-and-pawn ending with four pawns each.

🤖 Engine check: Lichess's stored evaluation after 35.Ng5+ was +2.32. Our Stockfish 19 at depth 16 said +0.20, at depth 18 +0.51, and at depth 24 +5.58 — all with the same first moves (35...Kf6 36.Nxe4+ dxe4 37.b4 Ke5). Every search sees the fork; what changes is the verdict on the pawn ending that follows. King-and-pawn endings are decided by tempo counts many moves deep — the race of the kings to the queenside pawns, the outside passed pawn — and a shallow search stops before the counting is over. Here the stored server evaluation was nearer the truth than our depth-16 run.

That is the general lesson of the agreement study. When two sources disagree by a lot, the position is usually one where depth matters: a simplification into a pawn ending, a long forcing line, a fortress. Neither source is "the truth"; the deeper, longer search is the better witness, and the disagreement itself is a signal that the position deserves a second look. In our sample those positions are rare (1.8% of Lichess positions differ by more than two pawns) — rare enough that averages over many moves survive them, common enough that any single game's labels should be read with a little humility.

🔍 Why this works: Why would two Stockfish searches of the same position disagree at all? Because a fixed-depth or fixed-budget search is a sample of the game tree, not the tree. Different depths, node budgets, hash-table contents (what earlier positions left in memory), thread counts and engine versions lead the search down slightly different lines; most of the time the evaluations converge to within a few centipawns, but in positions where the truth lies beyond the search horizon they can differ by pawns. Our cache stores the first result for each position and depth, which makes the book's numbers reproducible — not more correct.

🔄 Check your understanding 1. Which agreed better across the two sources — ACPL or book accuracy — and why? 2. A friend's Lichess analysis says their ACPL was 48; your Stockfish run on the same game says 55. Is one of you wrong?

Answer

  1. Book accuracy: mean absolute difference 0.8 points versus 7.2 cp for ACPL on the Lichess games, with tighter limits. Accuracy is computed on the win-% scale, which compresses the large disagreements that occur in decided positions; ACPL counts them at full centipawn value.
  2. Not necessarily. On the Lichess games in our study, the 95% limits of agreement for player-game ACPL run from about −17 to +23 cp, and our depth-16 numbers average about 3 cp higher than the server's. A 7-cp difference is within normal disagreement between two sound analyses. If you want to know which is closer to the truth, look at the moves where the two differ most and analyse those positions deeper.

32.5 Depth: How Deep Is Deep Enough?

Every analysis tool has a depth setting, and every chess forum has someone insisting that anything below depth 30 is worthless. Depth matters — the fork in the last section proved it. The useful question is narrower: for the metrics in this chapter, how much changes as depth rises, and what does each extra step cost?

The design

Sixteen of the Lichess games from the agreement sample (two per speed × band stratum), plies 1–60, analysed with Stockfish 19 at depths 8, 12, 16 and 18; the first six of them also at depth 20. Every run is cached; the first, uncached run of each depth was timed.

for d in (8, 12, 16, 18, 20):
    ids = deep_ids if d == 20 else gids
    runs[d] = acc.analyse_batch([pgns[g] for g in ids], depth=d, workers=3)
pgm = acc.player_games(runs[d])            # ACPL, alive ACPL, accuracy, labels, top-move match

What changes

== ACPL / accuracy / blunders by depth (16 games, 32 player-games; plies 1-60) ==
       player_games   acpl  acpl_alive  accuracy  blunders  mistakes  t1_match
depth                                                                         
8                32  74.22       58.02     84.58        73        55     36.05
12               32  74.85       57.64     84.73        76        56     37.39
16               32  76.02       61.59     84.63        82        54     31.48
18               32  76.47       60.96     84.82        79        47     33.28
20               12  81.48       64.59     84.55        34        21     30.74
-- the six depth-20 games only
        acpl  accuracy  blunders     t1
depth                                  
8      88.82     82.12        32  33.84
12     81.89     83.61        29  37.33
16     80.63     84.37        33  29.12
18     81.36     84.29        33  30.17
20     81.48     84.55        34  30.74

== Move-level agreement with depth 18 ==
d 8: same label 78.4%; blunders 73 vs 79 at d18 (both 50, kappa 0.63); same best move 63.0%; median |eval diff| 21 cp; player-game ACPL r 0.873, bias -2.2
d12: same label 86.7%; blunders 76 vs 79 at d18 (both 65, kappa 0.82); same best move 76.2%; median |eval diff| 14 cp; player-game ACPL r 0.985, bias -1.6
d16: same label 91.6%; blunders 82 vs 79 at d18 (both 73, kappa 0.90); same best move 81.8%; median |eval diff| 9 cp; player-game ACPL r 0.995, bias -0.5
vs d20 (6 games): d12 same label 87.1%; same best 75.1%; blunders 29 vs 34
vs d20 (6 games): d16 same label 93.9%; same best 81.9%; blunders 33 vs 34
vs d20 (6 games): d18 same label 92.7%; same best 82.7%; blunders 33 vs 34

Four findings, in order of how much they should change your habits.

1. Book accuracy hardly moves. Across depths 8 to 20 the average sits between 84.55 and 84.82 on the sixteen games. Whatever depth your tool uses, the accuracy level is not where the depth effect shows up.

2. ACPL drifts up slightly with depth, and the drift is small next to game-to-game noise. From 74.2 at depth 8 to 76.5 at depth 18 on the sixteen games; on the six depth-20 games, 81.9 / 80.6 / 81.4 / 81.5 for depths 12–20. A deeper engine finds more ways for the player to have been wrong, but by a couple of centipawns. The player-game ranking is almost identical from depth 12 up (r = 0.985 with depth 18, and 0.995 for depth 16).

3. Labels stabilise around depth 16; depth 8 is a different instrument. Depth 16 agrees with depth 18 on 91.6% of labels and on blunders with kappa 0.90 — the same level of agreement we measured between two different engines in 32.4. Depth 12 is still good (kappa 0.82). Depth 8 finds a similar number of blunders but not the same blunders: of 79 depth-18 blunders it shares only 50 (kappa 0.63).

4. "The engine's best move" is the least stable thing of all. Even depth 16 and depth 18 name the same best move in only 81.8% of positions; depth 18 and depth 20 agree on 82.7%. Near-equal moves trade places from one depth to the next. That matters enormously for any metric built on matching the engine's first choice (section 32.7) and hardly at all for metrics built on evaluation loss. Look at the top-move match column: 36–37% at depths 8–12 and 31–33% at depths 16–20. Shallow engines agree with humans more often, because human moves look like shallow engine moves.

ACPL and cost by depth

📊 Figure (described): Left: mean ACPL by Stockfish 19 depth for the four Lichess bands in the depth sample (plies 1–60). The lines are nearly flat from depth 12 on; at depth 8 the two stronger bands move by about ten centipawns in opposite directions — a shallow search is noisy for small samples. Right: the measured cost of one position on one thread, on a log scale: 0.024 s at depth 8, 0.067 s at 12, 0.41 s at 16, 1.57 s at 18 and 3.27 s at 20.

What it costs

The right panel is the other half of the decision. From depth 16 to depth 20 the cost per position rose about eight times (0.41 s → 3.27 s on this machine, under load, one thread per worker); from depth 12 to 16 about six times. Each extra two plies of nominal depth roughly doubled to quadrupled the time. For metrics that average over many moves — ACPL trends, accuracy by band — that money buys almost nothing. For the handful of positions where the result was decided — the critical moments — it buys a lot.

One position, ten depths

A position whose verdict depends on the depth

♟️ Position: White Kg1, Qe3, Rd4, Bc4, Nc3, b2, g2, a3, h3, c5; Black Kh8, Qc7, Rd8, Na6, Nf6, c6, a7, b7, g7, h7 — White to move. FEN: 3r3k/ppq3pp/n1p2n2/2P5/2BR4/P1N1Q2P/1P4P1/6K1 w - - 5 29

This is from a Lichess game between two players under 1200, after 28...Qc7. Of all the positions in the depth sample it is the one whose evaluation moved most, in win-% terms, between depth 12 and depth 20.

position after 28...Qc7 (game 1, band <1200):
  d 8: +1.24  Ne4 Re8 Qf2 Rxe4 Rxe4 Nxe4
  d10: +2.33  Ne4 Re8 Qf2 Nxe4 Rxe4 Qd8
  d12: +0.78  Rxd8+ Qxd8 b4 Nb8 Ne2 a5
  d14: +2.21  Ne4 Re8 Qf2 Nxe4 Rxe4 Qb8
  d16: +2.07  Ne4 Re8 Qf2 Nxe4 Rxe4 Qb8
  d18: +2.28  Ne4 Re8 Qf2 Nxe4 Rxe4 Qb8
  d20: +2.54  Ne4 Re8 Qf2 Nxe4 Rxe4 Qb8
  d22: +1.90  Ne4 Re8 Qf2 Nxe4 Rxe4 Qb8
  d24: +2.14  Ne4 Re8 Qf2 Nxe4 Rxe4 Qb8
  d26: +1.86  Ne4 Re8 Qf2 Nxe4 Rxe4 Qb8

🤖 Engine check: Every depth from 14 to 26 prefers 29.Ne4 and scores the position between +1.86 and +2.54; depth 12 alone prefers 29.Rxd8+ and says +0.78. Judged at depth 20, the position after 29.Ne4 is +2.42 and after 29.Rxd8+ (29...Qxd8) only +0.93. In human terms: 29.Ne4 challenges Black's best defender, the f6-knight, while keeping the rooks on the board, so White's more active pieces stay in play; trading rooks on d8 removes White's most active piece and eases Black's defence. Depth 12 had simply not finished comparing the two plans — an outlier, not a different opinion worth weighing.

Notice that the evaluations wobble even after the best move settles: +2.07, +2.28, +2.54, +1.90, +2.14, +1.86. A difference of half a pawn between depths 20 and 22 is normal. That is why the book always states the depth, and why a conclusion that rests on a 30-centipawn difference between two moves is not a conclusion.

⚠️ Common pitfall: "Analyse everything at depth 20+." For a single tournament game, fine. For a study of hundreds of games, it multiplies the cost by eight or more and changes your averages by a couple of centipawns — while a single shallow outlier position like the one above, or a pawn ending like the one in 32.4, can change one game's labels at any depth. The efficient design is depth 12–16 for the whole sample and depth 20–24 (with multi-PV) for the critical moments.

🔄 Check your understanding 1. Which of these changes most between depth 16 and depth 18: book accuracy, ACPL, blunder labels, or the engine's best move? 2. Why did the top-move match rate fall as the depth rose?

Answer

  1. The best move (same in only 81.8% of positions), then the labels (91.6% the same), then ACPL (bias −0.5 cp, r = 0.995), then accuracy (essentially unchanged).
  2. A deeper search more often prefers a move that only shows its value several moves later; humans, especially at club level, more often choose the move that looks best on a short calculation — the kind of move a shallow search also prefers. Matching is therefore partly a measure of how "shallow-engine-like" the moves were.

32.6 What ACPL Cannot See: The Opponent and the Position

Two players with the same skill can produce very different ACPL. The reason is in the name of the game: chess has an opponent. Your opponent's moves choose the positions you have to solve.

Your ACPL moves with your opponent's

Lichess blitz: games 189,245; r(White ACPL, Black ACPL) = 0.631; after removing both ratings = 0.590; r(White ACPL, White rating) = -0.328
OTB classical: games 189,827; r(White ACPL, Black ACPL) = 0.430; after removing both ratings = 0.452; r(White ACPL, White rating) = -0.402
Own ACPL by decile of the opponent's ACPL in the same game:
  Lichess blitz, own band 1600–1799: 18->50.0, 31->54.0, 40->54.1, 48->53.6, 56->54.0, 64->57.3, 73->62.3, 83->69.7, 98->80.8, 126->112.4
  OTB classical, own band 2000–2199: 7->12.6, 10->21.3, 14->26.2, 17->29.3, 21->31.4, 26->29.3, 32->26.0, 37->25.2, 44->26.4, 56->37.9
Champions' sample (SF19 d16, moves 10-40): games 719; r(champion ACPL, opponent ACPL) = 0.582; Spearman 0.629
                      size  mean  median
opp_tercile                             
opponent precise       240  10.5     8.5
middle                 239  21.1    18.3
opponent error-prone   240  29.0    23.8

In Lichess blitz, the two players' ACPL in the same game correlate at 0.63 — far more strongly than a player's ACPL correlates with their own rating (−0.33). Removing both players' ratings leaves the correlation almost unchanged (0.59): it is not that strong players meet strong players. It is that games are shared. A wild game produces errors on both sides; a quiet, technical game produces few on either.

The world champions show it most clearly. In the book's 719-game champions' sample, a champion's ACPL in games against the most precise third of opponents averages 10.5; against the most error-prone third, 29.0 — almost three times as high, for the same eighteen champions. Part of that is the shared position again, and part is bookkeeping: once the opponent errs, the game is decided and the champion's remaining moves are measured in positions where large centipawn swings cost little.

ACPL and the opponent

📊 Figure (described): Left: a player's own mean ACPL by decile of the opponent's ACPL in the same game, for Lichess blitz players rated 1600–1799 (orange) and OTB classical players at FIDE 2000–2199 (blue). The blitz line is flat around 54 for the middle deciles and then climbs steeply to 112 when the opponent's ACPL is highest; the OTB line rises from 13 to about 30 and wobbles. Right: world champions' ACPL (Stockfish 19 depth 16, moves 10–40) in games against precise, middling and error-prone opponents: 10.5, 21.1 and 29.0.

The opponent's rating, by contrast, barely moves your ACPL. For Lichess blitz players at 1600–1799, ACPL against opponents within 50 points was 65.1 (n = 41,667) and against opponents more than 300 points stronger 59.3 (n = 2,065) — slightly lower, not higher. We should not read much into that: games against much stronger opponents in a 34-hour sample of analysed games are a selected group (provisional ratings, players on a hot streak, quick losses). The robust finding is the within-game correlation: what your opponent does to the position matters more than who your opponent is.

⚠️ Common pitfall: Comparing two players' ACPL when they faced different opposition — two tournaments, two eras, a club championship and an online arena. A player who meets solid opponents in quiet positions will post a lower ACPL than an equally strong player who meets swashbucklers, and the difference says nothing about their skill.

Difficulty: how many safe moves did the position allow?

The shared-position effect has a mechanism, and we can measure it position by position.

📐 Definition — safe moves: the number of moves in a position that keep the mover within 5 win-% points of the engine's best move (below the inaccuracy threshold). We count them with a multi-PV search (Stockfish 19, depth 12, multipv 3), so the count runs 1, 2 or "3+". A position with one safe move is an only-move position.

🧩 Productive struggle: Before reading on, look at this position from a Lichess blitz game between two players in the 1800–1999 band. White to move. Black's queen on c6 lines up against e4 behind White's d5-knight, and Black's knight has just jumped to g4. How many moves would you guess keep the balance here — one, two, or many? Pick your move before you look at the engine.

A position with one safe move

♟️ Position: White Kg1, Qd1, Rb1, Rf1, Bf2, Nb3, Nd5, a2, b2, c2, g2, h2, e4; Black Kg8, Qc6, Rc8, Re8, Be7, Ng4, Nf6, d6, h6, a7, b7, f7, g7 — White to move. FEN: 2r1r1k1/pp2bpp1/2qp1n1p/3N4/4P1n1/1N6/PPP2BPP/1R1Q1RK1 w - - 2 18

What happened, and what the engine says

White played 18.Nxf6+, a natural-looking exchange with check. Stockfish 19 at depth 16 rated it a blunder (+0.34 → −1.32). The only move that holds is 18.Nd4, bringing the b3-knight back to the centre with an attack on the queen.

🤖 Engine check: Depth 12, multipv 3: 18.Nd4 +1.12, 18.Bxa7 −0.58, 18.Bd4 −0.70. Verified at depth 20, multipv 3: 18.Nd4 +0.01, 18.Bxa7 −0.62, 18.Bd4 −0.69. The deeper search shaves White's advantage, but the structure of the position is the same at both depths: one move keeps the balance, everything else concedes something. The point is the e4-pawn. The knight on d5 was blocking the c6-queen's diagonal; after 18.Nxf6+ Nxf6 (the g4-knight recaptures — 18...Bxf6?? would drop the knight to Qxg4) the diagonal is open, and 19.Nd4 Qxe4 wins the pawn (−1.28 at depth 20 after 18.Nxf6+). 18.Nd4 first hits the queen on c6 before the d5-knight leaves, so Black never gets the time to take on e4 for free. The lesson is geometric: White's position had one resource, and the "safe-looking" capture with check was not it.

Now count the whole sample. For 2,259 scoreable positions (past move 8, game still alive, more than one legal move), we ran the depth-12 multi-PV search and compared the moves actually played (judged at depth 16):

== Difficulty: error rate (mistake or blunder at d16) and top-move match by safe moves ==
               positions  share  error_rate  t1_match  mean_cpl
safe_cat                                                       
1 (only move)        602  0.266       0.248     0.646    93.781
2                    355  0.157       0.155     0.485    67.065
3+                  1302  0.576       0.085     0.293    42.887
error rate by group x safe moves:
safe_cat           1 (only move)      2     3+
group                                         
Lichess 1400-1599          0.346  0.222  0.171
Lichess 1800-1999          0.247  0.182  0.116
Lichess 2200+              0.237  0.157  0.076
Lichess <1200              0.452  0.297  0.226
OTB 1800-2599              0.074  0.067  0.018
player-games with >= 10 scoreable moves: 107; r(only-move share, ACPL on scoreable moves) = 0.473
OLS ACPL(scoreable) = 151.4 -5.78 per 100 rating +8.84 per +10 pts of only-move share
only-move share across player-games: median 25.9%, 10-90%: 11.5%-45.7%

About a quarter of positions (26.6%) are only-move positions, and they produce errors three times as often as positions with three or more safe moves (24.8% versus 8.5%). The pattern holds in every group: Lichess players under 1200 err in 45.2% of only-move positions and 22.6% of easy ones; OTB players at FIDE 1800–2599 in 7.4% and 1.8%. (The groups are small — 93 to 457 positions per cell — so read the gradient, not the second decimal.)

And the share of only-move positions differs a lot from one player-game to the next: from 11.5% to 45.7% between the 10th and 90th percentiles. Across 107 player-games, that share correlates with ACPL at 0.47. In a simple regression on this small sample, ten extra percentage points of only-move positions add about 9 centipawns of ACPL — the same as about 150 rating points. A player who drew a hard set of positions can look 150 points weaker by ACPL without having played any worse.

Difficulty and matching

📊 Figure (described): Left: the share of moves that were mistakes or blunders (Stockfish 19 depth 16) by the number of safe moves in the position, for four groups; every line falls from left to right — errors concentrate where moves are scarce. Right: the distribution of 107 player-games' z-scores for top-move matching against a simple expectation model (section 32.7): centred on zero, spread from about −3 to +3.

For contrast, here is a position with plenty of room:

A position with three safe moves

♟️ Position: White Ke1, Qd1, Ra1, Rg1, Bg2, Be3, Nd4, Nd5, a2, b2, c2, f2, e4, g4; Black Ke8, Qc8, Ra8, Rh8, Bb7, Bf8, Nf6, Nb8, b5, a6, d6, g6, e7, f7 — Black to move. FEN: rnq1kb1r/1b2pp2/p2p1np1/1p1N4/3NP1P1/4B3/PPP2PB1/R2QK1R1 b Qkq - 5 12

An over-the-board classical game between FIDE-rated players, a sharp-looking Sicilian with g4 already played. Black chose 12...Bxd5; the engine's first choice at depth 12 was 12...Nxg4.

🤖 Engine check: Depth 20, multipv 3: 12...Nxg4 −0.66, 12...Bxd5 −0.58, 12...Nbd7 −0.41 — three moves within a quarter of a pawn. Black's choice lost 1 centipawn at depth 16 (−0.69 → −0.70). Taking the pawn, exchanging on d5, or finishing development are three different plans that all keep Black's position healthy; there is no single right answer for the engine to "match". A player in this position who does not pick the engine's first choice has made no error at all.

📋 Try it — Engine analysis: Pick any game from the agreement sample (code/ch32_agreement_plies.csv.gz has every position's FEN). For each of one player's moves from move 9 on, run engine.evaluate(fen, depth=12, multipv=3), count the safe moves with accuracy.safe_moves, and compute the player's error rate in only-move positions versus the rest. Then answer: was this player's ACPL high because they played badly, or because they faced hard positions?

Worked answer

Expect something like the sample average: errors in roughly a quarter of only-move positions and under a tenth of easy ones, with the exact numbers depending on the player's level. The answer to the question is usually "both" — and the point of the exercise is that you can now separate the two: compare the player's error rate within each difficulty class with the reference rates above. A player who errs at the reference rate in each class but faced many only-move positions has a high ACPL for reasons that are not about skill.

🔄 Check your understanding 1. In Lichess blitz, which is more strongly related to a player's ACPL in a game: their own rating or their opponent's ACPL in the same game? 2. Two players have the same ACPL over twenty games. One faced only-move positions in 40% of moves, the other in 15%. Who probably played better?

Answer

  1. The opponent's ACPL (r = 0.63, still 0.59 after removing both ratings) — far more than the player's own rating (r = −0.33). Games are shared: wild games make both players err.
  2. The first. Only-move positions produce errors about three times as often (24.8% vs 8.5% in our sample), so matching the other player's ACPL in much harder positions means making fewer errors per difficulty class.

32.7 Engines and Fair Play: The Principles Behind Statistical Screening

Back to Grace's question. If a single accuracy number cannot identify engine use, what can statistics do? This section describes the principles — carefully, because this is a subject where loose claims hurt real people.

The best-known statistical approach in chess is associated with Kenneth W. Regan, a computer scientist at the University at Buffalo, who has published on "intrinsic ratings" and cheating detection since the late 2000s and has advised chess organisations on fair-play cases. We describe the published ideas in general terms — the details of his models have evolved over the years, and the authoritative account is his own papers, not this summary:

  1. Analyse every candidate move, not just the best one. For each position, an engine evaluates the legal moves in multi-PV mode, so the model knows how much worse each alternative is.
  2. Model how players of a given strength choose. From large reference sets of games by players of known rating, the model learns how likely a player at each level is to pick a move that is 0, 10, 50 or 200 centipawns worse than the best — players are more likely to choose good moves, and stronger players more so. Skill is described by parameters, not by a single match rate.
  3. Turn positions into expectations. For a given set of games, the model predicts how many of the player's moves should match the engine's first choice, and how much evaluation they should lose — given the positions they actually faced. A game full of forced recaptures predicts a high match rate; a game full of quiet manoeuvring positions with many equal options predicts a low one.
  4. Compare, with error bars, over many moves. The observed matches and losses are compared with the expectation; the difference is expressed as a z-score. Only very large deviations, over a large number of moves, are treated as statistically significant — and statistics are one input to an investigation, not a verdict. The same machinery yields an intrinsic performance rating: the rating whose predicted choices best fit the moves actually played.

What it deliberately does not do is what the rule Grace heard at the club does: compare one game's accuracy, or one game's raw match rate, with a fixed threshold.

We cannot reproduce a research-grade model here, but we can build a small teaching sketch with the data from section 32.6 and see each principle at work.

Principle 3 in miniature: matching depends on the position

The difficulty table in 32.6 already contains the first lesson. In only-move positions players matched the engine's first choice 64.6% of the time; in positions with three or more safe moves, 29.3%. OTB classical players at FIDE 1800–2599 matched in 84.6% of only-move positions. A match rate is mostly a description of how forced the game was. Raw per-game match rates in our honest sample:

== Top-move match per player-game (scoreable moves, d16 single-PV best move) ==
                   count  mean   10%   50%   90%   max
group                                                 
Lichess 1400-1599   20.0  35.1  17.4  36.8  50.3  63.6
Lichess 1800-1999   20.0  37.7  21.1  38.7  54.5  66.7
Lichess 2200+       27.0  39.0  29.1  38.5  49.0  78.6
Lichess <1200       10.0  27.1  13.0  29.7  36.7  45.5
OTB 1800-2599       30.0  54.0  35.1  56.1  72.9  80.0
player-games with t1 >= 70%: 7 of 107; >= 80%: 1

Seven of 107 ordinary player-games matched the engine on 70% or more of their scoreable moves; one reached 80%. These are random games from the open database and from relayed tournaments — nobody selected them for being suspicious.

Principles 2 and 4 in miniature: an expectation, and a z-score

📐 Definition — expected matches and the match z-score: give each position a probability that the player picks the engine's first choice, p, from a model of the position and the player's rating. Over n positions the expected number of matches is Σp and its standard deviation √Σp(1−p). The z-score is (observed − expected) / SD. Large positive z means more matches than a player of that rating would make in those positions.

Our sketch uses a logistic model with two inputs: the win-% gap between the engine's best and second-best move (how forced the position is) and the player's rating.

feats = np.column_stack([np.log1p(m.gap.clip(upper=40)), m.mover_elo / 1000])
model = LogisticRegression(C=1.0, max_iter=1000).fit(feats, m.is_best)
m["p_match"] = model.predict_proba(feats)[:, 1]
z = acc.match_z(d.is_best, d.p_match)          # per player-game
logistic model on 2,259 positions: coef log(1+gap) +0.799, rating/1000 +0.949, intercept -3.232
   gap  0.5 win-%, rating 1100: P(match) = 0.13
   gap  0.5 win-%, rating 2300: P(match) = 0.33
   gap   10 win-%, rating 1100: P(match) = 0.43
   gap   10 win-%, rating 2300: P(match) = 0.70
   gap   40 win-%, rating 1100: P(match) = 0.69
   gap   40 win-%, rating 2300: P(match) = 0.87
player-game z-scores: n 107, mean -0.00, sd 1.16, |z| >= 2: 9, z >= 2: 5, max +2.75
        group  game_index  side  n  observed  expected    z   t1
OTB 1800-2599          77 white 27      20.0      13.3 2.75 0.74
OTB 1800-2599          79 white 25      19.0      12.7 2.62 0.76
OTB 1800-2599          71 white 20      14.0       9.1 2.29 0.70

The model behaves sensibly: when the best move is barely better than the second (a gap of half a win-% point), a 1100 matches 13% of the time and a 2300 33%; when the best move is 40 points better, 69% and 87%. And the per-game z-scores look like honest noise: mean 0.00, standard deviation 1.16, five player-games above +2 out of 107 (a normal distribution would give about 2–3).

Now look at which games top the list: all three are over-the-board classical games. Is that suspicious? No — it is a calibration failure that teaches principle 2. Our model was fitted mostly on online blitz and rapid moves, and it treats "rating" as one number although Lichess ratings and FIDE ratings are different scales and classical games give far more thinking time. A model calibrated on the wrong reference set flags the wrong population. Regan's approach calibrates on large sets of games from the relevant conditions for exactly this reason.

Principle 4: why it takes many moves

The last lines of the script make the sample-size argument with simple arithmetic:

   with expected match 55%,   25 moves: sd of the match count 2.5 -> a +10-point excess (to 65%) is z = 1.0
   with expected match 55%,  100 moves: sd of the match count 5.0 -> a +10-point excess (to 65%) is z = 2.0
   with expected match 55%,  400 moves: sd of the match count 9.9 -> a +10-point excess (to 65%) is z = 4.0
   with expected match 55%, 1600 moves: sd of the match count 19.9 -> a +10-point excess (to 65%) is z = 8.0

A player who matches the engine ten points more often than expected produces z = 1 over a single game's 25 scoreable moves — indistinguishable from a good day — and z = 4 only after about 400 moves, which is something like fifteen to twenty games. Combine that with the base rate (in any large field, the honest players vastly outnumber the cheats, so even a rare false alarm produces more innocent flags than true ones — Case Study 2 works the numbers for a real Olympiad field) and you have the reason serious screening uses very high thresholds, many games, and other evidence before anyone is accused.

⚠️ Common pitfall: Treating a single game's accuracy, ACPL or match rate as evidence of cheating — whether your opponent's or a famous player's. In our honest samples, 8.6% of FIDE 2000–2199 OTB classical games exceed 97 book accuracy, 7 of 107 player-games match the engine on 70%+ of moves, and a crude z-score model flags the classical games simply because it was calibrated on the wrong pool. Public accusations based on such numbers have hurt real people. Statistics can justify a closer look by the people whose job that is; they cannot justify a verdict.

🔄 Check your understanding 1. Name the two things an expected-match model must take into account that a raw match rate ignores. 2. Why did the three highest z-scores in our sketch all come from OTB classical games, and what does that teach about reference sets?

Answer

  1. How forced each position was (the gaps between the best move and the alternatives) and the player's strength — plus, in serious models, the conditions (time control, pool) the reference data came from.
  2. The model was fitted mostly on online blitz and rapid moves with Lichess ratings; classical OTB players have more time and a different rating scale, so the model under-predicts their matching. The expectation must be calibrated on games from the same conditions, or it will flag a whole population rather than an individual.

32.8 Engine Analysis at Scale: Workers, Caches and a Cost Model

Everything so far ran on tens of games. The chapter's title promises scale, and scale is mostly an engineering problem with three levers: don't compute what you already have, compute in parallel, and never compute the same position twice.

Lever 1 — reuse stored evaluations

The cheapest engine analysis is the one somebody else already ran. The book's data carries stored evaluations for 416,869 Lichess games and about 324,000 OTB broadcast games. Section 32.4 showed what you give up by using them: you don't control the engine or the depth, there is no best move or multi-PV in the PGN, and the Lichess analysed games are self-selected (someone asked for the analysis). What you get is a population you could never afford to compute: the reference tables in section 32.3 cost nothing but a parquet read. For population questions — ACPL by band, by phase, by speed — stored evaluations are the right tool; for questions that need best moves or alternatives (top-move matching, difficulty), you must compute.

Lever 2 — parallel workers

Stockfish runs one search per process. The toolkit's engine.analyse_games_parallel starts one engine per worker process (one thread each), hands each worker whole games, and concatenates the results:

def analyse_batch(pgns, depth=16, workers=3, hash_mb=32, progress=True):
    df = en.analyse_games_parallel(pgns, depth=depth, workers=workers, hash_mb=hash_mb, progress=progress)
    errs = df.attrs.get("errors", [])
    df = add_context(df)                  # mover's eval, 'alive', legal-move count
    df.attrs["errors"] = errs
    return df

Whole games per worker, not single positions, because Stockfish's hash table carries useful information from one move of a game to the next; splitting a game across processes would throw that away. For positions that are independent (the multi-PV difficulty batch of section 32.6), accuracy.multipv_batch sends positions in chunks to a pool of engines instead. On Windows, both must be called from inside if __name__ == "__main__":, because worker processes re-import the script.

How much do workers buy on a shared machine? We timed two different sets of nine broadcast games (60 plies each) at depth 14 — one set with one worker, the other with three — and then the second set again from the cache:

== 1-2. Workers and cache (depth 14, nine games x 60 plies per set; first-run timings) ==
  1 worker, uncached    :   35.0 s for 540 positions ->    15.4 positions/s
  3 workers, uncached   :   17.7 s for 540 positions ->    30.5 positions/s
  3 workers, all cached :    2.2 s for 540 positions ->   242.5 positions/s
  speed-up 3 workers vs 1: 1.98x; cache vs uncached (3 workers): 8x

Three workers gave a 1.98× speed-up, not 3×. On a quiet machine the gain would be closer to linear; this one was shared with many other analysis jobs, and the games in the two sets differ. The honest lesson is to measure throughput on your own machine before promising anyone a result by Friday.

Lever 3 — the cache

The toolkit's engine stores every result in data/cache/engine.sqlite, keyed by the position (FEN without move counters), the depth, the multi-PV setting and the engine version. The second time any position is requested at the same settings — by the same script, a rerun, or another chapter — the answer comes from the database. The cached run above took 2.2 seconds for 540 positions, and most of that was starting processes and parsing PGN. The agreement study took 730 seconds the first time and about a minute on every rerun since.

Caching does three things for a measurement project. It makes reruns cheap, so you can change a plot or a filter without paying for the engine again. It makes results reproducible: the same position at the same depth always returns the same number, even though a fresh search with a different hash state could differ by a few centipawns. And it makes overlapping studies share work — the chapter's depth study reused the agreement study's depth-16 results for free. The price is the one noted in 32.4: the cache freezes the first answer; it does not make it more correct.

The cost model

With measured costs per position, planning becomes arithmetic:

def cost_estimate(n_games, plies=80, sec_per_ply=0.33, workers=3, cached_share=0.0):
    pos = n_games * plies * (1 - cached_share)
    secs = pos * sec_per_ply / max(1, workers)
    return dict(positions=int(pos), seconds=secs, minutes=secs / 60, hours=secs / 3600)
== 3. Cost model: seconds per position on one thread (measured, plies 1-60 / 1-80 of Lichess games) ==
  depth  8: 0.024 s
  depth 12: 0.067 s
  depth 16: 0.410 s
  depth 18: 1.566 s
  depth 20: 3.272 s
wall-clock hours with 3 workers, 80 plies per game:
games  100    1000    10000
depth                      
8       0.02   0.18    1.78
12      0.05   0.49    4.93
16      0.30   3.04   30.41
18      1.16  11.60  115.99
20      2.42  24.24  242.36

Cost of analysing 1,000 games

📊 Figure (described): The projected wall-clock time to analyse 1,000 games of 80 plies on three worker processes at each depth, on a log scale: about 0.18 hours at depth 8, 0.49 at depth 12, 3.0 at depth 16, 11.6 at depth 18 and 24 at depth 20. Each step up multiplies the bill: about ×6 from depth 12 to 16, ×4 from 16 to 18 and ×2 from 18 to 20.

Ten thousand games at depth 20 would take about 242 hours — ten days — on this setup; at depth 12, about five hours. Section 32.5 showed that for averages over many games the two give nearly the same ACPL and accuracy. So the scalable design is clear: stored evaluations where they exist, depth 12–16 for samples, deep multi-PV only for the few positions that decide games.

📋 Try it — Engine analysis: Use accuracy.cost_estimate with the costs above to plan a study of your own last 300 rapid games (about 70 plies each) at depth 16 on two worker processes. Then time 10 of them with accuracy.time_it(accuracy.analyse_batch, pgns[:10], depth=16, workers=2) and recompute the estimate with your machine's real cost per position.

Worked answer

cost_estimate(300, plies=70, sec_per_ply=0.41, workers=2) gives 21,000 positions and about 72 minutes. Your measured time will differ — a faster, idle machine might manage the same in a third of the time, a laptop on battery in twice the time. Recompute with your own seconds per position (wall seconds × workers ÷ positions), and remember that a rerun of the same games will be almost free thanks to the cache.

⚠️ Common pitfall: Changing one setting mid-study. If half your games were analysed at depth 16 with a 64 MB hash and the other half at depth 18 after an engine update, your "trend" may be a measurement artefact. Keep a record of engine version, depth, multi-PV, clip and window with every result, and reanalyse everything when you change any of them (the cache makes the unchanged part cheap).

🔄 Check your understanding 1. Name the three levers of engine analysis at scale, in the order you should reach for them. 2. Your cached rerun of a 500-game study returns slightly different numbers from a colleague's fresh run of the same games at the same depth. Is something broken?

Answer

  1. Reuse stored evaluations; run in parallel; cache every result (and, before all three, choose the smallest depth that answers the question).
  2. Not necessarily. A fresh search with a different hash state, thread count or engine build can differ by a few centipawns at the same depth; the cache only makes your numbers reproducible. Compare the two at the player-game level with the agreement statistics from 32.4 before worrying.

🪞 Learning check-in: You are four chapters into the data-science part of the book. Pause and take stock of how you now read an engine number. Write down, without looking back: (1) the last accuracy or ACPL number you saw for one of your own games, and what you concluded from it at the time; (2) which of the chapter's caveats — source, depth, decided positions, opponent, position difficulty, sample size — would have changed that conclusion; (3) one measurement habit you will change, for example "compare accuracy only within one site", "look at alive-move ACPL", or "never judge a single game". If you find you can't yet say why accuracy is more stable than ACPL across sources, reread 32.1 and 32.4 before going on — everything in Chapters 33–35 builds on it.

Spaced Review

Before reading each answer, try to answer from memory.

  1. From Chapter 1: what does an evaluation of +3.00 mean in win-% terms, and why did Chapter 1 find that real players at different levels convert it at very different rates? Answer: about 75% by the Lichess model; but in the book's calibration, positions near +3.00 scored 63.6% for White below Lichess 1200 and 88.6% in OTB FIDE 2200+ — the model is an average, and level decides how much of an advantage turns into points. That is one more reason accuracy compares players only within a level.

  2. From Chapter 13: in how many decisive games are there "exactly two or three critical moments"? Answer: only about a quarter (26.3% of decisive blitz, 26.9% of decisive OTB classical games in that chapter's measurement); most decisive OTB classical games have zero or one. This chapter's finding that errors concentrate in positions with one safe move is the position-level version of the same fact: chess games are decided at a few hard moments, not spread evenly.

  3. From Chapter 23: why should you state "multipv N" when you quote an engine's ranking of moves? Answer: single-PV and multi-PV searches can rank near-equal moves differently. In this chapter the same instability shows up in top-move matching: when two moves are within a few win-% points, "matching the engine" depends on how the search was run.

  4. From Chapter 26: roughly how many games do you need before an average ACPL is accurate to ±5 centipawns? Answer: on the order of 150–200 (that chapter estimated 155 for blitz and 192 for rapid). This chapter adds a second source of uncertainty on top: a different engine or depth shifts the level by a few centipawns, so the "±5" only holds within one measurement setup.

Project Checkpoint: accuracy.py

Dev has been the club's unofficial analysis department since Chapter 1, and after this chapter he has a new rule: measure many games, one way, and say how. His new Outpost module, project/outpost/accuracy.py, turns that rule into code.

🎭 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.

What the module provides

Function Purpose
stored_moves(movetext, max_ply=80) per-move CPL, win-% drop, accuracy, label and phase from [%eval] comments
truncated_pgn(sans, max_ply) the same moves as a PGN for your own engine run
analyse_batch(pgns, depth, workers) Stockfish 19 over many games (parallel, cached) + alive, legal-move count
multipv_batch(fens, depth, multipv, workers) multi-PV for many independent positions
safe_moves(fen, lines), best_second_gap(fen, lines) position difficulty
player_games(df) one row per player-game: ACPL, alive ACPL, accuracy, labels, top-move match
agreement(x, y), cohen_kappa(a, b) correlation, bias, Bland–Altman limits; label agreement
margin_of_error(sd, n), games_needed(sd, margin) how many games a claim needs
match_z(matches, probs) observed vs expected matches (the shape of a screening test — teaching only)
cost_estimate(...), time_it(...) plan and measure engine batches

The checkpoint script scores all of Dev's games that carry server evaluations, then re-checks six of them with our own engine:

pg = acc.player_games(acc.add_context(moves))                     # stored evals, Dev's side only
moe = acc.margin_of_error(bl.acpl.std(), len(bl))
sf = acc.analyse_batch(pgns, depth=16, workers=3, progress=False)  # six games, plies 1-80
a = acc.agreement(t.acpl_stored, t.acpl_sf19_d16)
Dev's composite games: 600; with server evals: 241; speeds {'blitz': 241}

Dev, blitz player-games: 241; ACPL mean 64.6 (median 59.5, SD 34.3); book accuracy 87.2; blunders/100 moves 7.30
95% margin of error of that average: +/-4.3 cp -> [60.2, 68.9]
reference: Lichess blitz, own band 1600-1799, analysed games: ACPL 64.8 (book data snapshot)
games needed for +/-10 cp at this SD: 46
games needed for +/-5 cp at this SD: 182
Dev's blitz moves by phase:
            moves  acpl  accuracy
phase
endgame      1734  57.4      91.1
middlegame   3665  87.7      84.0
opening      2519  33.2      90.2

Six of Dev's blitz games, his moves (plies 1-80): stored server evals vs our Stockfish 19 d16
 game colour  moves  acpl_stored  acpl_sf19_d16  blunders_stored  blunders_sf19
    1  black     10         51.1           56.1                1              0
    2  white     39         71.6           69.9                5              4
    3  black     36         40.4           52.5                2              3
    4  white     40         45.5           45.2                1              2
    5  white     26         30.1           30.7                1              1
    6  white     40         62.8           59.6                4              4
agreement: r 0.930, bias +2.1 cp, mean |diff| 3.8 cp
analysing all 569 of Dev's games at depth 16 (0.41 s/position, 3 workers): 33,470 positions, ~76 min
analysing all 569 of Dev's games at depth 20 (3.272 s/position, 3 workers): 33,470 positions, ~608 min

Dev: So my ACPL is 64.6, and the band average is 64.8. I'm… exactly average?

Lena: That's what the interval says. Somewhere between 60 and 69.

Dev: And the middlegame is where it all goes — 87.7, against 33.2 in the opening.

Read the output the way the chapter taught. Dev's 241 analysed blitz games put his ACPL at 64.6 ± 4.3 — statistically indistinguishable from the reference value for his band (64.8), so there is no evidence here that he plays better or worse than a typical 1600–1799 blitz player. His middlegame ACPL (87.7) is more than two and a half times his opening ACPL (33.2), the same shape as the band's reference phase table (33.4 / 86.9 / 64.7); his endgame (57.4) is, if anything, a little better than the band's. On six games the two analysis sources agree closely (r = 0.93, mean difference 3.8 cp), though game 3 shows a 12-cp gap and the blunder counts differ by one in four of the six games — boundary cases again. And the cost lines show why the module leans on stored evaluations: re-analysing all 569 of his 600 games that have full move text would take about 76 minutes at depth 16 and ten hours at depth 20 on this machine.

How it plugs in: Chapter 33's style.py can take player_games tables as one of its feature sources; Chapter 35's progress.py can use margin_of_error and games_needed to decide when a trend is real; and the Chapter 40 report calls stored_moves first and analyse_batch only for games without evaluations.

Chapter Summary

The measurements and how far to trust them

Metric What it measures Robustness (this chapter's evidence) Main blind spots
CPL / ACPL Distance from the engine's evaluation, in pawns Two sources on the same Lichess games: r 0.964, mean abs. diff 7.2 cp, 95% limits −17 to +23; depth 16 vs 18: r 0.995 Decided positions (47.8% of all centipawns in 2,000 blitz games), clip, opponent, position difficulty
ACPL on alive moves The same, while the result was still open Similar agreement to all-move ACPL (r 0.970) Still depends on opponent and difficulty
Book accuracy Win-%-based move scores, averaged Two sources: mean abs. diff 0.8 points, limits about ±2.2; flat across depths 8–20 Not comparable with Lichess's displayed or Chess.com's number
Inaccuracy / mistake / blunder Win-% drops ≥ 5 / 10 / 15 Blunder kappa 0.90 (two sources, Lichess games) and 0.90 (depth 16 vs 18); 0.63 (depth 8 vs 18) Boundary cases; missed wins counted like blunders
Top-move match Share of moves equal to the engine's first choice Fragile: depths 16 and 18 name the same best move in 81.8% of positions How forced the positions were (64.6% in only-move positions vs 29.3% with 3+ safe moves)
Safe moves How many moves keep the evaluation (multi-PV) Depends on the multi-PV depth and margin —

Decision checklist for measuring at scale

  1. Decide the question first. Population levels and trends → stored evaluations. Best moves, alternatives, matching, difficulty → your own engine runs.
  2. Fix and record the setup: engine and version, depth, multi-PV, clip (±1000), window of moves, accuracy definition.
  3. Pick the depth by the job: depth 12–16 for samples of games; depth 20–24 with multi-PV for the critical moments; check a subsample at a second depth.
  4. Compare only like with like: same source, pool, speed and phase mix; prefer accuracy when you must cross sources.
  5. Report uncertainty: number of games and moves, intervals, and how big a difference two sources or two depths produce on their own.
  6. Model the expectation before you judge a player: rating, opponent, position difficulty, conditions.
  7. On fair play: never from one game, never from raw thresholds, never as a verdict.
  8. Scale with engineering: cache, parallel workers, truncate to the moves you need, and estimate the cost before you start.

What's Next

ACPL and accuracy measure how well a player moves. Chapter 33 asks how they move — sharpness, risk, sacrifices, endgame tendencies — and tries to classify players from their games. Everything in this chapter carries over: style features are also measurements with a setup, they also depend on the opponent and the positions, and a clustering is only as honest as the validation behind it.