Chapter 27 Discussion Guide — Monte Carlo Race Simulation

Chapter: Monte Carlo Race Simulation · Instructor notes

Use this guide after students have read the chapter and run code/01_engine_ingredients.py and code/02_anchor_c_singapore.py. Fan-track students can join every warm-up and debate question without code. Mix code-first and fan-first students in groups of four to six.

Warm-up questions (10 minutes)

  1. 72.5% of 2023–26 Grands Prix had an SC, VSC or red flag. Before reading the chapter, would you have guessed higher or lower? What does that number do to the idea of "the" race time of a strategy?
  2. Explain to a friend who watches on TV why a stop under a safety car is cheaper than a green-flag stop. Use the book's two numbers: 12.722 s under an SC against 22.512 s green.
  3. A commentator says, "At Singapore you always plan two stops because the safety car is guaranteed." What is the first question you would ask?

Analytical questions (20 minutes)

  1. The flexible one-stop has a median gain of exactly 0 over the plain one-stop, yet a positive mean gain (0.84 s in the chapter's main run, 0.46 s in the book's earlier version). Explain how both can be true, and what a strategist should report.
  2. Chapter 14's simplified run said the two-stop is faster in 10.7% of races; the full engine says about 17–19%. The chapter traces most of the change to drawing SC/VSC stop ratios per stop instead of using their medians. Why does a spread in the cost of a stop make the two-stop more often lucky?
  3. Rebuilding the incident library after the 2026 red-flag messages were read correctly raised the flexible option's gain from about 0.49 s to 0.84 s, while the two-stop's mean cost moved by only about 0.2 s. Why does an option react more to red flags than a fixed plan does?
  4. Common random numbers cut the variance of the flexible-vs-one-stop comparison by about 1,570 times. In plain words, what does racing two strategies "through the same races" remove?
  5. The tornado moves the Singapore answer from +4.5 s to +16.6 s depending on degradation and pit loss, while hazard changes move it about a second. Where would you spend a week improving the inputs, and why?

Debate questions (20 minutes)

  1. Motion: "A strategy tool should rank options by expected race time." In field mode at Singapore, the flexible option gains time on average but costs the front-runners about 0.13–0.15 places with the calibrated passing model. Argue for time, for position, or for something else (points, win probability).
  2. Motion: "An engine that beats the grid base rate is ready for the pit wall." Over 15 dry 2026 races the engine beat the grid on Brier and log loss, yet pole-sitters won 10 of 15 while it gave them a mean P(win) of 0.39. Is that ready?

Facilitation notes

  • Anchor the reference result early. Write the book's Anchor C on the board (two-stop +10.1 s, better in 18.9%, flexible one-stop gains 0.84 s) and the earlier version beside it (+10.4 s, 16.8%, 0.46 s). Discussion of question 6 is about why they differ, not which is "right".
  • Keep Monte Carlo error and model error apart. If a group quotes "+10.10 ± 0.26 s" as the answer's uncertainty, point them to the tornado. The interval covers sampling only.
  • Question 9 has no single answer. Good answers say the objective depends on the situation: a championship leader and a car fighting for tenth want different things. Reward students who name the objective before choosing.
  • Watch the fuel-convention trap if code-first students try to change degradation live: the fuel term must match the degradation fit.
  • Debate format: four minutes per side, one minute of rebuttal, then one sentence each on what evidence would change their mind.

In-class data activity (15 minutes): how many races is enough?

Goal: feel the difference between paired and independent comparisons.

  1. In pairs, open code/03_convergence.py and run it as written (about 5 s; it reads the cache from script 02).
  2. Record the flexible-minus-one-stop mean and its standard error at 1,000 and 10,000 races, and the spread across the 40 independent runs of 1,000 races.
  3. Find the common-random-numbers section, which compares a paired difference with two independently seeded runs (seeds 7 and 8). Record both standard errors (the chapter's values are 0.084 s and 3.311 s).
  4. Using the formula $n = (1.96\,s/h)^2$, compute how many races each version would need for a ±0.25 s answer.
  5. Each pair writes one sentence a strategist could act on, including the number of races and the method.

Debrief question: "If you only had time for 1,000 races, which design would you trust to tell you the sign of the flexible option's value?"