Case Study 1 — Notes and a Lead Tracker for a Test: Sydney, January 2026

Setup

Most of Chapter 37 lives in T20, where a win-probability model gives every ball a value and the notes generator can rank swings. Tests are harder. The book has no Test win-probability model at this point; Chapter 29 and Chapter 33 build the session and declaration machinery later. A five-day match also has a different rhythm for its stories: a hundred built over a day, a spell of 25 overs, a target set on the fourth evening.

Kavya's brief for this case: produce the post-match package for the fifth Ashes Test of 2025–26 at the Sydney Cricket Ground, which began on 4 January 2026 (Cricsheet id 1455615). She needs one match graphic and a set of checked notes, from ball-by-ball data alone. The match:

  • England won the toss and batted: 384 (Joe Root 160 off 242).
  • Australia replied with 567 (Travis Head 163 off 166, Steve Smith 138 off 220, Beau Webster 71 not out).
  • England made 342 in their second innings (Jacob Bethell 154 off 265).
  • Australia chased 160 and won by 5 wickets, finishing 161/5 in 31.2 overs. Player of the match: Travis Head.

The two tools from the chapter that transfer directly are the notability score (a fact's −log₁₀ of the share of comparable events at least as extreme) and as-of filtering. The tool that has to be replaced is the WP worm. In its place we use a lead tracker: storytelling.lead_series, which records the batting-first side's lead or deficit after every ball of the match.

The data

All numbers come from code/case_study_01.py, run on men's Tests in the book's data snapshot (December 2001 onwards). The comparison pool is every men's Test in the data that started before 4 January 2026: 876 matches.

The Ashes 5th Test: England v Australia, Sydney Cricket Ground, from 04 January 2026
Toss England (bat); Australia won by 5 wickets; player of the match TM Head
Comparison pool: 876 men's Tests in the data before this one
  innings 1: England 384 in 97.3 overs
  innings 2: Australia 567 in 133.5 overs
  innings 3: England 342 in 88.2 overs
  innings 4: Australia 161 in 31.2 overs
Fourth-innings target (computed from innings totals; Cricsheet stores none for Tests): 160

150-plus innings in the match:
    batter  innings  runs  balls  strike_rate
   TM Head        2   163    166        98.19
   JE Root        1   160    242        66.12
JG Bethell        3   154    265        58.11

Bethell before this Test: 5 Tests, 10 innings, highest 96, hundreds 0

Note the line about the target. Cricsheet stores a target_runs value for limited-overs chases but none for Tests, so the script computes it: England's two innings (384 + 342 = 726) minus Australia's first (567), plus one, gives 160.

Analysis

The graphic: a lead tracker

England's lead or deficit after every ball of the match, plotted against overs into the match. The line climbs to about +384 at the end of England's first innings, falls through Australia's 567 to a deficit near −183, climbs again through England's second innings to about +159, then falls to zero as Australia chase. Wickets are red crosses; Root 160, Head 163 and Bethell 154 are labelled.

📊 Figure (described): The lead tracker for the Sydney Test: England's runs minus Australia's after every delivery, with blue shading when England are ahead and orange when behind. The shape tells the match in four strokes. England build a lead of 384, Australia overturn it and go 183 ahead, England fight back to set 160, and Australia knock it off in 31.2 overs. The three 150-plus innings sit at the turning points of the first three strokes.

Why a lead tracker rather than the T20 worm of runs? In a Test the meaningful quantity is not how many runs a side has but how far ahead it is. The lead also maps directly onto commentary language ("England lead by 159 with two wickets left"). It needs no model, which is a virtue on a night when the alternative is a model you have not validated. Its limit is just as clear. It cannot say that a 159-run lead with a day and a half left on a good pitch is less than it looks. That is what a Test WP model is for.

The facts, with denominators

The T20 generator's fact families do not transfer: "spell economy relative to the match" means something different when spells last 25 overs, and there is no last-over equation. The script builds Test-specific families instead, each with its own comparison pool:

CANDIDATE FACTS (most notable first):
[1.64] Three scores of 150-plus in one Test (Root 160, Head 163, Bethell 154): 20 of 876 earlier men's Tests in the data had 3 or more.
[1.34] 1,454 runs in the match; 40 of 876 earlier Tests in the data produced as many.
[1.29] Head's 163 came at a strike rate of 98.2; 25 of 491 earlier 150-plus Test innings in the data were as quick.
[1.28] Boland bowled 25 overs for 46 in England's second innings (economy 1.84); 306 of 5,861 earlier Test innings spells of 20+ overs were as cheap.
[1.00] Bethell's 154 was his first Test hundred in the data: his previous best in 5 Tests in the data was 96.
[0.11] Australia chased 160; of 36 earlier Tests with a fourth-innings target of 140-180, the chasing side won 28.

Read the ranking the way Chapter 37 taught. The rarest event of the match was that it held three scores of 150 or more. That happened in only 20 of 876 earlier Tests in the data, about 1 in 44. Next, close together, come the run aggregate (1,454, about 1 in 22), the pace of Head's 163 (about 1 in 20 among 150-plus innings), and Scott Boland's 25 overs for 46 (about 1 in 19 among 20-over innings spells).

The chase is the instructive one. Australia's target of 160 decided the match, and on the night it felt tense. But in the data, sides set 140–180 in the fourth innings won 28 of 36. Australia doing it was the expected outcome: notability −log₁₀(28/36) = 0.11, far below the 0.7 cut-off. (Had England defended it or saved the draw, the note would have scored −log₁₀(8/36) = 0.65. Scoring the observed outcome, not its opposite, is easy to get backwards; the first draft of this script did exactly that.) The script printed a supporting line: of those 36 matches, 2 ended without a result. A drawn fourth innings is a Test-only possibility the T20 generator never had to consider.

The note that needs the most care

The Bethell note is the one most likely to go wrong on air. "Maiden Test hundred" is a career claim, and a career claim is only as good as the data's coverage of the career. The script pins Bethell by registry id and looks at every earlier Test innings in the data: 5 Tests, 10 innings, a highest score of 96. That supports "his first Test hundred in the data". The data runs from December 2001 and Bethell's Test career is recent, so the qualifier is very likely redundant here. For an older player it would not be. The book's rule is to say "in the data" and let a producer upgrade the claim after checking an official record. This fact also gets a fixed notability score (1.0), because "first hundred" is a binary milestone, not a ranked rarity. That is a design choice, and the evidence string says so.

The final notes, at the chapter's cut-off of 0.7:

1. Australia (567 & 161/5) beat England (384 & 342) by 5 wickets at Sydney.
2. Three scores of 150-plus in one Test (Root 160, Head 163, Bethell 154): 20 of 876 earlier men's Tests in the data had 3 or more.
3. 1,454 runs in the match; 40 of 876 earlier Tests in the data produced as many.
4. Head's 163 came at a strike rate of 98.2; 25 of 491 earlier 150-plus Test innings in the data were as quick.
5. Boland bowled 25 overs for 46 in England's second innings (economy 1.84); 306 of 5,861 earlier Test innings spells of 20+ overs were as cheap.
6. Bethell's 154 was his first Test hundred in the data: his previous best in 5 Tests in the data was 96.

What it means (and doesn't)

It means the notability method travels across formats. Only the fact families and the pools change. A Test generator needs families the T20 one never did: big individual scores, long economical spells, fourth-innings targets, multi-day aggregates, career firsts. Each needs its own definition of "comparable", such as "Test innings spells of 20+ overs".

It means the graphic should match the format's natural quantity. The lead tracker answers "who is ahead and by how much?", the question Test viewers ask, and it needs no model.

It doesn't mean the notes are complete. A human editor would add context the data cannot give: this was the final Test of an Ashes series, the series situation, the conditions at Sydney over five days. None of that is in a ball-by-ball file. The notes say nothing about sessions or days, either: the book's parsed delivery table carries no session or day column (Chapter 29 discusses the proxies).

It doesn't mean "1 in 44" is a probability that this would happen. It is a description of how often the data's history produced something at least as extreme. That is the right quantity for ranking notes, but it is not a forecast.

Discussion questions

  1. The chase of 160 scored 0.11 and missed the cut-off, even though it decided the match. Should a match-deciding fact always be included regardless of notability? Write a rule that covers it, and test the rule against the T20 match in the chapter, where the last-over defence scored 0.21.
  2. Boland's spell is compared with "Test innings spells of 20+ overs". What would change if the pool were "all Test innings spells of 10+ overs"? Would his notability rise or fall, and which pool better matches the claim?
  3. The lead tracker cannot tell a safe lead from an unsafe one. Sketch the inputs a Test win-probability model would need to turn the lead tracker into a Test WP worm.
  4. Head's 163 at a strike rate of 98.2 ranked about 1 in 20 among 150-plus Test innings in the data. Is "strike rate among 150-plus innings" a fair comparison for an innings played in 2026, given how Test scoring rates have changed since 2001? How would you era-adjust it?

Your turn

Run code/case_study_01.py on another Test in the snapshot. Two good candidates with different stories are the Headingley Test of 2019 (id 1152848), which Chapter 7 drew, and any 2026 Test from the matches table. Change MATCH, then:

  1. Draw the lead tracker and label the turning points.
  2. Add one new fact family relevant to your match, such as the highest partnership against all partnerships for that wicket, or the most balls faced in a losing fourth innings. Give it its own comparison pool and k of n.
  3. Write the notes at notability ≥ 0.7 and one sentence on what the data could not tell you.