Exercises — Chapter 31
Difficulty: ⭐ recall and reasoning · ⭐⭐ calculation and interpretation · ⭐⭐⭐ code or judgement · ⭐⭐⭐⭐ open research.
All numbers quoted below come from the chapter's scripts run on the book's data snapshot (Cricsheet, November 2026). Short answers for Part B are in the <details> blocks. Answers to selected other exercises are in Appendix I.
Part A — Conceptual ⭐
A1. State the two Laws and playing conditions that turn "who bowls when" into a constrained allocation problem in men's and women's T20 cricket. Why is the most any bowler can bowl in the powerplay three overs, and in the death three overs?
A2. The chapter found that in IPL 2023–26, in 73.4% of innings the main death bowler also bowled in the powerplay. Explain why this fact on its own does not show that death bowling and powerplay bowling are the same skill. What extra analysis did §31.4 need?
A3. Explain in plain words why five bowlers bowling four overs each produce the same total plan value whatever the order, if every bowler's value is identical in every phase. Then list the three things that make the order matter.
A4. What is the difference between "the death decides matches" and "the death has the highest leverage"? Which one does the chapter's evidence support?
A5. Why did the chapter set par over by over (competition × year × over) instead of by phase? Name the kind of bowler the phase-level par would treat unfairly.
A6. In the two-level shrinkage model, what does each of $k_g$ and $k_i$ measure? Why is $k_i$ (about 5,200 balls) so much larger than $k_g$ (about 700)?
A7. The workload prior ("shrink part-timers toward the average of bowlers with similar career balls") failed out of sample. Explain the survivorship mechanism in two or three sentences, and say which kind of bowler the data still cannot tell you much about.
A8. linear_sum_assignment found a plan worth 10.56 runs for MI's attack, but it was illegal. Why can't the Hungarian algorithm handle the no-consecutive-overs Law, and what does the integer programme add?
A9. Explain the optimiser's curse in the context of the IPL 2026 audit. Why is "the model says KKR left 5.96 runs per innings on the table" best read as an upper bound?
A10. Why does a matchup overlay fade over the first six overs, and why does it disappear completely when the targeted batters are out?
A11. Women's T20 internationals between full members give spinners 50.9% of death overs; men's give them 17.9%. List two cricket reasons the women's game might favour spin late, and one statistical reason to be careful before concluding that spin is better at the death.
A12. The calibration check found that pre-season values had r = 0.06 with a single 2026 over's BRS but a slope of 0.80. Explain how both can be true at once, and what each number tells a franchise analyst.
Part B — Calculation & Interpretation ⭐⭐
B1. In IPL 2023–26, over 16 costs 9.83 runs and over 20 costs 12.20. A death bowler bowls overs 18 and 20 in a match and concedes 11 and 12. Another bowls 16 and 17 and concedes 10 and 10. Using a phase-level par of 10.78 (the average of overs 16–20: 9.83, 10.08, 10.64, 11.16, 12.20), compute each bowler's runs saved. Then use over-by-over par. Which bowler looks better under each, and why?
Answer
Phase par: bowler 1 saves 2 × 10.78 − 23 = −1.44; bowler 2 saves 21.56 − 20 = +1.56. Over par: bowler 1 saves (10.64 + 12.20) − 23 = −0.16; bowler 2 saves (9.83 + 10.08) − 20 = −0.09. Under phase par bowler 2 looks three runs better; under over par the two are almost identical. Bowler 1 was bowling the dearer overs, and the phase par charged him for it.
B2. The leverage weights for men's T20 chases are 0.72 (over 1), 1.11 (over 16), 1.41 (over 18) and 2.29 (over 20), and one weighted run ≈ 0.99 percentage points of win probability. A bowler saves 1.6 runs per over relative to par. How much win probability (in percentage points) does that save in over 1 and in over 20 of an average chase?
Answer
Over 1: 1.6 × 0.72 × 0.99 ≈ 1.14 points. Over 20: 1.6 × 2.29 × 0.99 ≈ 3.63 points. The same bowling is worth over three times as much in the last over.
B3. MI 2026 defending, leverage-weighted: free plan 12.92, Bumrah 2–2 split 11.79, 3–1 split 10.86, all-powerplay-plus-one-middle 9.44. Convert each cost to percentage points of win probability (1 weighted run ≈ 0.99 points). Over a season in which MI defend in seven matches, what is the expected number of wins the 2–2 split costs, compared with the free plan?
Answer
Costs: 1.13 → ≈ 1.12 points; 2.07 → ≈ 2.05 points; 3.48 → ≈ 3.45 points. Seven defences × 0.0112 ≈ 0.08 wins. Small for one season, but not nothing in a league where one win can decide qualification. And it is a free gain, because the bowler is the same.
B4. The noise-corrected powerplay–death correlation is 0.58 (raw 0.22, reliabilities 0.53 and 0.28). Show that $0.22/\sqrt{0.53 \times 0.28} \approx 0.58$. What would the raw correlation be if both reliabilities were 0.9 and the true correlation stayed 0.58?
Answer
$\sqrt{0.53 \times 0.28} = \sqrt{0.1484} = 0.385$; $0.22 / 0.385 = 0.57$ (0.58 with unrounded inputs). With reliabilities of 0.9: raw = $0.58 \times 0.9 = 0.52$.
B5. De Kock's shrunk strike rate against off-spin is 116.1 and his ball-weighted average across types is 139.4. Rickelton's are 132.6 and 151.8. With both openers in and equal strike, compute the matchup adjustment for an off-spinner in runs per over. Then compute the overlay in over 3, where the openers face 71.5% of balls.
Answer
Mean SR gap = 0.5 × (116.1 − 139.4) + 0.5 × (132.6 − 151.8) = 0.5 × (−23.3) + 0.5 × (−19.2) = −21.25. Adjustment = −0.06 × (−21.25) = +1.28 runs per over. Over 3: 1.28 × 0.715 ≈ 0.91 (the script prints 0.91).
B6. In the IPL 2026 audit, innings with five bowlers had a mean gap of 0.64 runs and innings with six had 3.09. Give two different explanations for the difference, one about the model and one about cricket.
Answer
Model: with five bowlers the plan's total is nearly fixed (only interactions and leverage move it), so the gap is small almost by construction. With six, the model penalises any overs given to a bowler it rates below the other five. Cricket: sides use a sixth bowler for reasons the model doesn't see, such as a matchup, an injury, a bowler being hit, or an all-rounder whose batting earns his place. Some of the 3.09 may be the price of good reasons.
B7. Women's T20Is (full members), death overs: right-arm pace concedes 8.01 per over and BRS −0.26; leg-spin concedes 6.83 and BRS +0.70. A captain replaces two pace death overs with two leg-spin overs per match. Naively, how many runs per match does that save? Name the selection bias that makes the naive number too large.
Answer
Naively 2 × (8.01 − 6.83) = 2.36 runs, or 2 × (0.70 + 0.26) = 1.92 by BRS. The bias: spinners are chosen to bowl late in situations that suit them (new batters, slow pitches, low asking rates), which are cheaper for any bowler. A leg-spinner forced into every death over would face tougher situations than the ones in the data.
B8. In the Kolkata 2016 final, West Indies' win probability at the start of over 16 was 0.420 and at the start of over 17 was 0.199. Willey's 16th over took two wickets for 7. A pre-match plan wanted Willey for overs 18 and 20 instead. Explain, using these numbers, why that plan can be right in expectation and still look wrong in hindsight.
Answer
The plan values Willey's overs by his expected runs saved, weighted by average leverage. Over 20 carries about twice the leverage of over 16 (2.24 against 1.10 in the pre-final weights), so an average Willey over is worth more there. The actual 16th over was far better than average: it cut West Indies' WP by 0.221. Plans are judged on expectations, results on what happened. A good plan can lose to a great over by the bowler it held back.
B9. code/04_rotation_optimiser.py prints MI's five general (shrunk) values per over: Bumrah 1.55, Boult 0.29, Chahar 0.47, Ghazanfar 0.49 and Pandya −0.41. If phase interactions were zero, what would every legal five-bowler plan be worth, bowling first? The script reports 9.61 for the exact values. What does the gap between that figure and the optimal 10.45 measure?
Answer
4 × (1.55 + 0.29 + 0.47 + 0.49 − 0.41) = 4 × 2.39 = 9.56; the script's 9.61 uses unrounded values. The gap to 10.45 (about 0.84 runs) is what the phase interactions add when the optimiser puts each bowler in the phase where he is relatively best. Note that it is less than the 1.94 between best and worst legal plans, because a bad plan puts bowlers in their relatively worst phases.
B10. In the 2026 semi-final, New Zealand's re-plan after over 2 valued overs 3–20 at 10.74 against 7.52 for what was bowled. Neesham bowled three overs for 42 runs; the re-plan gives those overs to McConchie (shrunk ~0.13 per over) instead of Neesham (shrunk −0.66 to −0.89). Roughly how much of the 3.22-run gap comes from that swap alone? What explains the rest?
Answer
Three overs × (0.13 − (about −0.8)) ≈ 3 × 0.93 ≈ 2.8 runs. The swap explains most of it. The rest comes from rearranging the other bowlers (for example, Henry's over-20 slot going to a better-valued bowler, and Ravindra's overs moving to the death, where his value is a shade higher).
Part C — Code It ⭐⭐–⭐⭐⭐
C1. Build this metric ⭐⭐. Extend code/01_who_bowls_when.py to compute, for each IPL era, the share of innings in which the same bowler bowled both over 1 and over 20. Expected output: a four-row table (era, innings, share). Then repeat for women's T20Is. Is the "first and last over" bowler commoner in one game than the other?
C2. Analyze this match ⭐⭐. Pick any IPL 2026 match from load_matches("ipl"). For the side bowling second, print the actual plan (bp.actual_plan), the leverage-weighted best plan with the same bowlers, and the per-over difference in weighted value. Output: a 20-row table (over, actual bowler, plan bowler, value difference). Identify the single over whose choice cost the most. Then repeat for the same team's next defence and say whether the costly choice looks like a habit (the same bowler in the same kind of over) or a one-off. Remember that a one-match gap of a run or two is well inside the values' uncertainty, so report it as a pattern only if it recurs.
C3. Build this metric ⭐⭐⭐. bp.run_leverage averages over all chases. Write state_leverage(model, runs_needed, balls_left, wkts) that returns WP(r) − WP(r+1) for one specific state, and use it to compute leverage weights for overs 16–20 from the actual state at the start of over 16 in the Kolkata 2016 final (52 needed off 30, 6 wickets). Assume an average over's runs to project the state forward. How different are these weights from the averages (1.11–2.29)?
C4. Optimize this strategy ⭐⭐⭐. Add a spell constraint to plan_milp: a bowler's overs must form at most two spells, where a spell is a run of overs with gaps of exactly one (e.g. 1-3-5 is one spell; 1-3-12-14 is two). Hint: introduce binary "spell start" variables $s_{b,o}$ with $s_{b,o} \ge x_{b,o} - x_{b,o-2}$ and $\sum_o s_{b,o} \le 2$. Solve for MI's attack with and without the constraint. Output: both plans and the value cost of the constraint. Before you run it, predict the cost. The leverage-weighted plan already gives Bumrah a single spell (14, 16, 18, 20), so the constraint can only bite on the other bowlers. Find which bowlers' overs it moves, and explain why those bowlers were scattered in the first place.
C5. Evaluate this player ⭐⭐⭐. Use bp.ball_values and bp.phase_cells to compute Rashid Khan's (pinned by id) BRS per over by phase by season in the IPL. Plot raw and two-level shrunk values. Does his phase shape change over time, or only his general level? Compare with the Chapter 14 case study on his 2024–26 decline.
C6. Predict this match ⭐⭐⭐. Build a rolling re-planner: a function that takes a match id and innings, and after each over re-solves the remaining overs with the overs bowled fixed and leverage weights from the current state (use your C3 function). Run it on the 2023 women's T20 World Cup semi-final (match 1338060, innings 2). Output: for each over, the bowler the re-planner wanted next and the bowler who actually bowled.
C7. Settle this debate ⭐⭐⭐. "Left-arm pace is the best death option." Using the men's T20 pool, compute the mean phase interaction at the death by the six Chapter 11 bowling groups (not just pace/spin), with bootstrap 90% intervals over bowlers. Output: a six-row table. Does any type have a death interaction clearly different from zero?
C8. Optimize this strategy ⭐⭐. Use plan_milp's exact_overs argument to answer a selection question for Royal Challengers Bengaluru's 2026 attack (the six bowlers in code/project_checkpoint.py). If Krunal Pandya can bowl only two overs because of the conditions, who should take the other two, and where? Output: the plan, overs per bowler and the cost in weighted runs relative to the unconstrained plan. Then repeat with Bhuvneshwar Kumar limited to three overs. Which restriction hurts more, and why?
C9. Build this metric ⭐⭐⭐. Write death_reserve(owners, match_id, innings) that, after each over, reports how many of the remaining death overs can still be covered by the bowling side's top-two bowlers (by pre-match value) under the 4-over cap and the no-consecutive Law. Run it across IPL 2026 defences. In what share of innings could the side's best bowler no longer bowl the 20th by the end of over 15? Compare with innings the defending side lost in the last over.
Part D — Judgment & Format Transfer ⭐⭐⭐
D1. Would this chapter's allocation model work for ODIs (50 overs, 10 per bowler, three powerplays)? Write down the constraint set, explain what changes in the value matrix, and say whether you expect the "five bowlers ⇒ order barely matters" result to survive with ten-over quotas.
D2. The Hundred uses ten-ball ends, a bowler may bowl five or ten consecutive balls, and each bowler has at most 20 balls. Sketch how you would adapt plan_milp for it. Which of the chapter's conclusions do you expect to carry over?
D3. In Test cricket, there is no quota but bowlers tire, and captains bowl spells. Which parts of this chapter's thinking (values, leverage, overlays, re-planning) transfer to planning a Test day's bowling, and which do not? Use Chapter 16's finding about the last over of a pace spell in your answer.
D4. Eye test vs data. Wendell says: "You hold your best bowler for the death because the batters know he's coming. They have to score off the others, so they take risks earlier." Can the data in this chapter test that claim? Propose a test using real Cricsheet data (hint: compare batting-side scoring rates in overs 11–15 in innings where a top-decile bowler still has two death overs left versus innings where he does not).
D5. Imran argues the most valuable output of a bowling plan is the question "if we lose a wicket early, who bowls the 16th?" Design a one-page pre-match "contingency sheet" built from bowling_plan outputs. What three scenarios would you include, and what would each show?
D6. The leverage weights in §31.6 come from men's T20 chases, but the women's weights in §31.9 are almost identical (death mean 1.53 against 1.55). Would you expect them to differ in a league with much higher scores, like the IPL since 2023? Explain what higher totals do to the WP value of one run at the start of over 20, and how you would check it with bp.run_leverage on IPL 2023–26 chases only.
D7. A franchise asks you for "the optimal bowling plan" for its next match and plans to print it for the captain. Write the three caveats you would put at the top of the page, drawing on §31.6's calibration check, §31.8's re-planning and §31.10's list of what the plan cannot see. Then say what you would print instead of a single plan.
Part M — Mixed / Interleaved ⭐⭐–⭐⭐⭐
M1. (Ch 31 + Ch 11) ⭐⭐⭐. Chapter 11 found Shafali Verma's biggest shrunk weakness was against leg-spin (shrunk SR 126.1 against 146.6 expected). Build the matchup overlay for an opposing attack facing India's women's openers, and find the over-by-over plan for an attack containing one leg-spinner. How many overs does the overlay move, and how much is it worth?
M2. (Ch 31 + Ch 14) ⭐⭐. Chapter 14's BRS used a year × phase par; this chapter used competition × year × over. Recompute Bumrah's IPL career BRS both ways and explain the difference in a paragraph.
M3. (Ch 31 + Ch 9) ⭐⭐⭐. Chapter 9's WPA credited Imran Tahir's bowling at Newlands in 2017 (Anchor A) with +0.525 win probability. Using this chapter's tools, value South Africa's attack in that match before the game and find the leverage-weighted plan for the defence. Was Tahir bowling the 16th over the plan's choice?
M4. (Ch 31 + Ch 6) ⭐⭐. Use regression to the mean to explain why the raw phase value predicted 2024–26 worse than predicting par (weighted MSE 1.765 against 1.211). Compute, for the 943 test cells, the slope of observed 2024–26 value on raw pre-2024 value, and relate it to the shrinkage factor $n/(n+k)$.
M5. (Ch 31 + Ch 21) ⭐⭐⭐. Team composition asks how many bowlers to pick. Use plan_milp to compute the plan value of MI's attack with four, five and six bowling options (drop or add Thakur, Pandya, Bosch). How much is the fifth bowler worth? The sixth? Relate this to the all-rounder premium.
M6. (Ch 31 + Ch 20) ⭐⭐⭐. Swap Chapter 9's WP table for Chapter 20's win-probability model inside bp.run_leverage (it accepts any object with predict(runs_needed, balls_left, wkts_in_hand)). Do the leverage weights change? Does the MI plan change?
M7. (Ch 31 + Ch 18) ⭐⭐⭐. Chapter 18 compares pace and spin by conditions. Split the men's T20 pool's death overs by toolkit/venues.py conditions (SENA, Subcontinent, West Indies, UAE) and recompute spin's death share and the spin–pace death interaction in each. Does spin at the death look better in the subcontinent? Report balls per cell and say which differences you would trust.
M8. (Ch 31 + Ch 34) ⭐⭐⭐. Define a bowler's marginal plan value to a squad as the increase in the best leverage-weighted plan value when he is added to the squad's existing five or six options. Compute it for three IPL 2026 bowlers joining two different teams. Explain why the same bowler can be worth much more to one team than another, and why this is a better auction input than his BRS on its own.
Part E — Research & Extension ⭐⭐⭐⭐
E1. A dynamic programme for the whole innings. Replace the static plan with a policy: for every state (over, wickets, runs needed, overs remaining per bowler) choose the bowler who maximises expected win probability for the rest of the chase, using Chapter 19's Markov innings model with bowler-specific outcome probabilities. Compare the policy's choices with the static leverage-weighted plan on IPL 2026 chases. Where do they disagree most?
E2. Women's leagues. Repeat §31.4 and §31.9 for the WPL and the WBBL separately. Is the spin-at-the-death pattern a feature of international women's cricket or of the women's game in general? Report sample sizes for every cell.
E3. Death bowling across leagues. For each men's franchise league in the snapshot, compute the share of death overs bowled by spin, the death economy by type, and the mean death phase interaction by type. Which league is most "spin-friendly" at the death, and does it show up in the within-bowler interactions or only in the raw economies?
E4. The Impact Player and the sixth bowler. Since 2023 the IPL's Impact Player rule has let teams bring in a substitute who can bowl. Using bp.innings_usage on IPL innings before and after 2023, test whether teams now use more bowlers per innings, whether the sixth bowler's share of overs has grown, and whether the IPL 2026 audit gap per innings is larger for teams that used more bowlers. Then use plan_milp to estimate what a genuine sixth bowler (shrunk value 0, league par) adds to a typical five-bowler attack when one frontline bowler has a bad day and can only bowl two overs. Write a 1,000-word note on whether the extra bowling option is worth more as insurance than as a planned part of the rotation. Hedge any statement about how long the rule will stay.