Case Study 2 — Does the Simple Model Know How Many Times to Stop? 76 Dry Races, 2023–2026

Setup

Chapter 12 built an optimiser and tested it on two races. Two races are anecdotes. This case study asks the general question. Take every dry race in the book's data, 2023 to Las Vegas 2026. Fit the linear stint model to each, let boxbox.strategy.optimise choose the best stop count, and compare it with what the field actually did.

This is a test of the structure of the model, not of a team's decision. It is deliberately generous to the model: the wear rates come from each race's own stints (hindsight), so the model sees the race's real wear. If it still gets the stop count wrong, the reason is something the model does not contain.

Definitions (all from the chapter): - Dry race: no intermediate or wet tyres and no rainfall flag on any lap (76 of the 91 races). - Model stop count: the stop count of the best strategy found by optimise(max_stops=3). The inputs are fit_race_model(race, pit_loss_s=P), where $P$ is the circuit's pooled green-flag pit loss for 2023–2026 (the race's own if the circuit has fewer than 20 stops). Compounds measured on fewer than 3 stints are left out, and Monaco 2025's three-set rule is applied. - Field stop count: the median stop count of the race's classified finishers (Jolpica "Finished" or "Lapped"). A median of 1.5 (or 2.5) is rounded down. Tyre changes under a red flag are not stops, and finishers who changed tyres during a red-flag suspension are left out of the median, because their stop count no longer reflects a free choice.

The scripts are code/03_how_many_stops.py, which builds code/race_stop_table.csv, and code/case_study_02.py.

The data

Three races have no finisher median, because every classified finisher changed tyres during a red-flag suspension: the 2023 Australian, 2026 Monaco and 2026 Italian GPs. That leaves 73 races. For each we have the race length $N$, the circuit pit loss, the median fuel-corrected stint deg, the field's stop count, the winner's stop count, the model's stop count, and the model's margin between its best two-stop and best one-stop.

Model stop count (rows) vs finishers' median stop count (cols):
actual_round   1   2  3  All
model_stops                 
1             39  15  1   55
2              0  15  2   17
3              0   0  1    1
All           39  30  4   73

Analysis

Agreement

Agreement with the field's median: 55 of 73 = 75.3% [64.4, 83.8]
Agreement with the winner: 52 of 73 = 71.2% [60.0, 80.3]
Naive baseline 'always one stop' matches the field's median in 39 of 73 = 53.4% [42.1, 64.4]

The model matches the field's median stop count in 55 of 73 races (75.3%, Wilson 95% CI 64.4–83.8%). A naive rule, "every dry race is a one-stopper", manages 53.4%. The model also matches the winner's stop count in 71.2% of races. The intervals overlap a little at their edges, but on the same 73 races the model gets every race the naive rule gets right (all 39 one-stop races) plus 16 more.

By season:

2023    10/18
2024    16/20
2025    15/20
2026    14/15

The model did worst in 2023, the season with the fewest one-stoppers (35.5% of dry-race finishers, Section 12.8), and best in 2026.

The misses all go one way

Look at the table again. Above the diagonal, it is empty. In no race did the model call for more stops than the field made. Every one of the 18 misses is a race where the field stopped more often than the model recommended. That is not noise. It is a bias with a direction, and its direction tells us what the model leaves out.

Model says 1 stop, field mostly stopped 2+:
 year                        gp    deg  pit_loss_s  N  model_2_minus_1_s  actual_median_stops  share_1stop
 2023        Spanish Grand Prix  0.059      23.182 66              4.666                  2.0        0.000
 2023       Canadian Grand Prix  0.020      20.269 70             20.504                  2.0        0.222
 2023      Hungarian Grand Prix  0.055      21.144 70              0.643                  2.0        0.000
 2023          Qatar Grand Prix -0.010      27.548 57             44.144                  3.0        0.000
 2023  United States Grand Prix  0.063      21.209 56              5.480                  2.0        0.000
 2023      Las Vegas Grand Prix -0.052      22.427 50             43.116                  2.0        0.412
 2023      Abu Dhabi Grand Prix  0.056      22.665 58              4.609                  2.0        0.158
 2024     Australian Grand Prix  0.054      20.906 58              2.864                  2.0        0.000
 2024        Belgian Grand Prix  0.065      19.274 44              8.386                  2.0        0.056
 2024        Italian Grand Prix  0.043      25.409 53             17.244                  2.0        0.474
 2024      Las Vegas Grand Prix  0.057      22.427 50              5.593                  2.0        0.056
 2025 Emilia Romagna Grand Prix  0.054      28.164 63             12.997                  2.0        0.111
 2025       Canadian Grand Prix  0.040      20.269 70              1.978                  2.0        0.000
 2025          Dutch Grand Prix  0.043      21.805 72              4.607                  2.0        0.176
 2025          Qatar Grand Prix  0.009      27.548 57             27.460                  2.0        0.000
 2026        British Grand Prix  0.053      21.203 52              9.371                  2.0        0.000

(The script prints 16 races here. The other 2 of the 18 misses are races where the model called 2 and the field's median was 3: those are the "2 → 3" cell of the table.)

Model margin between two stops and one, against the share of finishers who one-stopped

📊 Figure (described): Each dry race of 2023–2026 placed by the model's best two-stop minus best one-stop race time (horizontal; positive means the model prefers one stop) and the share of classified finishers who actually one-stopped (vertical). Races where the model's stop count matches the field's median are circles; misses are squares. Where the model strongly prefers one stop (right), most fields one-stopped; where it prefers two (left), almost nobody one-stopped. Misses cluster at the bottom right: races the model rated as one-stoppers in which nearly every finisher stopped twice or more. The takeaway: the model's margin is informative, and its errors are all on the same side.

Median |2-stop - 1-stop| margin in the races the model got wrong: 6.25 s; in the races it got right: 12.47 s
Spearman correlation, model margin vs one-stop share: 0.543

The model's confidence carries information: the median margin was 12.47 s in races it got right and 6.25 s in races it got wrong. Many misses are near-ties (Hungary 2023 at 0.64 s, Canada 2025 at 2.0 s, Australia 2024 at 2.9 s), where any small missing factor could tip the field to a second stop.

Three families of miss

Reading down the miss table, the races fall into three groups. The data alone cannot prove why each group stopped more, so the explanations below are readings, not findings.

1. Near-ties at high-wear circuits. Spain 2023, Hungary 2023, USA 2023, Abu Dhabi 2023, Australia 2024, Las Vegas 2024, Canada 2025 and the Netherlands 2025 all have margins under 6 s. In a near-tie, a factor worth a few seconds decides. The model's list of omissions in Section 12.9 contains several such factors, and every one of them pushes toward more stops: - the undercut threat, which pulls stops earlier and can make a long final stint untenable; - track evolution absorbed into measured deg, which understates true wear; - the true tyre life, which managed race stints never reveal.

2. Zero or negative measured wear with many stops. Qatar 2023 (deg −0.010, three stops), Las Vegas 2023 (−0.052) and Qatar 2025 (0.009) show margins of 27–44 s in favour of one stop, yet almost no finisher one-stopped. With wear near zero or negative, the linear model sees no reason to stop beyond the one the rules require. Whatever drove these strategies is invisible in fuel-corrected lap-time slopes. It could be a tyre-life limit, a safety-car pattern, or something in the race's circumstances. That is the lesson: when the model is confidently wrong, look outside it before blaming its inputs. (The book's reference files record no stint limit for these races. A claim that one existed would need a source.)

3. Races with a rule or a neutralisation pattern. Italy 2024, where the field split almost evenly (47% one-stopped), is a race where the stop count probably reflects track position and safety-car opportunities more than wear. Monaco 2026, where on-track passing is rare (see Chapter 35), would belong here too, but every finisher there changed tyres during a red-flag suspension, so it drops out of the test. For Monaco 2025 the three-set rule was applied, and the model then agreed with the field. That is an example of a miss fixed by encoding a rule correctly.

What it means (and doesn't)

What it means. - A model with three measured inputs (wear, pit loss, race length), the two-compound rule and the tyre allocation calls the field's stop count three times in four. That is well above the one-stop base rate. - Its errors are one-sided. The factors it omits (safety cars, tyre-life limits, rival interaction, track evolution inside measured wear) all push toward more stops. A strategist using this model should treat a one-stop call with a margin under about 5–7 s as "one-stop if nothing happens", and plan the two-stop as the likely alternative. - The model's margin is a useful confidence measure. Large margins were right more often than small ones.

What it doesn't mean. - It doesn't evaluate any team's decisions. The inputs are hindsight, so this is an upper bound on how well the model could do. Exercise E2 asks you to rebuild it with pre-race inputs. - Agreement with the median finisher is not agreement with the optimal strategy. Fields can be collectively wrong. The model's job is to say what is fast on an empty track, and the field's job is to win a race with 20 rivals in it. - The intervals are wide. With 73 races, 75.3% has a 95% interval of 64.4–83.8%. Do not over-read the season-by-season numbers.

Discussion questions

  1. Why is a one-sided error pattern more useful to a strategist than a symmetric one of the same size?
  2. The model matched the field in 14 of 15 races in 2026 and 10 of 18 in 2023. Propose two hypotheses for the difference, and say which data in the book would test each.
  3. Qatar 2023 shows near-zero measured wear and a three-stop field. What evidence would you need before saying why? Where in the book's data would you look first?
  4. How would adding the safety-car hazard from Chapter 14 change the model's calls in the near-tie races? Would it fix the bias, overshoot, or neither?
  5. Is "agreement with the field's median" the right score for a strategy model? Suggest a better one that uses race results.

Your turn

Rebuild the test with pre-race inputs only (Exercise E2): for each race from 2024 onward, take the deg from the previous season's race at the same circuit, and the circuit pit loss from other seasons only.

  1. Report the new crosstab and agreement rate with a Wilson interval.
  2. Does the bias toward too few stops get better or worse?
  3. Plot the equivalent of Figure CS2.1.
  4. In 200 words, say what a team gains from same-weekend practice data that a previous-season model cannot provide. Chapter 22 is the place to check your answer.