Chapter 2 Discussion Guide — Cricket Data Sources

Chapter link: Chapter 2

Framing question

"Before anyone can say a true thing about a strike rate, someone has to decide what a 'ball' is. Who made those decisions in the statistics you grew up with — and how would you know?"

Show the nine-row first over of the IPL 2026 final before asking.

Discussion questions

Tier 1 — Recall

1. The first over of the IPL 2026 final was "thirteen runs" on television. How many rows does it occupy in the data, and why? Facilitator notes: Nine rows: six legal balls plus three wides. Each wide is its own event with its own batter, bowler and runs; one carries a review. Likely answers: Most will say "because of the wides". Push: "So what goes wrong if you compute strike rate by counting rows?"

2. What is the difference between ball_in_over and legal_ball_index? Facilitator notes: ball_in_over labels the legal ball being bowled (two wides before the fifth legal ball both read "5"); legal_ball_index counts legal balls and is NaN on wides. Likely answers: Students often say "one counts wides". Ask which one you would use to compute balls remaining.

3. What is withheld from the snapshot, and what does Cricsheet never record? Facilitator notes: Withheld: Afghanistan men's internationals (14 Tests, 162 ODIs, 166 T20Is, 10 non-official T20s). Never recorded: line and length, speed, shot direction, fielding positions, drops, DRS tracking values, batting positions, roles. Likely answers: Few students expect a whole nation's internationals to be missing. Discuss what that means for any "best T20I spinner" ranking.

Tier 2 — Analysis

4. In the IPL, 4 of 45,276 completed overs had five legal balls and 4 had seven. Does that matter? Facilitator notes: As a share (≈ 0.018%) it is tiny. But any code that computes balls remaining from over numbers breaks on exactly those overs. Wendell's "six pebbles" line. Likely answers: "Too rare to care" v "it breaks the model in the moments people remember". Both are right; the fix is to count legal balls.

5. Grouped by name across 11 archives, "Rashid Khan" has 504 wickets; pinned by id, 500. Why does a four-wicket difference matter? Facilitator notes: The size is small here, but the error is silent and grows with common names (Imran Khan: six people). And the pinned figure (392 matches, 8,989 balls, economy 6.90) is still not his T20 career — Afghan internationals are withheld. Likely answers: "Only four wickets." Ask: "What if you were ranking players and the collision was in your top ten?"

6. Lbw is 16.6% of men's Test dismissals and 6.0% of IPL dismissals; run-outs are 2.6% and 8.1%. Women's T20Is have run-outs at 14.2%. What explains these differences? Facilitator notes: Formats shape dismissal types (defending on length v swinging; running risk). The women's T20I figure invites the lazy explanation "lower standard" — Exercise C5 asks students to test that against full-member-only matches. Likely answers: Watch for unsupported claims about women's fielding; ask what data would test them.

7. A colleague wants to drop all D/L matches "to keep things clean". When is that sensible, and when is it a mistake? Facilitator notes: 23 D/L results in 1,243 IPL matches. Dropping them is reasonable for first-innings averages, but a study of chasing strategy loses informative games and may bias toward particular venues or seasons. Likely answers: Students tend to favour dropping; push for "it depends on the question".

Tier 3 — Settle this debate

8. "Kohli scored at 244.44 in the death overs of IPL 2026 — he is the best finisher in the league." Facilitator notes: 66 off 27 balls, no dismissals. A striking number on a tiny sample; Chapter 6 shrinks it. Use this to preview the course's recurring caution. Likely answers: Fans of Kohli will defend it. Ask: "How many balls would you need before you believed it?"

9. "Free data is good enough. Franchises with Hawk-Eye feeds don't know much more than we do." Facilitator notes: Section 2.10. Outcomes data answers a great deal; locations, speeds and fielding positions answer questions it cannot (why a bowler concedes, where to place fielders). Both sides have a case. Likely answers: Encourage students to name a specific question each side can and cannot answer.

Role-play — the analyst and the coach (Wendell's edges)

Setup (12 minutes). Wendell says: "Your table tells me Rabada went for 37 in two overs of the final. I watched it. Half of those runs were edges past the keeper." (Exercise D2; Rabada's overs 2 and 4 went for 18 and 19.)

  • Coach (one student): defends the edges claim and argues the bowler bowled well.
  • Analyst (one student): must say honestly what Cricsheet can and cannot confirm (it records runs, not where the ball went or whether it was edged), and propose a way to check (video, a hand-charted log).
  • Observer (one student): scores each side on accuracy and on respect for the other's evidence.

Rotate roles twice. Debrief: what should an analyst do with an eye-test claim the data cannot check? (Record it, flag it, and find data that can — don't dismiss it.)

Eye test vs data prompt

Read the Eye test callout on seven-ball overs. Ask:

"Wendell says a model that assumes the Laws were followed perfectly will be wrong in exactly the moments a scorer would remember. Name another place in cricket where 'what the rules say' and 'what happened' might differ in the data."

Good answers: retired hurt, super overs, penalty runs not on any delivery, miscounted overs, non-boundary fours.

Exit ticket

  1. Write the correct number of deliveries and legal balls for an over containing two wides and one no-ball.
  2. Name one audit check you will run on the next dataset you open.
  3. Why should you group by batter_id rather than batter when combining competitions?