Chapter 1 Notes — Cricket's Moneyball Moment

Chapter link: Chapter 1

Overview and learning objectives

Chapter 1 is the book's argument in miniature. It opens with a confident fan argument about Virat Kohli and Suryakumar Yadav, computes the real numbers, and shows that the familiar story is backwards: Kohli's IPL death-overs strike rate is 188.38, Suryakumar's 178.21, and the real gap is in the middle overs (125.80 v 144.14). From there it surveys the size of cricket's public data (6,420,141 deliveries from 17,186 matches), the IPL scoring revolution since 2023, three charges against traditional statistics, what Moneyball actually was, why cricket lagged, and the four anchor examples that run through the book. There is no Crease module; the checkpoint is an environment check.

By the end of the chapter students should be able to:

  1. State the book's definitions of batting average, strike rate, phase and economy, including what counts as a ball faced and which dismissals are excluded.
  2. Compute a phase strike rate and a re-weighted strike rate from a phase table (e.g. reproduce Suryakumar's 147.2 on Kohli's ball mix).
  3. Explain, with the IPL 2024–26 phase economies (powerplay 9.56, middle 8.97, death 10.84), why raw economy penalises death bowlers.
  4. Express a score relative to its season environment (e.g. 180 = 115% of the 2013 average, 92% of the 2026 average).
  5. Identify selection on the outcome in a "average in wins v losses" split (Rohit Sharma, 58.46 v 36.01).
  6. List at least four things Cricsheet ball-by-ball data does not contain and name a question each blocks.
  7. Run project_checkpoint.py and interpret every OK/MISSING line.

Where students struggle

  • "So Kohli is the better finisher." Students overcorrect from one wrong story to another. Push them back to Wendell's objection in 1.9: Kohli reaches the death set; the comparison mixes skill with circumstance.
  • Re-weighting. The idea of applying one batter's phase strike rates to another's mix of balls is new to most. Exercise B8 walks it through; the shares sum to 100.1% because of rounding, which confuses careful students.
  • Correlation of 0.46 read as "death bowlers are worse". The point is the opposite — economy is partly a measure of when the captain bowls you. Pathirana's 9.24 is well under the 10.84 death-overs rate.
  • Season labels. Cricsheet's "2007/08", "2009/10", "2020/21" labels for single-year IPL seasons trip up anyone who charts by season. The chapter uses start-date year.
  • Selection on the outcome. Many students accept "Rohit performs in big wins" as a character claim. The overall average of 48.78 sits nearer the "won" figure because India won more of those matches — and because his runs help cause wins.
  • "Not in the data" = "didn't happen". Fielding is the clean example; ask what a 20-run saving looks like in a ball-by-ball table (nothing).
  • Installation. Windows students often fail the checkpoint on library imports or the processed parquet files; point them to Chapter 2 rather than debugging in class.

Pacing

50-minute session. - 0–8: Open with the "numbers everyone quotes" argument; students vote Kohli or Suryakumar. - 8–20: Reveal the 1.1 table; re-weighting on the board (136.2 and 147.2). - 20–32: Section 1.3 — the season table and the 2023 break (94 v 118 totals of 200+). - 32–42: Charge 2 (economy and phase) with the 0.46 scatter. - 42–50: Anchors A and C in five minutes each; assign the checkpoint.

75-minute session. As above, plus a 15-minute live coding demo after the 1.1 reveal and a 10-minute Moneyball / "why cricket lagged" discussion (1.5–1.6). Lab time: allow a separate 30–45 minutes for installation and the checkpoint; on slow laptops loading the IPL parquet takes seconds, but first-time installs can take far longer.

Lecture outline

  1. The argument everyone has (Kohli v Suryakumar) and the computed table.
  2. Definitions: average, strike rate, phase; the "scarce resource" contrast between Tests (wickets) and T20 (balls).
  3. Re-weighting by role: role explains only a point or two of a 14-point career SR gap.
  4. Size of the public record: Tests 1.73 million deliveries; the IPL only about 0.3 million — seventh-largest block.
  5. What the data does not contain (line/length, shot direction, fielding positions, drops, ball-tracking, batting positions, roles).
  6. The game changes faster than its statistics: IPL average first innings 157.5 (2012) → 195.7 (2026); sixes per match 10.7 → 19.3; Impact Player rule from 2023 (associated, not sole cause).
  7. Three charges: average ignores pace and situation (Smith, 28 off 30 at Chepauk, lost by 8); economy ignores when you bowl; numbers are blind to conditions (subcontinent first innings 36.39 v fourth innings 24.48 runs per wicket, 2015–26).
  8. Moneyball properly understood: a market pricing the wrong number.
  9. Five reasons cricket lagged; the auction as opportunity (607 purchases, top 10% took 45.3% of spend, 50.2% at base price).
  10. The four anchors; the eye test; variance is not failure (toss winners 51.6% of 1,218 IPL results).

Live coding demo

Script: code/02_kohli_vs_sky.py.

  1. Run it unchanged. Expected career rows: Kohli 275 innings, 9,336 runs, 6,926 balls, 231 outs, average 40.42, SR 134.80; Suryakumar 164 innings, 4,581 runs, 3,083 balls, 136 outs, 33.68, 148.59. Phase table: Kohli death 1,573 off 835 (188.38, 12.1% of balls); Suryakumar middle 2,730 off 1,894 (144.14, 61.4%).
  2. Point to the re-weighting lines: 136.2 and 147.2.
  3. Live change 1: add a third name to PAIR chosen by the class (spell it as Cricsheet does — this previews Chapter 2's name problem). Ask students to predict the phase shape before running. Do not promise numbers; whatever prints is the lesson.
  4. Live change 2: drop the super_over filter and rerun. Ask: did anything change, and should super overs count in a career?
  5. Close by running project_checkpoint.py; the final line should read (9336, 6926, 231) (chapter says (9336, 6926, 231)) and READY FOR CHAPTER 2.

If time is short, code/01_scoring_revolution.py is the alternative: it prints the season table (2012 157.5, 2026 195.7) and the IPL 2024–26 phase economy table.

In-class activity — "Price the over"

Groups of three get the IPL 2024–26 phase table (middle 23,012 balls / 34,409 runs; death 10,842 / 19,594; powerplay 15,616 / 24,878). Task: (a) verify the three economies; (b) compute the economy of a "league-average" bowler who bowls two middle and two death overs (≈ 9.9); (c) decide, using quiz question 20's scenario, whether a 9.4-economy bowler with half his balls at the death or an 8.4-economy middle-overs bowler is better value. Each group reports one sentence and one question they would ask the coach.

Answers and teaching notes for key exercises

  • B2. (a) 8.97 and 10.84. (b) ≈ 9.9. (c) 8.97. Both bowlers are exactly league-average in every over yet differ by almost a run an over. Use this as the cleanest demonstration of Charge 2.
  • B3. 24.3% increase. The same 30 off 22 (SR 136.4) was more valuable in 2012: a typical 2012 first innings ran at roughly SR 131 including extras, 2026 at roughly SR 163.
  • B7. At the rest of the side's SR 145.1, Smith's 30 balls give ≈ 43.5, about 15–16 more than 28 — more than the eight-run margin, but it does not prove Rajasthan would have won. Faster scoring carries more risk; plans would change. Stress "costly relative to the side" is not "the counterfactual".
  • B8. Kohli 129.55 / 125.80 / 188.38; Suryakumar 141.05 / 144.14 / 178.21; re-weighted ≈ 147.2. Role explains only a point or two of the gap; it does not capture how set each batter was.
  • A7 / M6. Selection on the outcome: the split partly measures the result. Rohit's overall 48.78 sits nearer 58.46 because 171 of his innings came in wins and 96 in losses. Kohli's death SR is selected by survival — he is only there at over 16 when he is set.
  • D4. 51.6% does not prove the toss never matters: averages can hide venue, dew and day/night effects, and the choice after the toss. Students should name what they would compute (by venue, by start time, by decision). Chapter 22 does exactly this.

Assessment ideas

  • One-page "numbers everyone quotes" audit (a reduced Exercise E3): one quoted statistic, recomputed with the book's definitions, with an explanation of any difference.
  • Short-answer quiz item: "Express a 180 first-innings total relative to 2013 and 2026" plus one sentence of interpretation.
  • Code check: submit the checkpoint output and a screenshot of one figure from 01_scoring_revolution.py.
  • The quiz's applied scenario (question 20) works well as a timed in-class write.

Format, gender and region diversity notes

  • The chapter's women's T20I table (Mooney 41.93 / 127.50; Healy 27.10 / 130.16; Mandhana 4,612 runs; Harmanpreet 31.51 / 116.30) makes the same "sort by any column and get a different best" point as the men's IPL table. Use it in class, not as an aside.
  • Remind students that Chamari Athapaththu appears in Cricsheet as "AC Jayangani" — a name-handling issue with real consequences for Sri Lankan and women's cricket coverage.
  • Women's T20I first-innings averages between the ten leading teams rose from 117.6 (2014) to 152.4 (2026); men's Tests' run rate from 3.28 (2003) to 3.66 (2024). The game is changing everywhere, not only in the IPL.
  • Nusrat (Dhaka) and Wendell (Trinidad) set the book's global, eye-test-respecting tone; students outside India and England should see their cricket in the examples.

Connections