Case Study 1 — Bahrain 2024: The Race Where Everyone Stopped Twice
Setup
The 2024 Bahrain Grand Prix opened the 2024 season over 57 laps. It was a clean race: race control recorded no safety car, no VSC and no red flag. That makes it an ideal laboratory for the optimiser of Chapter 12. With no neutralisations to reshuffle the costs, the green-flag model should be at its best.
It is also a race where the field agreed almost unanimously. All 20 cars were classified. Seventeen stopped exactly twice and three stopped three times. No one stopped once, and every car started on the soft. That unanimity is a strong statement about what the teams believed, and we can test it against the data.
The questions for this case are:
- Does the linear stint model, fitted to this race, agree that two stops beat one?
- How close were the actual strategies to the model's optimum?
- Could a team have known before the race? What does a model built from the 2023 race say?
Everything below comes from code/case_study_01.py.
The data
The race is loaded through the toolkit and the strategies are read with boxbox.strategy.actual_strategies. That function merges pit-lane passages that kept the same set and does not count tyre changes under a red flag (there were none here).
position acronym grid sequence stop_laps first_set_age
1 VER 1 S-H-S (17, 37) 3
2 PER 5 S-H-S (12, 36) 3
3 SAI 4 S-H-H (14, 35) 3
4 LEC 2 S-H-H (11, 34) 3
5 RUS 3 S-H-H (11, 31) 3
6 NOR 7 S-H-H (13, 33) 3
7 HAM 9 S-H-H (12, 33) 3
8 PIA 8 S-H-H (12, 34) 3
9 ALO 6 S-H-H (15, 41) 3
10 STR 12 S-H-H (9, 27) 0
...
16 HUL 10 S-H-H-S (1, 20, 41) 0
Stop counts among finishers: {2: 17, 3: 3}
The first nine cars all started on softs that were 3 laps old: sets used in the Q3 shootout. Positions 10 onward mostly started on new softs (age 0), because those drivers had not needed them in Q3. That split matters, because a used starting set is already partway through its wear.

📊 Figure (described): One bar per driver in finishing order, segmented by stint and coloured by compound (soft red, hard white). Every car starts on the soft; almost every car runs two long hard stints; Verstappen, Pérez and Ricciardo finish on a second soft set. Hülkenberg (who stopped on lap 1) and the two other three-stoppers, Gasly and Sargeant, sit near the bottom of the order. The takeaway: the field read this race as a two-stopper, with the hard as the race tyre.
The model inputs come from fit_race_model. Degradation is the median canonical stint slope, fuel-corrected at the toolkit's labelled 100 kg × 0.03 s/kg assumption, over the race's own stints with at least 8 usable laps. That is hindsight, and we return to it below.
compound deg_s_per_lap deg_iqr_low deg_iqr_high n_stints offset_s warmup_s
SOFT 0.094 0.084 0.147 23 -0.136 0.450
HARD 0.092 0.076 0.113 37 -0.039 0.111
N = 57, pit loss 24.271 s (n = 41)
Critical deg for a 2nd stop: 0.0896 s/lap
Bahrain is a high-wear circuit and a dear place to stop. Its pooled pit loss of 24.13 s ranks among the higher values in Figure 12.3, and this race measured 24.271 s over 41 green stops. The two compounds wore at almost the same rate, about 0.09 s/lap. That is right on the second-stop threshold of 0.0896 s/lap. The simple theory of Section 12.4 calls this race a coin flip.

📊 Figure (described): Verstappen's clean laps at the 2024 Bahrain GP, fuel-corrected, against tyre age for each of his three stints, with each stint's fitted line and its slope in the legend. The first soft stint wears at 0.084 s/lap (95% CI 0.055–0.113, n = 13 usable laps), the hard stint at 0.113 (0.101–0.125, n = 18) and the final soft stint at 0.086 (0.017–0.156, n = 19). The takeaway: the leader's wear was close to the field's median, and the wide interval on the last stint shows how noisy a single stint's slope can be.
Analysis
Step 1: one stop or two?
With a new starting set (age 0), the optimiser gives:
sequence n_stops stop_laps stint_lengths race_time_s gap_s
S-H 1 (29,) (29, 28) 5569.975 1.229
S-H-S 2 (19, 38) (19, 19, 19) 5568.745 0.000
S-S-S-H 3 (14, 28, 43) (14, 14, 15, 14) 5580.456 11.711
The best two-stop beats the best one-stop by only 1.23 s. For a car on new tyres at the start, the model says the race was a near tie, exactly as the critical-rate formula predicted.
But the front nine did not start on new tyres. Re-run with a 3-lap-old starting set:
With a 3-lap-old starting set:
sequence n_stops stop_laps stint_lengths race_time_s gap_s
S-H 1 (27,) (27, 30) 5577.858 3.988
S-H-S 2 (17, 37) (17, 20, 20) 5573.871 0.000
S-S-S-H 3 (12, 27, 42) (12, 15, 15, 15) 5584.184 10.314
Now the two-stop wins by 4.0 s. The used set penalises a long first stint: every lap on it costs three laps' worth of extra wear. The one-stop needs a long first stint; the two-stop does not. A detail as small as a qualifying run can move the stop-count decision.
The model's best plan for the leaders is S-H-S with stops after laps 17 and 37: three almost equal stints. That is exactly what Verstappen did.
Step 2: how close were the actual strategies?
Each finisher's actual strategy is priced against the optimum for the same starting-set age:
position acronym sequence stop_laps age cost
1 VER S-H-S (17, 37) 3 0.00
2 PER S-H-S (12, 36) 3 2.23
3 SAI S-H-H (14, 35) 3 2.19
4 LEC S-H-H (11, 34) 3 4.26
5 RUS S-H-H (11, 31) 3 5.09
6 NOR S-H-H (13, 33) 3 3.10
7 HAM S-H-H (12, 33) 3 3.63
8 PIA S-H-H (12, 34) 3 3.45
9 ALO S-H-H (15, 41) 3 4.06
10 STR S-H-H (9, 27) 0 12.28

📊 Figure (described): The model's one-stop Soft–Hard race time as a function of stop lap (curve), its best two-stop (dashed line at zero) and each classified finisher's actual strategy priced by the model (dots, placed at their first stop lap). The one-stop's best point is 4.0 s above the best two-stop. Verstappen's S-H-S sits on the optimum; most of the top nine sit 2–5 s above it, all stopping earlier than the model's lap 17. The takeaway: the field's strategy shape was right, and its timing was systematically early.
Three patterns stand out:
- The shape was right. Every finisher two- or three-stopped, and the model agrees a one-stop was slower.
- The timing was early. Eight of the top nine stopped for the first time between laps 11 and 15. The model's optimum is lap 17. Stopping five or six laps early costs 2–5 s in the model, the same pattern as Barcelona 2026 in the chapter. A plausible reading is undercut pressure: when one car in a close group stops, the cars around it must respond or lose time on track. The model races one car and cannot see that.
- The finishing compound mattered a little. S-H-S finishers (Verstappen, Pérez, Ricciardo) price slightly better than S-H-H because the model's pooled offset makes a new soft 0.136 s/lap faster than a new medium, against −0.039 for the hard. Over a 20-lap final stint, that gap is worth about 1.9 s. The offset is measured, but it is small, so do not read too much into the ranking.
The cars further back pay more in the model. Stroll's (9, 27) costs 12.28 s: a very early first stop and a 30-lap final stint. Cars further back also race in traffic, a cost the model does not price. Their numbers are best read as "this is what the strategy would cost on an empty track".
Step 3: could a team have known beforehand?
The hindsight model uses the race's own stints. A strategist on Sunday morning had the 2023 Bahrain race instead. So we fit the model to 2023, set the race length to 57 laps and the starting set to age 3, and restrict the compounds to soft and hard:
'Before the race' inputs (2023 Bahrain GP):
compound deg_s_per_lap n_stints
SOFT 0.167 29
HARD 0.089 29 pit loss 24.337
sequence n_stops stop_laps stint_lengths race_time_s gap_s
S-H 1 (18,) (18, 39) 5677.882 15.702
S-H-H 2 (10, 33) (10, 23, 24) 5662.180 0.000
S-H-H-H 3 (7, 23, 40) (7, 16, 17, 17) 5669.186 7.005
The 2023 data show a much faster-wearing soft (0.167 s/lap against 2024's 0.094), so the pre-race model says two stops, by 15.7 s, with a short opening soft stint and two hard stints: S-H-H. The stop-count call is the same as hindsight's, and more emphatic. The timing is not: the pre-race model wants the first stop at lap 10, while the hindsight model wants lap 17. The field's actual first stops, mostly laps 11–15, fall between the two.
What it means (and doesn't)
What it means. In a clean, high-wear race, the simple linear stint model gets the strategy shape right with both pre-race and hindsight inputs, and the winner's strategy matched the hindsight optimum to the lap. The decision that changed between the two models was the timing of the first stop, which depends on how fast the soft wears. That is precisely the number that a weekend's long runs exist to measure, and that Chapter 22 models properly.
What it doesn't mean. - It doesn't show that Red Bull "used the model". The timing data are consistent with a stop plan near the model's optimum. They say nothing about how the team made its decision. - Verstappen's zero cost does not mean the others erred. The model prices every car at the field's median wear. A car that is harder on its softs should stop earlier, and early stops in a close group may be the right response to a rival. - One clean race is not a validation. Case Study 2 tests the model on all 76 dry races of the period.
Discussion questions
- The new-set and used-set models disagree on the margin between one and two stops (1.2 s against 4.0 s). Which teams in this race should have cared most about that difference, and why?
- The pre-race model's soft wear (0.167 s/lap from 2023) was almost double the race's (0.094). Give two physical or operational reasons a compound's measured wear can change that much between seasons at the same circuit.
- Eight of the top nine stopped five or six laps before the model's optimum. Is that evidence against the model, against the teams, or neither? What data would settle it?
- Hülkenberg stopped on lap 1 and finished with a three-stop. How should an analyst treat such a strategy when testing a strategy model?
- If the race had had a safety car around lap 20, which strategies in the table would have benefited most?
Your turn
Repeat this case study for the 2025 Bahrain Grand Prix (Race). Piastri won it from pole with S-M-M, stopping after laps 14 and 32. That race had medium sets in play, and the finishers' strategies were more varied.
- Fit the hindsight model and the pre-race model (from 2024 Bahrain, restricted to the compounds both races used).
- Report the best one-, two- and three-stop for each, and price Piastri's actual strategy with his starting-set age.
- Draw the equivalent of Figure CS1.3.
- In 200 words, say whether the model's call held, and what changed from 2024.