Case Study 1 — Las Vegas 2026: an F1 race run by oval rules
Setup
Oval racing has a well-known strategic rhythm: stretch your fuel, wait for the yellow, and pit when it comes. Formula 1 almost never looks like that, because a full safety car is rarer and its tracks are longer. But sometimes a race lines up so that one neutralisation decides the whole strategy. The 2026 Las Vegas Grand Prix (round 21, 50 laps, the last race in this book's data snapshot) is one.
The question for this case is the one from Chapter 39's 📋 Call the pit stop, widened to the whole
field: when the safety car came out on lap 19, how many teams treated it as their pit window, what
did it cost those who didn't, and how far was the clean-race optimum from what happened? We answer
it with the free data alone: OpenF1 race control, stints, laps and intervals; Jolpica pit stops and
positions; and Box Box's series.py.
Script: code/case_study_01.py. Every number below is from its output.
The data
- Race control (OpenF1). One SC period for the race, starting on lap 19. Using the toolkit's window rules, the SC covers laps 19–25 and racing resumes on lap 26. There was no VSC and no red flag.
- Pit stops (Jolpica). 23 stops by 20 drivers. One car (Alexander Albon) did not start, and Sergio Pérez's last recorded position is on lap 17 (Jolpica status "Retired"). We don't infer any cause beyond the status field.
- Stints (OpenF1). Compounds and lap ranges per stint.
- Positions (Jolpica laps). Running order at the end of each lap.
Neutralisations: [{'status': 'SC', 'start_lap': 19.0}]
Jolpica stops: 23 by 20 drivers; starters 22
Stops by lap: {17.0: 1, 18.0: 1, 19.0: 16, 20.0: 3, 21.0: 1, 26.0: 1}
green : n = 3, median pit-lane time 27.77 s
under SC: n = 20, median pit-lane time 22.45 s
Analysis
1. The pit lane on lap 19

📊 Figure (described): Number of pit stops by in-lap, with the safety-car period (laps 19–25) shaded. Sixteen stops happen on lap 19 and four more on laps 20–21. Only three stops in the whole race were made under green: laps 17, 18 and 26.
Twenty of the 23 stops came under the safety car, and 16 on its first lap. In oval terms, almost the whole field was "in the window" when the yellow came out, and almost the whole field took it.
Why lap 19 and not lap 20? The SC was deployed during lap 19. The cars that could reach the pit entry before passing it on that lap did so, and their in-lap is recorded as lap 19. The cars that came in on laps 20–21 were either past the entry when the call came or chose to wait a lap. Hamilton (lap 20) was one of them.
The pit-lane times look odd at first: the three green stops have a longer median pit-lane time (27.77 s) than the twenty under the SC (22.45 s). Don't read anything into it. With n = 3, one value dominates: Hadjar's second stop on lap 26 recorded 33.131 s in the lane. Pit-lane time, entry line to exit line, is set mostly by the speed limit and should not depend on the track status. The SC's benefit shows up in the on-track time the stopping car loses relative to the field, which pit-lane time doesn't measure.
2. Who stopped on what

📊 Figure (described): Each driver's stints, coloured by compound. Nineteen of the twenty-two first stints were on SOFT. Almost every first stint ends on lap 19–21, and most second stints are MEDIUM to the flag. A few drivers (Hadjar, among others) took a third, SOFT stint.
Stints of the top five finishers (OpenF1):
max_verstappen [SOFT laps 1-19 (age 3 at start), MEDIUM laps 20-50 (new)]
norris [SOFT laps 1-19 (new), MEDIUM laps 20-50 (new)]
piastri [SOFT laps 1-19 (new), MEDIUM laps 20-50 (new)]
antonelli [MEDIUM laps 1-19 (new), SOFT laps 20-50 (age 3 at start)]
gasly [SOFT laps 1-19 (age 4 at start), MEDIUM laps 20-50 (new)]
(Reformatted from the script's dictionary output for reading.) The compound counts confirm it: 19 SOFT and 3 MEDIUM first stints, then 17 MEDIUM and 3 SOFT second stints. The two-compound rule (Chapter 28) was satisfied by one stop for almost everyone, and the SC made that one stop cheap.
Antonelli is the interesting exception among the leaders: MEDIUM first, then SOFT for 31 laps. A plausible reading is that a SOFT for the second stint was viable because the SC took seven laps off its effective distance at racing speed. The data are consistent with that, but they can't show what the team intended.
3. Gaps before and after

📊 Figure (described): Gap to the leader at each lap for the six top finishers, with the SC laps shaded. Before lap 19 the chasing cars sit 1–8 s behind Verstappen. The stops and the SC scatter the order briefly, then gaps collapse to a couple of seconds by the restart on lap 26. Verstappen leads throughout.
Top ten finishers: grid, position at end of lap 18 and lap 26, finish, stop laps
grid position team_name pos_L18 pos_L26 stop_laps
max_verstappen 1 1 Red Bull 1.0 1.0 19
norris 3 2 McLaren 8.0 4.0 19
piastri 17 3 McLaren 9.0 8.0 19
antonelli 6 4 Mercedes 4.0 5.0 19
gasly 8 5 Alpine F1 Team 6.0 3.0 19
colapinto 9 6 Alpine F1 Team 11.0 7.0 19
hamilton 11 7 Ferrari 7.0 10.0 20
sainz 20 8 Williams 13.0 11.0 19
russell 2 9 Mercedes 2.0 2.0 19
leclerc 10 10 Ferrari 10.0 6.0 19
Three stories sit in that table:
- Norris was 8th at the end of lap 18 and 4th at the restart. He finished 2nd. A car that is several seconds behind a group before an SC loses those seconds when the field bunches. That is the oval effect at its purest: the caution erases the gaps, and the race restarts as a sprint on equal tyres.
- Hamilton was 7th before the SC and stopped a lap later than most, on lap 20, with a recorded pit-lane time of 32.472 s, about 10 s longer than the SC median. He restarted 10th and finished 7th. The data don't say why that stop was slow. Whatever the cause, a one-lap delay plus a slow lane time under a safety car turned into three places at the restart.
- Russell held 2nd before and after the SC and finished 9th. The stint table shows the same SOFT → MEDIUM plan as Verstappen's. What happened in the second half isn't visible in strategy data alone; race pace and interval data are the next step (see "Your turn").
4. The clean-race model against reality
Box Box's series.py calibrated for this race (50 laps, field-median race pace as the base lap, the
2026 pooled pit loss, and the 2026 median MEDIUM/HARD wear of 0.052 s/lap, because Las Vegas's own
wear estimate came out negative) prefers one stop on lap 25:
Clean-race Box Box plan: 1 stop(s) on lap(s) [25]
one stop on lap 15: +5.20 s vs best
one stop on lap 19: +1.87 s vs best
one stop on lap 25: +0.00 s vs best
one stop on lap 30: +1.30 s vs best
The clean-race curve is flat: a one-stop anywhere between laps 19 and 30 is within 2 s of the optimum. A pit stop under the SC saves a large share of a green pit loss of 23.6 s, far more than 1.87 s. So the decision on lap 19 was not close. The model gets the stop count right (one), the lap wrong by six, and the reason it's wrong is the reason the model exists: it prices the clean race so that you can see what a disruption is worth.
What it means (and doesn't)
It means:
- When the clean-race optimum is flat, a neutralisation anywhere near the window defines the strategy. That's why oval strategists plan fuel windows rather than exact laps, and why Chapter 39's opportunistic policy wins as the caution hazard rises.
- The SC compressed the field, and the finishing order was decided largely after the restart, on near-equal tyres. Norris's 8th → 2nd shows how much track position a caution can redistribute.
- A one-lap delay to the stop (Hamilton) is costly under an SC, because the field's stops are synchronised and the order at the restart is what counts.
It doesn't mean:
- that the teams planned to stop on lap 19. The timing data are consistent with an opportunistic call, and that is the plausible reading, but we have no radio transcripts and no team statements in our reference files;
- that the pit loss under the SC was any particular number. Our canonical pit loss excludes SC stops by definition, and the race had only three green stops, so we can't compute a matching SC-vs-green comparison from this race alone. Chapter 14's pooled analysis is the right tool;
- that the result was decided by strategy rather than pace. Pace after the restart, which separated Russell from Verstappen by eight places, needs the race-pace tools of Chapter 20.
Discussion questions
- The clean-race model's one-stop curve is within 2 s of optimal from lap 19 to lap 30. In general, what makes the curve flat or sharp? Relate your answer to the degradation rate and the race length.
- Sixteen cars stopped on lap 19. If you were running 2nd, would you have been tempted to stay out and inherit the lead? What would you need to believe about the remaining 31 laps for that to be right?
- Antonelli ran MEDIUM then SOFT, the opposite of most of the field. Under what conditions does starting on the harder compound become more attractive when you expect a safety car?
- The opportunistic policy in Chapter 39's oval model loses in about one race in seven. Describe the kind of Las Vegas race in which staying out at lap 19 would have been right.
- What would you need from the data to measure how much an SC stop saved compared with a green stop at Las Vegas? Which of those things exist in our snapshot?
Your turn
Pick another 2025 or 2026 race with exactly one SC period (filter with
f1data.track_periods(s, status=["SC"])). For that race, reproduce the three charts in this case
(stops by lap, stint chart, gap to leader) and the Box Box clean-race curve. Then report:
- the share of stops made under the SC;
- how many places the median driver gained or lost between the lap before the SC and the restart;
- whether the clean-race optimum was flat (every lap within 2 s) across the SC window.
Expected shape of the output: one table (race, SC laps, stops under SC / total, clean-race optimum lap, flat window) and three PNGs. If your race shows a small share of SC stops, explain why from the timing of the SC relative to the clean-race window.