Chapter 18 Instructor Notes — The Strategy Room

Chapter: The Strategy Room: The Pit Wall, Team Radio, and Making Decisions Under Pressure · Exercises · Quiz · Case Study 1 · Case Study 2 · Key Takeaways · Discussion guide

Chapter 18 closes Part II by moving from "what is the optimal strategy?" to "how is a decision made, live, with a clock running and incomplete information?" It treats race control as a data feed, measures how much warning a pit wall gets before a safety car, prices the call with expected value and regret, asks what team radio and lap times can and cannot reveal, and builds an event-driven decision loop, the pitwall.py module of Box Box, that is graded against what real teams did.

Learning objectives

By the end of the session, students should be able to:

  1. List the information streams of a strategy room and say which ones the public data hold, and which they do not.
  2. Treat race-control messages as an event stream, and convert the leader's lap number to a given car's lap.
  3. Measure warning time, escalation probability and the decision window at a safety-car deployment.
  4. Compute the expected value and the regret of boxing an owed stop under a safety car, and explain when the two criteria disagree.
  5. Explain why waiting for a safety car that may never come is usually a losing bet.
  6. Explain, with a signal-to-noise argument, why lap times are a slow sensor for tyre wear.
  7. Grade a rule-based pit wall honestly: agreement against a baseline, plus precision and recall, without "resulting".

Threshold concept

This chapter has no formal threshold concept. Its central idea is the separation of decision quality from outcome ("resulting"). Students who have absorbed it stop asking "was it the wrong call?" and start asking "given what anyone could know at the time, was it a good bet?" The opening dialogue makes the point; return to it at the end of the session.

Suggested 75-minute session plan

Time Segment What happens
0–8 min Hook The 2026 Mexico City GP. Antonelli led by 8.46 s at the end of lap 42 and pitted on lap 43. His in-lap ended 65 s before the first double yellow; the safety car followed 15 s later and the red flag 196 s after the in-lap. He finished third, behind two cars he had been leading. Ask: "Was it the wrong call?"
8–25 min Concept Race control as a feed: a median of 81 messages per GP, about 16 strategic. Warning (88.7% of SCs follow a sector flag, median 29 s), escalation (SC → red 0.159 after lap 1) and the decision window (a median 67.5 s to the line under SC).
25–42 min Live demo Run code/02_mexico_2026.py to replay the event stream and gaps, then code/03_ev_and_regret.py to show EV(box − stay) = +6.21 s at p = 0.159, the break-even p* = 0.435, and the regret table.
42–62 min Activity Exercise D1 (call the pit stop at the 2026 Mexico City GP, lap 43) in pairs: decide first, then compute. Then B4 (waiting for a safety car) at the board.
62–75 min Wrap-up Rules versus reality: the v2 rules match 78.4% of SC and 81.1% of VSC decisions, against never-box baselines of 51.5% and 79.8%. Exit ticket: "Why is 79.8% agreement for a VSC rule unimpressive?"

Key numbers students should leave with

  • Race control (2023–2026, 91 GPs): median 81 messages per Grand Prix, about 16 strategic. 2026 roughly doubled the volume, mostly blue flags and finer sector numbering.
  • Warning: 88.7% of safety cars follow a sector flag, median warning 29 s; VSC 68.4%, median 39 s.
  • Escalation: VSC → SC 7.0%; SC → red 14.3% overall, 0.159 (7/44) for SCs after lap 1; median 156 s from SC to red.
  • Decision window: median 67.5 s to the line (SC) and 64.3 s (VSC); only 3.3% (SC) and 8.0% (VSC) of cars are too close to use this lap's pit entry.
  • Pit loss by status: green 22.512 s, SC 12.722 s, VSC 15.671 s, red 0 s.
  • EV and regret: boxing an owed stop under SC is worth +6.21 s at p = 0.159 and stays positive up to p* = 0.435. Worst case: box 12.722 s, stay 9.790 s — the two criteria disagree.
  • Waiting for an SC: expected saving 0.0186 × 8.985 = 0.167 s per lap of waiting against a median 1.078 s fresh-tyre advantage; waiting 5 laps costs −4.59 s in expectation.
  • "The tyres are gone": the last three laps before green stops run a median +0.127 s above trend; only 7.1% exceed 1 s. Detecting a 0.3 s drop takes about 6 laps (σ = 0.369 s).
  • Radio index: median clips per race fell from 128 (2023) to 30 (2025) — a change in publication, not conversation.
  • Team-mate passes: 8.5% of green passes vs 11.6% adjacency (ratio 0.73).

Common misconceptions and remedies

Misconception Remedy
"The team lost the race, so the call was wrong." Separate decision from outcome. Grade against the state at the time; that is why DecisionLog stores the state with each call.
"Race control's lap number is my car's lap." It is the leader's lap. Convert message time to each car's own lap.
"Always box under a safety car." EV says box the owed stop; a discretionary stop needs its own arithmetic. Regret can favour staying. Name the criterion.
"Stay out, an SC will come." The hazard is 0.0186 per lap in the middle phase. Do B4 together and watch the expected value go negative.
"Radio clips tell us how much teams talk." The published selection changed between seasons. Compare within one selection only.
"If the lap times didn't drop, the driver was wrong about the tyres." Three laps can only confirm drops above about 0.43 s. Absence of evidence is not evidence of absence.
"Every team-mate swap is a team order." Same car and team orders both predict fewer passes. Only a published statement establishes an instruction.
"80% agreement is good." Under a VSC, never-box already scores 79.8%. Report precision and recall too.

Exercises to assign

  • Core (everyone): Part A — A2, A3, A4, A8; Part B — B1 (break-even red-flag probability), B2 (EV at the edge of the interval), B4 (waiting for a safety car), B5 (how many laps to see a drop).
  • Code lab: Part C — C4 (the 2026 Mexico City GP decision log) and C1 (event stream for the 2024 Canadian GP).
  • Judgment: Part D — D1 (Mexico City, lap 43) and D2 (2023 Australian GP, lap 7, P2). D4 (team orders) works well as a short written piece.
  • Stretch: Part C — C5 (fit a VSC rule out of sample on 2023–24); Part E — E1 (a state-dependent red-flag probability) or E2 (a receding-horizon pit wall).
  • Interleaving: Part M — M1 (with Chapter 12's break-even) and M3 (with Chapter 14's flexible one-stop).

Lab tips

  • All scripts run offline from the chapter folder; the full set takes about 66 s. Outputs are saved as code/*_output.txt.
  • Run order: 01_event_stream.py writes p_red_after_sc.csv, which 03_ev_and_regret.py reads. 07_pitwall_replay.py writes the evaluation files that case_study_02.py reads. Run 01 before 03 and 07 before case study 2.
  • 06_team_orders.py reads the cached overtaking classification that ships with the book's data snapshot; if a student's copy is missing it, skip that script rather than rebuilding the classification in class.
  • Gotcha — what counts as a stop: use pitwall.tyre_changes (a change of set), not a pit-lane passage. OpenF1's raw stint table opens a new stint at some same-set pit-lane passages (e.g. the 2025 Canadian GP around lap 67). The processed data drop zero-length stints and merge same-set stints whose tyre ages line up, but where the recorded age jumps by 2 a separate stint remains (36 such boundaries across 2023–26), so a naive stint count still shows extra stops there.
  • Gotcha — pre-race pit rows: at the 2026 Mexico City GP, nine drivers have pit rows stamped about an hour before the start, so is_pit_in_lap is True on their lap 1. tyre_changes ignores them.
  • Gotcha — radio coverage: published clips collapse after 2024 and four 2026 races have none. Keep radio work within a season.
  • Gotcha — metrics.bootstrap_ci returns (estimate, low, high), not (low, high).
  • The lead_s = 10 s assumption in RaceState is labelled 🧪; the chapter reports sensitivity for 5–20 s.

Connections

  • Backward: Chapter 12 (break-even and pit loss), Chapter 13 (the cover rule), Chapter 14 (hazards and incidents), Chapter 17 (lap-1 neutralisations).
  • Forward: Chapter 19 opens Part III with the lap-time analysis that feeds every pace input the pit wall uses; Chapter 22 builds the degradation model behind "the tyres are gone".