Chapter 32 Notes — Field Placement Optimization
Chapter link: Chapter 32
Overview and learning objectives
Chapter 32 asks where the nine fielders should stand, using a record that holds no fielding positions and no shot directions. In the hook Wendell moves three men back on two seasons of watching; Nusrat's data can't see where anyone hits the ball, but it can see the rule's effect: across 5,807 men's T20 matches since 2015, 20.70 boundaries per 100 legal balls in over 6 and 11.15 in over 7.
The chapter runs on three layers (see the next section): real outcomes and WP fitted to real chases (the restriction step, −1.58 runs per over; Newlands, a wicket worth 1.9 runs); a model calibrated to real rates (coverage model and optimiser); and simulated directions (every wheel and field). Its transferable results are methods: the attack-or-defend break-even (2.5 runs middle, 10.4 death; 99.7% agreement with full WP across 630 states), the slip break-even edge rate, and a hold-out test in which a 60-shot personal field gains +1.63 runs per over in sample and loses 0.30 out of sample. The Crease module is fields.py.
By the end of the chapter students should be able to:
- State the T20 and ODI fielding restrictions (ODI 2/4/5 outside since 5 July 2015) and Law 28.4, and check a field with
check_field. - Estimate and interpret a restriction step by regression discontinuity with a match bootstrap, including the pace/spin split.
- Label every result in the chapter as real, model or simulated, and phrase each one correctly.
- Explain why a simulated wheel's split-half reliability (0.85) is an artefact of the name hash (0.96).
- Compute an attacking field's break-even wicket value and apply the runs-equivalent rule to a chase state.
- Compute a catcher's break-even edge rate in T20 and in Tests.
- Distinguish in-sample from out-of-sample gains for a batter-specific field, and explain why shrinkage protects against overfitting.
Keeping real and simulated results apart: required reading for instructors
Like Chapter 15, this chapter is easy to teach badly, because the optimised fields are the most memorable pictures in it and they rest on simulated directions. Build the separation into every slide and every answer.
- Use three labels, not two. Tag every number on a slide REAL (Cricsheet outcomes, or WP fitted to real chases), MODEL (the coverage model calibrated to real rates: shot mixes, fielder values, break-evens) or 🧪 SIMULATED (anything with a direction). Section 32.10 makes exactly this split; put its three paragraphs on one slide and return to it at the end. Results that combine layers, such as the attack-or-defend grid (🧪 fields priced with real WP), carry both labels.
- Say the caption aloud. Before any wagon wheel or field diagram, say: "The outcomes are real. Every direction is simulated. Nothing here says where any real batter hits the ball." Every figure caption reads simulated tracking layer — real outcomes, simulated locations, and the scripts print
[SIMULATED]. - Never let a field become a fact about a player. The only real name used with the layer is "SA Yadav", and it appears only in the alias test, to show that the result belongs to the name's hash (third-man share 16.6% → 7.6% for the same 2,041 balls under another spelling). The six batters in the overfitting test are deliberately anonymised. "Suryakumar needs a third man" is forbidden in class, in assignments and in exams. Mark down any submission that states a simulated zone or field as a fact about a real batter.
- "Model" is not "measured." The shot-type mixes (e.g. middle-overs pushes 0.505, death lofts 0.421) are calibrated so that conventional fields reproduce real IPL 2024–26 rates. They are not observed intentions. The "55–60% of the step is geometry" estimate rests on fixed batter intent and assumed reach constants.
- Show where the model fails and why that is informative. The fixed-intent model predicts catches rising by 2.4–2.8 per 100 balls when the field spreads. In reality they fall by 0.6–0.9. That failure is Wendell's "half the step is in the batter's head", made visible.
- Teach what transfers. The overfitting table, the break-even rules and the RD design hold for real data. Section 32.7 says so explicitly: a real wheel from n real shots has at least as much sampling noise as a simulated one.
Where students struggle
- Why fit lines, why bootstrap matches. Scoring drifts within a phase; balls in one match are not independent (Exercises A4–A5).
- The spin confounder. Spin's share of typed balls jumps from 28.2% in over 6 to 64.3% in over 7. The split by type (pace −8.94 and spin −7.81 boundaries per 100 balls) is the control.
- Catches fall at over 7 (3.11 → 2.32 per 100 balls) even though more fielders go deep. Students expect the opposite. Batters stop lofting.
- Runs versus runs-equivalent. The middle-overs optimised field saves 1.15 runs per over (8.82 → 7.67) but 1.29 runs-equivalent, once catches are valued at 6.22 runs. Both numbers appear in the chapter.
- The runs-equivalent formula. It is a ratio of two WP changes. Small negative values (−0.1 to −0.7) late in a chase mean "worth nothing", not "you want them in". Women's wickets are worth fewer runs because each run is a bigger share of a smaller target.
- "Attacking" with five on the rope. In T20 the catches come down on the rope. The slip-and-gully shape with two out is dominated (more runs and fewer catches) at both stages.
- Units and script order. Rates are per 100 legal balls (divide by 16.67 for per over).
04–07read files written by earlier scripts;05takes about 2 minutes and07about 100 seconds.
Pacing
50-minute session.
- 0–6: The hook; show the 20.70 → 11.15 pair.
- 6–12: §32.1 rules and the two check_field outputs.
- 12–24: §32.2–32.3 (REAL): the RD step, the pace/spin split, IPL eras; Wendell's eye test.
- 24–32: §32.4 (🧪) audits: the alias test and the "survives / does not survive" table.
- 32–44: §32.8: runs-equivalent of a wicket (REAL), the attack-or-defend rule, Newlands at 1.9 runs.
- 44–50: Slip break-even and §32.9 format by format; Imran's eye test.
75-minute session. Add §32.5 with the productive struggle (which fielder to drop) and §32.7's overfitting table (15 minutes), plus a 10-minute live demo. Lab: 75–90 minutes, scripts run in numeric order. Start 05 and 07 early and discuss 01–03 while they run.
Lecture outline
- Law 28.4; T20 and ODI caps; Tests unrestricted.
- REAL profiles: fours 15.36 → 8.68 per 100 balls (powerplay → middle); sixes rise to 7.94 at the death; caught share about two-thirds throughout.
- REAL RD step: boundaries −9.85; runs −1.58 per over; IPL −1.77 / −1.88 by era; women −0.86; ODI −0.43 (over 10) and −0.24 (over 40).
- 🧪 Audits: alias, split-half 0.85, name hash 0.96.
- MODEL: shot types, reach, calibration to real IPL 2024–26 rates.
- MODEL/🧪: fielder values (mid-off +0.05, deep square leg +0.63); optimised savings 1.20 / 1.29 / 0.40; geometry 0.87 of the ~1.5-run step; wrong-wheel cost +0.52.
- 🧪 Personal fields: in versus out of sample.
- REAL WP: runs-equivalent grids; Newlands 1.9, then 2.8.
- 🧪 × REAL: break-evens 2.5 / 10.4; slip edge rates (194 balls in over 3, 33 in over 18).
- Formats (CS1 ODI fifth fielder; CS2 Test slips) and what real tracking would change.
Live coding demo
Part 1 (REAL): code/02_restriction_steps.py (about 15 seconds).
1. Run it unchanged. Expected: spin share 28.2% → 64.3%; men's T20 boundary_pct 20.70 → 11.15, jump −9.85 (−10.18 to −9.48); runs jump −26.28 per 100 balls (all bowlers), −24.74 (pace only).
2. Live change, a placebo cut: add run("placebo 10.5", men, 10.5, (7, 8, 9, 10), (11, 12, 13, 14)), where no rule changes. Ask for predictions first; don't promise a number. Compare whatever prints with the real step, as in Chapter 15's audits.
Part 2 (🧪): code/06_batter_specific.py (about 70 seconds). Say first that everything it prints is a property of the simulation. Expected: raw 60 shots +1.633 in sample / −0.298 out; shrunk all shots +0.038 / +0.110. Live change: in for n in (60, 200, len(train)) try (30, 400, len(train)). Ask which column to believe. (Out of sample.)
In-class activity — "Attack or defend? Label your inputs"
Groups get the break-evens (attacking field 2.5 runs middle, 10.4 death; death slip 0.22 runs-equivalent per over; catch rate 0.75) and five chase states with their runs-equivalent of a wicket: Newlands after 15 overs (1.9); men, 54 balls, 7 in hand (5.7); men, 108 balls, 3 in hand (10.5); a women's chase, 40 off 30 with 6 in hand (3.2); the 2016 World T20 final, 19 off 6 with 4 in hand (about 1–1.5 from the men's table). Each group decides attack or defend, computes one slip break-even, and tags every input REAL, MODEL or 🧪, scoring a point per correct decision and per correct tag. The women's case should prompt the B9/D5 caveat: the break-evens were calibrated to men's IPL rates.
Answers and teaching notes for key exercises
- B3. (0.69 / 6) / (1.11 / 100) ≈ 10.4 runs. A wicket worth 4.4 is far below it, so defend.
- B4. About 2.2 from rounded inputs (the script reports 2.5 from unrounded ones). 5.7 > 2.5, so attack. Use the rounding gap to show why scripts report unrounded results.
- B5. 0.22 / (0.75 × 9.5) ≈ 0.031 per over, one edge every ~194 balls. 0.22 / (0.75 × 1.6) ≈ 0.183 per over, one every ~33 balls.
- B6. Third slip 0.567 / 23.1 ≈ 0.0245 per over (one edge every ~41 overs); fourth 0.861 / 23.1 ≈ 0.0373 (one every ~27 overs).
- B10. Optimised 10.34 − 0.47 = 9.87; conventional 10.78 − 0.51 = 10.27. The optimised field is 0.40 better despite fewer catches, because a death catch is worth only 1.42 runs.
- C4 (sketch). A rider can catch a six but can't stop one. Sixes fall 1.55 per 100 balls (−1.74 to −1.35) and catches fall 0.92, so batters loft less once the field spreads. The fixed-intent model's rising catches are the clearest evidence that intent changes. All numbers here are REAL except the model comparison.
Assessment ideas
- Required written task: Exercise D4 (the pundit's "must have a third man" claim) or D3 (decisions fixed intent could reverse). Grade on correct layer labels, no simulated claim about a named player, and use of the in-sample/out-of-sample table.
- Code task (REAL): Exercise C1, the restriction step by competition. Students must rank by the interval's lower end as well as the point estimate.
- Code task (🧪): Exercise C6 (a responsive loft share), reporting sensitivity to the 0.03/0.06/0.09 coefficient as the honest error bar.
- Exam item: "A simulated wagon wheel shows split-half reliability of 0.85. Explain in three sentences why this is not evidence of stable scoring zones." Look for the name hash (0.96) and "could the test have failed?".
- Timed write: quiz 20.
Format, gender and region diversity notes
- Women's cricket. The women's step is smaller (−0.86 runs per over; boundaries −3.82 off pace, −6.95 off spin) because women's sixes are rarer (1.33–2.95 per 100 balls by phase against 4.23–7.94). Caught share is 55.8% against 66.7%; the women's over-41 ODI step is indistinguishable from zero; women's runs-equivalent values run about two-thirds of the men's.
- Format. Case Study 1's ODI rule change: −0.72 runs per over, about 7 runs an innings. Case Study 2 prices Test slips; 68.55% of SENA pace dismissals are catches against 52.44% for subcontinent spin.
- Region. Imran's Headingley-versus-Rawalpindi eye test: the break-even is format-level, the edge rate is local. Dhaka, Port of Spain, Newlands and Eden Gardens carry the examples.
Connections
- Wagon-wheel convention: Chapter 7; auditing a simulated layer: Chapter 15; catch values: Chapter 17; WP v1: Chapter 20.
- Shrinkage: Chapter 6, Chapter 11; rules: Appendix E.
- Bowling plans: Chapter 31; next, the declaration: Chapter 33; real tracking: Chapter 40.