Chapter 21 Notes — Team Composition and Balance

Chapter link: Chapter 21

Overview and learning objectives

Chapter 21 asks the selector's questions with data. The hook is the 2026 men's T20 World Cup final in Ahmedabad. By pre-match record, New Zealand walked out with four specialist bowling options and three part-timers, and the part-timers went for 83 in 7 overs. India carried five options and won by 96 runs. The chapter is careful to say that composition did not decide that final.

From there the chapter makes five moves:

  1. It infers roles that Cricsheet does not record, using only each player's record before the match.
  2. It shows that the count of bowling options picked has no measurable within-team effect on winning in any of six competitions (IPL −0.0 points, 90% CI −3.5 to +3.5).
  3. It puts batting, bowling and run-out fielding into one currency, runs above replacement (RAR).
  4. It builds a mixed-integer XI optimiser and runs it on real IPL 2026 squads.
  5. It measures the all-rounder premium (0.70 → 0.35 runs per match under the Impact Player rule) and the price of a sixth bowling option (1.29 → 0.41).

It closes with Tests (the fifth bowler as a workload absorber) and women's cricket, where all-rounders are the norm. The module is selection.py.

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

  1. Apply the pre-match role definitions (bowling option at 10%+ prior bowling share, part-timer at 2–10%, top-order batter, all-rounder) and explain why using the current match or the whole career is a look-ahead error.
  2. Distinguish "bowlers used" (shaped by the match) from "bowling options picked", and interpret a team-season fixed-effects estimate with its interval.
  3. Compute batting and bowling runs above replacement from per-ball values and replacement levels (batting −0.216, bowling −0.122 runs per ball against par).
  4. State the XI selection programme's objective and constraints, and interpret its outputs: optimum, marginal value, price of flexibility, all-rounder premium.
  5. Explain why the Impact Player rule halved the all-rounder premium, using the top-order share of IPL overs (26.4% → 18.5%; difference-in-differences against T20Is −14.7 points).
  6. Explain the survivorship problem in spell data ("captains already act on bad starts").
  7. Compare the role of the fifth bowler in Tests (10.7 overs, average about 65) with ODIs and T20.

Where students struggle

  • Look-ahead in role labels. The first rule students design labels a player as a bowler because he bowled in this match. Work the productive struggle in class; it is the chapter's most transferable lesson.
  • "Winners used fewer bowlers, so pick fewer bowlers." This is selection on the outcome: losing causes more bowlers to be used. Tie it back to Anchor C (Rohit 58.46 v 36.01) in the Spaced Review.
  • Raw v within-team win rates. IPL win % rises from 45.8 (four options) to 53.4 (seven), but the within-team estimate is −0.0. Students need to see that better teams both win more and have more options.
  • Replacement level as a choice. The asymmetry (a batting gap twice as wide as bowling) surprises students. The sensitivity results matter here: a "top 100/70" fringe gives −0.474/−0.148 and "top 50/40" gives −0.109/−0.095. Make them say which question each definition answers.
  • MILP as a black box. Students who have never seen integer programming find §21.4 intimidating. Lead with the plain-English constraints (eleven players, seven batting slots plus depth, 20 overs, four overs maximum each, a keeper, four overseas). Skip the formulation for Fan Track groups.
  • Premium v value. Narine's premium is 1.51 runs a match while his value is 13.8. The premium is the value of the place saved, not of the player (Exercise B3).
  • Reading the optimiser as a selection. Rashid Khan is left out of Gujarat's checkpoint XI. Stress the chapter's framing: it is "a precise question for the selection meeting", not a recommendation.

Pacing

50-minute session. - 0–8: The hook. Show New Zealand's bowling card and ask "how many specialists?" before revealing 4 + 3. - 8–18: §21.1–21.2. Role definitions; options per XI by format; the within-team null result. - 18–30: §21.3. The RAR table (Kohli 14.2, Sai Sudharsan 13.8 and Narine 13.8 a match) and the five two-way regulars out of 117. - 30–42: §21.4–21.5. RCB's optimal XI (58.0); marginal values; the premium and the price of flexibility. - 42–50: §21.6. The Impact Player rule and the halving of the premium.

75-minute session. As above, plus a 15-minute live demo of the optimiser and 10 minutes on §21.7–21.8 (Test fifth bowler; women's two-way players). Lab time: 45–60 minutes. The scripts take about two minutes in total, and 01_composition.py alone takes about 41 seconds. 02_player_value.py must run before 03_xi_optimiser.py, because it writes the cache file the optimiser reads.

Lecture outline

  1. Hook: the Ahmedabad final; 16 overs of specialist capacity for a 20-over job; Neesham's 1-run, 3-wicket 16th over and 24-run 20th.
  2. Inferring roles without look-ahead; Impact Player team lists carry 12 names from 2023.
  3. What real XIs look like: options per XI (Tests 4.26, ODIs 5.15, T20Is 5.05, IPL 5.23, women's ODIs 5.47, women's T20Is 5.39); bowlers used per innings.
  4. Does carrying more options win? Raw rates rise; the within-team estimates sit around zero with every 90% interval including it.
  5. One currency: wicket value by over (18.7 in over 1 → 9.2 in over 10 → 1.3 in over 18); per-ball value above par; replacement level; fielding via run-outs only.
  6. RAR leaders and the rarity of two-way players (Narine, Jadeja, Axar, Russell, Green). Hardik's IPL 2024–26 batting +61.9 and bowling −72.6.
  7. The XI optimiser: brute force v greedy v MILP; the #8 depth weight of 0.273; shrinkage toward replacement.
  8. RCB 2026: 58.0 (eleven-player rule) v 52.3 for the most-used twelve; marginal values; Jitesh Sharma as the only inferred keeper (infeasible without him).
  9. All-rounder premium and price of flexibility; the sixth bowler as insurance (+0.09 runs per innings) v as a match-up option (Wendell).
  10. The Impact Player rule: shape, not just scores.
  11. Tests and ODIs: the fifth bowler; subcontinent v SENA spin options; the Test all-rounder club.
  12. Women's cricket: 13 two-way players in T20Is; Hayley Matthews 16.83 a match.

Live coding demo

Scripts: code/02_player_value.py (run before class), then code/03_xi_optimiser.py.

  1. Run 03_xi_optimiser.py unchanged. Expected: "Optimal selection, Eleven-player rule: 58.0 runs above replacement per match". The XI is Kohli 12.81, B Kumar 7.36, Hazlewood 7.06, Patidar 6.82, Salt 6.61, Krunal Pandya 5.51, VR Iyer 4.79, David 3.67, Rasikh Salam 1.45, Duffy 1.38 and Jitesh Sharma 0.54 as keeper. Exactly five bowlers bowl four overs each.
  2. Read the marginal-value table: Kohli 11.47, Bhuvneshwar 7.53 (slightly above his 7.36 contribution), Hazlewood 7.23, and Jitesh Sharma NaN. Ask the class why NaN appears.
  3. Live change 1: set max_overseas=5 and re-solve. The chapter reports no change (58.0 either way). Ask: "So is the overseas cap irrelevant?" (For this squad, yes.)
  4. Live change 2: pass min_capacity=24 to force a sixth bowling option. Expected objective 54.15 (cost 3.84). Then set impact_player=True with the same requirement and compare with the chapter's 57.82 (cost 1.38).
  5. Live change 3 (if time): force_out a player the class chooses and predict the new optimum before solving. Don't promise numbers beyond those in the chapter.

The alternative demo is project_checkpoint.py, which prints the IPL 2026 final's team sheets and Gujarat's optimal XI (59.9) without Rashid Khan.

In-class activity: "The selection meeting"

Groups of four get the RCB squad table from §21.4 (per-innings batting, per-over bowling, role flags). The task has three parts:

  • (a) By hand, pick an XI that meets the constraints and estimate its value from the table.
  • (b) Compare your XI with the optimiser's 58.0. Where did your instinct differ?
  • (c) Name one piece of information about a specific 2026 opponent that would justify a sixth bowling option worth more than the 3.84-run price.

Each group presents its answer to (c) in one sentence. This sets up Wendell's "match-up option" argument and Chapter 31.

Answers and teaching notes for key exercises

  • B2. (a) 0.73 runs per over. (b) 64.8 runs. (c) 36.6 runs. A par batter is worth more above replacement than a par bowler with the same balls, which is why 67.1% of positive RAR comes from batting. Ask students whether that is a fact about cricket or about the replacement definition.
  • B3. 13.76 per match; 71.4% from bowling; the premium (1.51) is the value of the place saved. A good exam item.
  • B4. Sixth option 3.85 (3.84 unrounded), seventh 4.96; costs rise as better batters are displaced. Under the Impact Player rule a bowler no longer displaces a batter.
  • B6. 1.9% of spells start badly; about 0.91 saved per swap; about 0.09 runs per innings in total. Insist that students add the survivorship caveat: after a bad start only 33.2% of bowlers completed their quota.
  • B8. Inconsistent. The interval tops out at +2.9 points, so "five per cent more matches" is ruled out.
  • D2 (Eye test v data on the sixth bowler). The strongest answers accept that the model prices insurance, not choice. They treat the 1.29-run average price as the bar a specific match-up plan must clear, and they name what evidence (Chapter 18's type-by-conditions and handedness effects) would show it clears that bar.

Assessment ideas

  • Problem set: compute RAR for one player from given per-ball values (as in the Jadeja Try-it: batting 1.97 a match, bowling 3.15 a match, total 5.1) and write a two-sentence note to a coach.
  • Code task: run the optimiser on a second IPL 2026 squad, report the optimum, marginal values and price of a sixth option, and write one paragraph of "questions for the selection meeting".
  • Short essay (D3): if the IPL dropped the Impact Player rule for 2027, which players would gain value, and why? Grade on use of the 0.35 → 0.70 premium and the top-order bowling share.
  • Quiz item on look-ahead: give a role rule and ask students to find the leak.

Format, gender and region diversity notes

  • Women's cricket reverses the men's scarcity. Women's XIs carry 2.32 (T20Is) and 2.12 (ODIs) all-rounders against the men's 1.52 and 1.37. Thirteen women's T20I players add more than a run a match from both skills. Hayley Matthews (West Indies, 16.83 a match) leads, with Amelia Kerr, Chamari Athapaththu (listed as "AC Jayangani"), Orla Prendergast of Ireland, Ellyse Perry, Deepti Sharma, Marizanne Kapp and others. Nine nations have at least one. Case Study 1 (Australia's women) is a strong second lecture: Australia won 83.5% with 3.51 all-rounders per XI, yet within team-years an extra all-rounder is associated with −5.2 points.
  • Region: Case Study 2 covers India's home Tests (Ashwin and Jadeja). Shakib Al Hasan (4,356 runs at 37.55, 226 wickets at 32.58) is third in the Test all-rounder club, which matters for Nusrat and for Bangladeshi students. Subcontinent home sides play two or more spinners in 84.6% of Tests, SENA home sides in 4.0%.
  • Data gap: Rashid Khan's record outside the franchise leagues is missing from the data (Afghanistan's men's internationals are not in Cricsheet). Make this explicit when the checkpoint leaves him out.
  • Formats: the chapter covers Tests, ODIs, T20Is and the IPL. Don't let the IPL optimiser crowd out §21.7.

Connections