Case Study 1 — The 2021 Hungarian Grand Prix: A Lap 1 That Decided the Race
Setup
Most lap 1s nudge the order. A few rewrite it. In the turbo-hybrid era (2014–2021, 160 races), the lap 1 with the most churn in our data is the 2021 Hungarian Grand Prix: a mean of 6.73 places changed per driver-start on lap 1, against an era median of 1.82. It is also one of only two races in that era with four lap-1 retirements (the other is the 2015 British GP).
The race is famous for its outcome. Esteban Ocon (Alpine), eighth on the grid, won his first Grand Prix. This case study asks a narrower question: how much of that result was set on lap 1, and how much of the lap-1 shuffle survived to the flag?
The facts about what happened on track come from the book's reference file data/reference/notable_races.md.
It records the pre-race rain (the whole field started on intermediates), a lap-1 pile-up that began with
Bottas locking up into Norris, who was pushed into Verstappen, with Bottas also hitting Pérez, and Stroll
hitting Leclerc, who spun into Ricciardo. A safety car and then a red flag followed. At the restart,
Mercedes kept Hamilton out on intermediates while the other 14 cars pitted for mediums, so Hamilton started
alone on the grid; he pitted a lap later and rejoined last, and later spent many laps behind Alonso before
passing him on lap 65. Everything else in this case comes from the timing data.
The data
2021 is before OpenF1, so we work from Jolpica only: the actual starting grid, each car's position at the
end of every lap, lap times, pit-lane records and the final classification
(code/case_study_01.py). There are no compounds, no race-control flags and no telemetry for 2021 in the
free data. We can still see the neutralisation in the lap times:
Field-median lap time, laps 1-6 (s):
lap
1.0 130.115
2.0 177.396
3.0 1581.971
4.0 121.436
5.0 86.523
6.0 85.932
Lap 1 at 130 s and lap 2 at 177 s are safety-car laps (a green lap here is about 86 s, as laps 5–6 show). Lap 3, at 1,582 s, contains the red-flag stoppage. Jolpica also lists pit-lane records on laps 1–4 (4 on lap 1, 15 on lap 2, 13 on lap 3, 1 on lap 4), which include the cars that came into the pit lane during the stoppage; the 1,450-second "stops" are the red flag, not tyre changes. This is the data quirk the book's reference tables warn about: a pit record on lap 1 or 2 for most of the field usually means a neutralisation, not a strategy.
Analysis
Lap 1: who went where
Lap-1 gains:
driver_ref team_ref grid lap1_position pit_lane_start places_gained
hamilton mercedes 1.0 1.0 False 0.0
ocon alpine 8.0 2.0 False 6.0
vettel aston_martin 10.0 3.0 False 7.0
sainz ferrari 15.0 4.0 False 11.0
tsunoda alphatauri 16.0 5.0 False 11.0
latifi williams 18.0 6.0 False 12.0
alonso alpine 9.0 7.0 False 2.0
russell williams 17.0 8.0 False 9.0
max_verstappen red_bull 3.0 9.0 False -6.0
raikkonen alfa 13.0 10.0 False 3.0
mick_schumacher haas 20.0 11.0 False 9.0
gasly alphatauri 5.0 12.0 False -7.0
mazepin haas 19.0 13.0 False 6.0
ricciardo mclaren 11.0 14.0 False -3.0
norris mclaren 6.0 15.0 False -9.0
giovinazzi alfa 21.0 16.0 True 5.0
(Columns trimmed from code/case_study_01_output.txt; Giovinazzi started from the pit lane and counts as
slot 21.)

📊 Figure (described): A slope chart from each car's grid slot (left) to its position at the end of lap 1 (right), green for gains and red for losses, with the four lap-1 retirements (Bottas, Pérez, Leclerc, Stroll, all "Collision" in Jolpica) marked by crosses. The cars that started 15th–18th (Sainz, Tsunoda, Russell, Latifi) cross the whole midfield and finish lap 1 in the top eight.
Three groups stand out.
- The cars behind the crash. Sainz (+11), Tsunoda (+11), Latifi (+12), Russell (+9) and Mick Schumacher (+9) started 15th–20th. In an ordinary race, slots 15–20 gain between +0.64 and +2.37 places on average (1996–2026). These drivers gained four to five times that, because four cars ahead of them were out and three more (Verstappen, Gasly, Norris) were delayed.
- The cars in the crash. Verstappen (−6), Gasly (−7) and Norris (−9) all started in the top six and ended lap 1 in the bottom half. Norris completed two laps and retired ("Collision").
- The cars that missed it. Hamilton, from pole, kept the lead. Ocon (+6) and Vettel (+7), from eighth and tenth, rose to second and third.
The one-race churn of 6.73 places per start ranks first of 160 turbo-hybrid races; the next highest, both in 2016, were 6.05 and 4.58.
Laps 1–12: does the lap-1 order hold?

📊 Figure (described): Positions by lap from the grid (lap 0) to lap 12, with Ocon, Latifi, Tsunoda, Sainz, Hamilton and Verstappen highlighted. After the lap-1 shuffle the order barely changes; the zigzag on laps 3–5 is the red-flag stoppage, the restart and the pit cycle, after which Hamilton is 14th. From lap 5 to lap 12 Ocon leads and the highlighted midfield cars are stacked behind him.
The red flag matters to the reading. After a stoppage, the race restarts in the order at the time of the suspension, so the lap-1 positions were essentially frozen into the restart. The restart then produced its own shuffle when Hamilton stayed out and everyone else changed tyres. From lap 5 to lap 12 the lap chart is almost flat: Ocon first, Latifi, Tsunoda and Sainz in the top five, Verstappen around 11th, Hamilton around 13th–14th.
Notice what that flat section means for a strategist. Cars that gained ten or more places on lap 1 were now ahead of cars that were, on normal form, faster. The book's position-change and overtaking numbers (17.6) say that places are expensive to win back on track. For Hungary the book's reference tables give 33 green-flag on-track passes per race in 2023–2026, below the all-race average of about 40 (a modern figure, so treat it as indicative for 2021), and the reference file records that Alonso held off Hamilton "for many laps" in a much faster car.
Did the gain stick?
Grid -> lap 1 -> finish for the 8 biggest lap-1 gainers:
driver_ref grid lap1_position position places_gained finish_gain status_text
latifi 18.0 6.0 7 12.0 11.0 Finished
sainz 15.0 4.0 3 11.0 12.0 Finished
tsunoda 16.0 5.0 6 11.0 10.0 Finished
russell 17.0 8.0 8 9.0 9.0 Finished
mick_schumacher 20.0 11.0 12 9.0 8.0 +1 Lap
vettel 10.0 3.0 20 7.0 -10.0 Disqualified
mazepin 19.0 13.0 14 6.0 5.0 Collision
ocon 8.0 2.0 1 6.0 7.0 Finished

📊 Figure (described): For the eight biggest lap-1 gainers, the places gained on lap 1 (blue) and from grid to classified finish (orange). For Latifi, Sainz, Tsunoda, Russell, Schumacher and Ocon the two bars are nearly equal: almost the whole lap-1 gain survived. Vettel's bar is negative because his classified result is a disqualification (as recorded in Jolpica), and Mazepin's later collision is counted at his classified position.
Compare this race with the chapter's average. Across 2014–2026 finishers, each lap-1 place is associated with only 0.43 places at the flag. In Hungary 2021, the five drivers who started 15th–20th and finished the race kept between 8 and 12 places each; Latifi kept 11 of 12, Russell all 9, and Sainz finished one place higher than his lap-1 position. Ocon kept his lap-1 gain and added one more place when Hamilton pitted.
Why so much retention here? Three reasons the data support:
- The order was frozen. The red flag fixed the lap-1 order into the restart.
- The cars that lost places had to pass on track. Verstappen ran 11th–13th after the restart (the lap chart) and finished 9th; Hamilton, after his extra stop, came back from 14th to 2nd, but needed the whole race and, according to the reference file, many laps behind Alonso.
- The faster cars were few. Of the top six on the grid, Bottas and Pérez retired on lap 1, Norris after two laps; only Hamilton and Verstappen were left to recover.
What it means (and doesn't)
It means that a lap 1 with a multi-car crash near the front is the single biggest redistribution of expected points in Formula One. From slots 15–18, the chapter's per-slot points values are around 0.2–0.35 points per lap-1 place on average; here, the lap-1 gains converted into a podium for Sainz (15th on the grid) and points for Latifi, Tsunoda and Russell.
It means that the race-resampling method in start.sample_lap1(method="race") matters. A model that
draws each car's lap-1 gain independently cannot produce this: it cannot remove four cars at once and
promote everybody behind them. The race method can, because this exact start is one of the turbo-hybrid
starts it resamples (and the era has only two such four-retirement lap 1s in 160 races).
It does not mean that starting at the back is good, or that Sainz, Tsunoda and Latifi made unusually good starts. Their gains came mostly from avoiding a crash ahead of them. The start rating in 17.5 subtracts the expected gain for the slot, but it cannot separate "avoided trouble" from "made a good launch": both look like gains in the positions data.
It does not show what caused the crash. The data show positions and retirement statuses ("Collision"); the description of who hit whom comes from the reference file, which cites the race reports. And the data do not show tyre choices for 2021: the intermediates-to-mediums story at the restart also comes from the reference file.
Discussion questions
- The red flag froze the lap-1 order. Would the lap-1 gains have survived as well if the race had continued under a safety car and then restarted rolling? What in the data would you look at to argue either way?
- Ocon finished first after gaining six places on lap 1, Sainz third after gaining eleven. Which of the two gains was more "valuable"? Answer in places, then in points, and say which measure you would use to evaluate a start.
- Mercedes kept Hamilton out at the restart (reference file). Using only the lap chart, describe what the decision cost in positions over laps 3–5, and what it gained (or not) by the end.
- The marginal lap-1 sampler would almost never generate a start like this one. Is that a problem for a strategy simulator, given that such starts happen in about 1 race in 80 in the turbo-hybrid era?
Your turn
Pick the second-highest-churn turbo-hybrid race from the script's output (the 2016 race with 6.05 places
per start, (2016, 13) in the list). Re-run code/case_study_01.py with Y, RD = 2016, 13, produce the
three charts, and write a 300-word comparison with Hungary 2021: was the shuffle caused by retirements,
by a neutralisation (look at the field-median lap times), or by the launch itself? How much of the lap-1
gain survived to the flag?