Case Study 1 — Dev's Weakness: The One He Expected, the One the Data Found, and Whether to Believe It
🎭 Composite data: Dev's games are real Lichess games played by anonymous players at his rating, assembled into one "player" so we can demonstrate the method on your own games.
Setup
Dev Raman (Lichess blitz, about 1650) believed for most of the season that his Najdorf 6.Be3 as White was costing
him games. This case study runs the full Outpost pipeline on his 600 composite games and then does what most
improvement advice skips: it tests the toolkit's own findings before acting on them. Everything below comes from
code/02_dev_pipeline.py and code/case_study_01.py, run from the chapter folder; the workspace is
code/runs/dev.
The case has three questions:
- Does the data support the weakness Dev expected?
- What, if anything, does it find instead?
- Does that finding survive replication, and could it be an artefact of how the games were assembled?
The data
import loaded 600 Lichess blitz games from 1–2 October 2026: 300 as White (a 1.e4 repertoire selected by
opening, including 80 Italian Games and 50 Najdorf 6.Be3 games) and 300 as Black (random games at his level).
Overall he scored 51.9% against an Elo expectation of 49.9%. Moves exist for 569 games; Lichess server
evaluations for 241, which is the sample every engine-based number below rests on (240 after the toolkit drops one
game it cannot measure).
The peer pool is 1,500 anonymous Lichess blitz players rated 1550–1750 from the same sample — analysed games, bots excluded, one side per game, colours balanced (762 White). A second, independent pool of 1,500 was drawn with a different seed for replication.
The whole pipeline is four commands and one script:
python -m outpost import --persona dev --work runs/dev --expect "My Najdorf (6.Be3, the English Attack) is my weak spot"
python -m outpost repertoire --work runs/dev
python -m outpost analyze --work runs/dev # peers: Lichess blitz 1550-1750, 1,500 games, colours balanced
python -m outpost review --work runs/dev --game 401 --depth 18
python code/case_study_01.py # second pool, split halves, White/Black, null comparison
The first three take well under a minute together, because Dev's games already carry Lichess's evaluations and the peer pool is measured from stored evaluations too; the review of one game at depth 18 is the only fresh engine work, and it is instant on a second run because every evaluation is cached. The replication script draws two fresh peer pools and runs Chapter 38's blunder classifier over 3,000 games, about forty seconds. Cheap checks are checks you will actually run.
Analysis
Step 1 — the expected weakness
repertoire judged each line with at least ten games against Dev's own average, correcting for thirteen lines
tested at once:
| line | games | score [95%] | vs own average | q | verdict |
|---|---|---|---|---|---|
| W: Italian Game | 80 | 67.5% [56.6–76.8] | +15.4 | 0.065 | strength |
| W: Najdorf 6.Be3 | 50 | 36.0% [24.1–49.9] | −12.2 | 0.254 | noise |
| B: Scandinavian | 15 | 30.0% [13.0–55.2] | −23.2 | 0.254 | noise |
| B: Caro-Kann | 25 | 70.0% [50.4–84.3] | +22.3 | 0.150 | noise |
The Najdorf's score is bad, and its interval is wide. With fifty games and twelve other lines tested beside it, a gap of twelve points is the kind that luck produces regularly. The engine evidence agrees from a different direction. Dev's book accuracy in the opening is 90.16 against his peers' 90.12, and his win expectancy after move 10 is 50.42% against 49.97% — level to within half a point. In the nine Najdorf 6.Be3 games that carry evaluations, Dev made a mistake or blunder (a drop of at least 10 win-% points) in seven, and the first of them came at moves 7, 10, 11, 15, 15, 15 and 18: median move 15, only two of seven inside the first ten moves.
Answer to question 1: no. Neither the score nor the engine sees an opening problem.
Step 2 — what the peer comparison finds
analyze compared Dev's 240 evaluated games with the peer pool on seventeen measures: eight indicators from
Chapter 25's training module (Bonferroni bar |z| ≥ 2.73) and nine error rates from Chapter 38's coach module
(bar 2.77), with the z-scores computed with games as clusters. Fifteen were within noise. Two cleared the bar:
| measure | Dev | peers | Poisson z | clustered z | verdict |
|---|---|---|---|---|---|
| "other" (plans / calculation) blunders per 100 moves | 4.01 | 3.27 | 3.65 | 3.15 | weakness |
| endgame-conversion blunders per 100 moves | 0.10 | 0.29 | −3.10 | −4.14 | strength |
"Other" is Chapter 38's residual category: a blunder that did not hang a piece, did not walk into a named tactic, was not a failure to punish and was not an endgame conversion error. The chapter's census showed what is inside Dev's 317 "other" blunders: 214 in the middlegame, 57 in the opening, 46 in the endgame; in 190 of them the opponent's winning reply was a quiet move (in 99 a capture, in 26 a check); none were made with his clock below 10% of base. On average he was slightly better (56.3% win expectancy) when he made one, and it cost him 25.9 win-% points. These are calm-position misjudgements — the kind Chapter 7's question "what does my opponent want?" is meant to catch.
Step 3 — does it replicate?

📊 Figure (described): Clustered z for three gaps — all blunders (grey), "other" blunders (blue), endgame-conversion blunders (orange) — in seven comparisons: two independent peer pools, odd and even halves of Dev's games, his White and Black games, and the two peer pools against each other. Dashed lines mark the Bonferroni bar (±2.77). The blue dots are positive in every Dev comparison; the orange dots jump around; the null row stays inside the bars.
The full table (from code/_out_cs1.txt, clustered z only):
| comparison | games | all blunders | "other" | endgame conversion |
|---|---|---|---|---|
| vs pool A (seed 2026) | 240 | +1.24 | +3.15 | −4.14 |
| vs pool B (seed 2027) | 240 | +0.67 | +2.85 | −2.98 |
| odd-numbered games vs B | 127 | +0.55 | +2.11 | −4.16 |
| even-numbered games vs B | 113 | +0.43 | +2.07 | −1.18 |
| as White vs B | 121 | +1.08 | +2.92 | −3.16 |
| as Black vs B | 119 | −0.15 | +1.32 | −1.71 |
| pool A vs pool B (null) | 1,500 | −1.06 | −0.58 | +1.30 |
Three things stand out.
The null row behaves. Two peer pools drawn the same way differ by less than the bar on all three measures — so the method does not invent gaps between groups that should be the same. That row is the cheapest sanity check in the case and the one most often skipped.
The "other" gap is consistent but not overwhelming. Against a second pool it still clears the bar. Split into halves it shows the same size in both (4.04 and 3.97 per 100 moves) with z near 2.1 each — below the bar, as you would expect when each half has half the games. A finding that is the same size in two independent halves is far more credible than one that is large in one half and absent in the other.
But it is concentrated where the composite was built by opening. Against pool B the gap is z = 2.92 in Dev's White games and 1.32 in his Black games. His Black games are a random draw from his level; his White games were selected — a 1.e4 repertoire heavy in Italian and Najdorf games, which lead to open middlegames full of quiet decisions. A real player's games are not selected like this, but this composite's are, and part of the gap may be the openings rather than "Dev".
The endgame "strength" does not replicate. It rests on eight blunders in Dev's games; it is −4.16 in one half and −1.18 in the other. With so few events the cluster formula's estimate of the spread is itself unreliable (it even produced a larger z than the Poisson formula, the opposite of what clustering usually does). Read it as cannot tell.
What it means (and doesn't)
- It means Dev's opening worry is not supported: the score is noise and the engine sees level openings. If he spent the next two months on English Attack theory, the data predicts he would be studying the wrong thing.
- It means the most credible place to look is quiet middlegame decision-making — and his own Najdorf game 401, lost by 15.Bxh6 and 19.gxf3 from a level position, is a vivid example of it.
- It does not mean Dev "has a calculation weakness" as a fact. The gap is moderate (about 0.74 extra blunders per 100 moves), partly confounded by how the composite was built, and not significant in either half alone. It is a well-supported hypothesis worth a training block and a retest.
- It does not mean the toolkit failed on the endgame line; it means the toolkit's numbers need the same scepticism as anyone else's when events are rare.
The general lesson is the one that runs from Chapter 20 to here: a single significant number is the start of an investigation. Replicate in an independent sample, split your own data, run a null comparison, and ask how the data were selected — before you build a plan on it.
Discussion questions
- The null comparison (pool A vs pool B) gave z = −1.06, −0.58 and +1.30. Why is it reassuring that none of these is near the bar, and what would you conclude if one had been −3?
- Why does halving the sample roughly divide z by √2 when the effect size stays the same? Check it against the odd/even rows.
- Suggest a peer pool that would remove the opening-selection confound from Dev's White games.
- If Dev were a real player, what single training change would you make on this evidence, and what measurement after how many games would tell you whether it worked?
- Chapter 38's original comparison flagged both gaps at z ≈ ±3.3. What did the capstone add, and what would you tell a coach who only had Chapter 38's report?
Your turn
Run python -m outpost import --persona lena --work runs/lena --expect "I lose the boring positions - my
endgames", then analyze --peers rapid:1300-1500 and report. Then adapt code/case_study_01.py to Lena
(rapid, 1300–1500): two peer pools, odd/even halves, White/Black, and the null comparison. Write a one-page memo:
what she expected, what the data found, which findings replicate, and the one thing you would have her work on.
(Spoiler from the Project Checkpoint: none of her seventeen comparisons survives the first step — so your memo is
about what to do when the honest answer is "you are typical for your level".)