Case Study 1 — Nine Thousandths in Mexico City: Reading a Qualifying Session End to End

Setup

The 2026 Mexico City Grand Prix (round 19) is the race at which Andrea Kimi Antonelli clinched the 2026 drivers' championship. The day before, qualifying produced the third-closest pole margin in our 2023–2026 data. Lewis Hamilton (Ferrari) took pole with a 1:16.514, and George Russell (Mercedes) was second with a 1:16.523: 0.009 s. In the book's reference tables of pole margins, only the 2024 Canadian GP (0.000 s, Russell over Verstappen) and the 2023 Hungarian GP (0.003 s, Hamilton over Verstappen) were closer. According to Formula1.com's records page (in data/reference/records.csv), it was Hamilton's 105th career pole, extending the all-time record.

This case study reads the whole session with the tools from Chapter 16: the phase structure, the deleted laps, the cut lines, track evolution, the Q3 run plan, the telemetry of the two fastest laps and the ideal-lap comparison. The script is code/case_study_01.py; every number below is from its output.

The data

  • OpenF1 laps, results and race-control messages for the session (session_key 11400).
  • OpenF1 car telemetry (car_data, about 4 Hz) for Hamilton's and Russell's fastest laps; 2026 qualifying telemetry is complete in the snapshot.
  • The Box Box module project/boxbox/qualifying.py for phases, deletions, cut lines, evolution and the theoretical best.

The top of the official classification:

 position acronym team_ref   q1_s   q2_s   q3_s
        1     HAM  ferrari 77.341 76.953 76.514
        2     RUS mercedes 77.659 77.027 76.523
        3     LEC  ferrari 77.506 76.944 76.633
        4     VER red_bull 77.942 76.876 76.692
        5     ANT mercedes 77.918 77.133 76.707
        6     NOR  mclaren 77.733 76.728 76.824
        7     HAD red_bull 77.385 77.047 76.900
        8     LIN       rb 78.210 77.135 77.117
        9     GAS   alpine 78.194 77.278 77.153
       10     HUL     audi 77.868 77.306    NaN

Hülkenberg reached Q3 but set no Q3 time, so he takes tenth on the grid.

Analysis

1. The session's shape

Race control gives the phase windows: Q1 from 21:00:00 to 21:25:07 UTC, Q2 from 21:33 to 21:48, Q3 from 21:55 to 22:08. Q1 is 25 minutes of wall clock for an 18-minute phase because it was red-flagged 6.9 minutes in, at 21:06:54, and race control announced "Q1 WILL RESUME AT 15:14" (local time). The messages don't state a cause for the stoppage, so we don't give one.

Eleven laps were deleted, belonging to eight drivers (BEA, GAS, HAD, HAM, LEC, PER, SAI, STR), from 12 deletion messages. Most were for track limits; three at the end of Q1 were for a double yellow at Turns 8–9 in the final minute, a reminder from Case Study 2 that the last minute is where flags bite. The module classifies 95 laps as push laps and 14 as abandoned.

Track evolution over the session was −0.0216 s per minute (95% CI −0.0287 to −0.0146, n = 94 push laps), slightly faster than the 2023–2026 median of −0.019 s/min. The red flag interrupted the running, but the fixed-effects estimate uses wall-clock minutes, so it measures improvement over real time.

2. The cut lines

The official Q1 cut (16th place) was 1:18.630, and the first car out was 0.278 s slower: one of the widest Q1 knife edges of 2026. (The OpenF1 lap table also has a valid-looking 1:18.097 for Lawson that does not appear in his official Q1 result; it is one of the four phases in the whole data set where our reconstruction of the cut line differs from the classification, and a reminder to treat the classification as the authority.) The Q2 cut was 1:17.278 (Gasly), with a knife edge of 0.028 s, a typical Q2 value. Hülkenberg's 1:17.306 was the last Q2 time that went through to Q3.

3. Q3: two runs, and the order set at the end

Q3 runs

📊 Figure (described): One row per Q3 driver (P1 HAM at the top to P9 GAS), with each push lap placed at the number of minutes before the Q3 flag at which it started, labelled with its time; the driver's best lap is the large marker. Most drivers ran twice: once 8.5–11 minutes before the flag and again in the final 2.5 minutes. Norris ran once; Verstappen's best came on his first run. The takeaway: the order was set by the final runs, as the chapter's histograms predict.

Q3 push laps (min before flag, time):
  HAM: 10.9 min 77.069; 2.1 min 76.514
  RUS: 9.8 min 77.138; 2.4 min 76.523
  LEC: 10.8 min 76.647; 1.3 min 76.633
  VER: 8.5 min 76.692; 0.4 min 78.796
  ANT: 9.7 min 77.339; 0.7 min 76.707
  NOR: 9.6 min 76.824
  HAD: 3.8 min 294.218 DEL; 2.3 min 76.900
  LIN: 8.8 min 78.229; 1.9 min 77.117
  GAS: 9.1 min 77.324; 1.4 min 77.153

After the first runs, Leclerc led with 1:16.647, then Verstappen (1:16.692) and Norris (1:16.824). Hamilton's first run was a 1:17.069, Russell's a 1:17.138. On the second run Hamilton, Russell and Antonelli each found more than half a second: 0.555 s, 0.615 s and 0.632 s. Leclerc found only 0.014 s and dropped to third.

The run timing matters. Hamilton's final lap started 2.1 minutes before the flag and Russell's 2.4 minutes before. At the session's evolution rate, starting 0.3 minutes later is worth about 0.3 × 0.0216 ≈ 0.006 s of track, two-thirds of the final margin. That is not proof of anything, because a single session's slope comes with a confidence interval and the laps differ in many other ways, but it shows how a few seconds in the queue can be the size of a pole margin.

Verstappen is the interesting case. His final lap, started 0.4 minutes before the flag, ended 2.104 s slower than his first run. The sector times show where:

VER Q3 lap 10: 76.692  (S1 26.848, S2 30.237, S3 19.607)
VER Q3 lap 13: 78.796  (S1 26.785, S2 30.032, S3 21.979)

After two sectors of that final lap he had 56.817 s, against 56.882 s for Hamilton's pole lap at the same point (26.852 + 30.030). He was 0.065 s up on pole pace. The final sector then took 2.372 s longer than on his first run. The data don't say why, and we don't guess.

4. Nine thousandths, in the telemetry

HAM vs RUS speed trace

📊 Figure (described): Top: speed against distance for Hamilton (Ferrari colour) and Russell (Mercedes colour) on their pole and P2 laps, with the slow corners numbered; the traces almost overlie each other, both reaching about 350 km/h on the main straight. Bottom: Russell's gap to Hamilton along the lap, within about ±0.05 s for most of the lap, with one large excursion around 3.8 km in the slow stadium section, before finishing at +0.009 s. The takeaway: at this level the laps are indistinguishable for most of the distance, and the largest apparent swing is where distance alignment is least reliable.

The official sectors (timing loops, no distance error) split the 0.009 s like this:

HAM lap 19 76.514: S1 26.852 S2 30.030 S3 19.632; trap 347 km/h; telemetry max 350 km/h; distance 4245 m
RUS lap 21 76.523: S1 26.877 S2 30.008 S3 19.638; trap 350 km/h; telemetry max 350 km/h; distance 4243 m

Hamilton was 0.025 s faster in sector 1, Russell 0.022 s faster in sector 2, and Hamilton 0.006 s faster in sector 3. Russell's speed-trap reading was 3 km/h higher, yet the lap went to Hamilton.

The delta trace has a maximum of +0.325 s at 3,780 m. Be careful with it. That is the slow stadium section, where speeds are lowest and a few metres of integrated-distance error become large apparent time differences, exactly the artefact the chapter showed at the Suzuka hairpin. The official sector 3 difference, 0.006 s, is the reliable number for that part of the lap.

5. The lap nobody drove

Theoretical best, top 10

📊 Figure (described): For the ten Q3 drivers, each driver's actual best lap (circle) and the sum of their best three sectors (diamond), joined by a line. Hamilton's two markers coincide (a perfect lap). Verstappen's diamond, at 1:16.407, is the fastest point on the chart, 0.107 s inside the pole time. The takeaway: the fastest ideal lap of the session belonged to the fourth-placed driver.

acronym  actual_s  theoretical_s  gap_s  rank_actual  rank_theoretical
    HAM    76.514         76.514  0.000            1                 4
    RUS    76.523         76.512  0.011            2                 3
    LEC    76.633         76.443  0.190            3                 2
    VER    76.692         76.407  0.285            4                 1
    ANT    76.707         76.654  0.053            5                 6
    NOR    76.728         76.606  0.122            6                 5
Session-best sectors: S1 26.768 (VER), S2 30.008 (RUS), S3 19.524 (LEC); sum 76.300

Hamilton's pole lap was his theoretical best: gap 0.000 s, a perfect lap in the chapter's sense. Russell left 0.011 s, Leclerc 0.190 s and Verstappen 0.285 s. On ideal laps the order would have been Verstappen, Leclerc, Russell, Hamilton. Mexico City 2026 is one of the 13 sessions (of 81 dry ones) in which the ideal-lap order changes who is fastest. The "ultimate lap" assembled from the session-best sectors of three different drivers (Verstappen's S1, Russell's S2, Leclerc's S3) is 1:16.300, 0.214 s faster than pole.

What it means (and doesn't)

  • It means the pole was decided by execution on the final run. The second runs gained more than half a second for the front-runners, consistent with the chapter's finding that 77% of pole laps are started in the last two and a half minutes. Hamilton's lap was his ideal lap; his three nearest rivals each had a faster ideal lap and didn't string it together.
  • It means a margin of 0.009 s is smaller than the session's track evolution over 30 seconds, and smaller than the resolution of the telemetry inside a sector. At this level, the sector times are the measurement and the speed trace is a guide.
  • It doesn't mean Verstappen "should have" been on pole. A theoretical best is a sum of the best bits of different laps, set at different times on an evolving track. It is an upper bound on what was available, not a lap anyone could have driven.
  • It doesn't tell us why Verstappen's final sector was slow, why Hülkenberg set no Q3 time, or what any team intended. Those would need information we don't have, and the book doesn't invent it.

Discussion questions

  1. Hamilton started his final Q3 lap 0.3 minutes after Russell. Using the session's evolution slope and its 95% interval, how much of the 0.009 s could plausibly be "track", and how confident can you be?
  2. Leclerc led after the first Q3 run and improved by only 0.014 s on the second. His ideal lap was 1:16.443. What does the gap between his two best laps and his ideal lap suggest about where his second run went wrong, and what data would you check next?
  3. Russell had the highest speed-trap reading of the pair (350 vs 347 km/h) and still lost. Give two physical reasons a higher trap speed need not mean a faster lap.
  4. The Q1 red flag came 6.9 minutes in. Who benefits, in general, from an early-session red flag: teams that had already set a banker or teams that had not? Use the cut-line ideas from Section 16.4.
  5. Why does the chapter recommend treating the +0.325 s spike in the delta trace as an artefact? What would convince you otherwise?

Your turn

Repeat this analysis for the 2024 Canadian Grand Prix qualifying, the 0.000 s pole in the book's reference table. Its 2024 qualifying telemetry may not be on disk yet (check with telemetry.available("car_data")); if it is missing, do everything except step 4. Report: the phase windows and any red flags, the Q1 and Q2 knife edges, the session's evolution slope, each Q3 driver's run times, and the ideal-lap table. Then write three sentences on how that pole was decided. Check the session's compound mix and rain flag with Q.is_wet() before you trust the evolution slope.