Case Study 1 — Monaco 2024: The Pole Lap, Corner by Corner
Setup
At Monaco, qualifying is the race. Overtaking on the streets of Monte Carlo is so hard that the grid order largely decides the result. Chapter 10 found the grid–finish rank correlation at Monaco among the highest on the calendar, at 0.88. A tenth of a second on Saturday is worth more here than anywhere else.
In qualifying for the 2024 Monaco Grand Prix, Charles Leclerc took pole for Ferrari with 1:10.270. Oscar Piastri (McLaren) was second, 0.154 s behind, and Leclerc's teammate Carlos Sainz third, 0.248 s behind. This case study takes the three laps apart with Box Box's telemetry_tools and asks a question with two halves:
- Where did Piastri and Sainz lose their time to the pole lap?
- Was it the same place for both? If it was, the pole lap has a corner that neither rival could match.
There are two different comparisons here, and they answer different questions.
- Sainz is in the same car, so his comparison isolates the driver.
- Piastri is in a different car, so his comparison mixes driver and car. That doesn't make it useless, but every difference has two possible owners.
The data
All three laps come from OpenF1 car telemetry and position for the session, through the toolkit (no network calls). The run is code/case_study_01.py, and its printed output is code/cs1_output.txt. All three laps pass the book's quality check:
LEC lap 25 70.270 SOFT sectors 18.386 33.174 18.71 traps 222.0 208.0 280.0 {'frozen_s': np.float64(0.2), 'max_gap_s': 0.92, 'dist_ratio': 0.9816, 'ok': True}
PIA lap 23 70.424 SOFT sectors 18.303 33.38 18.741 traps 225.0 211.0 278.0 {'frozen_s': 0.0, 'max_gap_s': 0.92, 'dist_ratio': 0.986, 'ok': True}
SAI lap 27 70.518 SOFT sectors 18.494 33.241 18.783 traps 223.0 208.0 280.0 {'frozen_s': 0.0, 'max_gap_s': 0.92, 'dist_ratio': 0.9833, 'ok': True}
position acronym team_ref q1_s q2_s q3_s
1 LEC ferrari 71.584 70.825 70.270
2 PIA mclaren 71.500 70.756 70.424
3 SAI ferrari 71.543 71.075 70.518
4 NOR mclaren 71.760 70.732 70.542
5 RUS mercedes 71.492 70.929 70.543
The official sectors are the ground truth, because the timing loops have no integration error. They give the first split:
| S1 | S2 | S3 | Lap | |
|---|---|---|---|---|
| LEC | 18.386 | 33.174 | 18.710 | 70.270 |
| PIA − LEC | −0.083 | +0.206 | +0.031 | +0.154 |
| SAI − LEC | +0.108 | +0.067 | +0.073 | +0.248 |
Piastri was faster than the pole lap in sector 1 by 0.083 s, then lost 0.206 s in sector 2. Sainz lost a little in every sector. One more fact deserves a note: Leclerc's own Q2 time (1:10.825) was slower than Piastri's (1:10.756) and Norris's (1:10.732). Leclerc found 0.555 s between Q2 and Q3, and his pole was built in the final run.
Two limits to keep in mind:
- At Monaco's speeds the sample spacing is short: a median of 10.5 m on Leclerc's lap, and only about 3–8 m in the slow corners. Positions are well resolved here.
- The time rule from Chapter 19 still applies: segment differences under about 0.05 s are not evidence.
Analysis
Where the gaps open

📊 Figure (described): Top, speed of all three laps on Leclerc's distance axis, sector-anchored, with nine corners numbered at the speed minima. Bottom, the delta to Leclerc. Piastri (solid orange) gets ahead from 700 m and is 0.23 s up at about 1,450 m, around corners 3–5. He then gives it all back between 1,500 and 2,300 m, through the tunnel and the chicane after it, and loses more in the final 400 m. Sainz (dashed) trails almost everywhere and loses most in the last 400 m.
The delta trace shows Piastri's lap as two halves. Through the first sector and into the middle of the lap he is ahead. After corner 5 his delta climbs steadily, at a rate that the colour map below makes visible.
=== PIA vs LEC ===
PIA vs LEC: +0.154 s over the lap
PIA loses most in corner 6 (+0.180 s, apex 70 km/h) and gains most in corner 2 (-0.160 s)
full throttle 61.5 % (LEC) vs 56.9 % (PIA) of lap distance
PIA brakes later in 0 and earlier in 3 of 9 corners (beyond one sample)
corner speed_class apex_m_LEC min_speed_kmh_LEC min_speed_kmh_PIA gear_apex_LEC gear_apex_PIA brake_later_m ft_earlier_m segment_delta_s resolution_m
1 slow 190.47 117.0 121.0 3 3 -7.99 -0.61 0.06 8.52
2 medium 871.79 148.0 152.0 4 4 9.59 15.90 -0.16 11.69
3 slow 1107.57 76.0 83.0 2 2 -77.29 -2.75 -0.05 5.67
4 slow 1230.16 46.0 47.0 1 1 -1.16 NaN 0.01 3.46
5 slow 1390.67 90.0 94.0 2 2 -34.14 -12.35 0.06 9.66
6 slow 2073.17 70.0 69.0 2 2 5.03 -16.83 0.18 6.49
7 medium 2325.03 179.0 186.0 4 4 3.74 12.36 0.02 14.71
8 medium 2682.75 131.0 133.0 4 3 -88.71 -14.57 -0.10 11.76
9 slow 2854.19 61.0 61.0 2 2 4.12 -79.17 0.13 7.29

📊 Figure (described): Time lost (positive) or gained (negative) to Leclerc in each corner segment, Piastri solid, Sainz hatched. The grey band is ±0.05 s. Piastri's large gain is at corner 2 (−0.16 s). His large losses are at corner 6 (+0.18 s) and corner 9 (+0.13 s). Sainz's only segments beyond the band are corner 9 (+0.17 s, his largest loss), corner 8 (−0.11 s) and corner 3 (−0.08 s).
Piastri's gains. At corner 2, a medium-speed corner at 148 km/h about 870 m into the lap, Piastri carried 4 km/h more minimum speed than Leclerc. His brake point was 9.6 m later on the aligned distance axis, just under one sample at 11.7 m and within the alignment error that Section 23.6 warns about, so not a resolved difference; and his throttle reached full 15.9 m earlier. The segment gave him 0.16 s. At corner 3 he carried 7 km/h more (83 against 76 km/h) and gained 0.05 s. He was quicker than the pole lap through the first third of Monaco, which matches the official S1 split.
Piastri's losses. At corner 6 (70 km/h, second gear, about 2,070 m) his apex speed matched Leclerc's within 1 km/h, but his throttle reached full 16.8 m later, over two samples at 6.5 m spacing. That segment cost him 0.18 s. The pattern is the one Section 23.6 found in Mexico City: same entry, same apex, slower exit, and the price paid on the run that follows.

📊 Figure (described): Leclerc's line from the position stream, coloured by the rate of change of Piastri's delta (seconds per 100 m, smoothed over 45 m). Blue stretches through corners 2–5 are where Piastri gained. Red stretches are where he lost: the exit of corner 1, the run out of corner 6 towards corner 7, and the approach to and exit of corner 9. The map makes plain that his losses come on the exits and short straights after slow corners.
The last corners: read the samples, not the column
The corner 9 row needs care. The table says Piastri reached full throttle 79 m later than Leclerc, and Sainz's table says 78 m. Both numbers are wrong as descriptions of driving, and the reason is instructive. "Corner 9" is two corners: the slow corner at about 2,854 m and the final corner about 80 m later. They are less than the 120 m minimum gap apart, so the toolkit merges them into one speed minimum. Here are the raw samples between them, as (distance m, speed km/h, throttle %, brake):
LEC (2871, 70, 51, 0), (2879, 84, 69, 0), (2885, 93, 74, 0), (2893, 103, 84, 0), (2899, 122, 99, 0), (2907, 124, 0, 100), ...
(2942, 83, 43, 0), (2948, 86, 57, 0), (2952, 91, 69, 0), (2959, 100, 87, 0), (2965, 106, 99, 0), (2971, 125, 99, 0)
PIA (2874, 73, 51, 0), (2879, 82, 71, 0), (2884, 92, 77, 0), (2888, 98, 78, 0), (2893, 109, 91, 0), (2903, 124, 0, 100), ...
(2943, 84, 32, 0), (2948, 90, 39, 0), (2957, 100, 72, 0), (2963, 112, 82, 0), (2970, 122, 92, 0), (2979, 128, 99, 0)
In the short burst between the two corners, Leclerc's throttle touched 99 % for one sample, and Piastri's peaked at 91 %. The first-crossing rule therefore puts Leclerc's "full throttle" between the two corners and Piastri's after the second one, which produces the 79 m. What the samples really say is smaller and more useful:
- Between the two corners, Leclerc was harder on the throttle: 84 % against 78 % at about 2,890 m.
- Out of the final corner, Leclerc reached 99 % at 2,965 m and Piastri at 2,979 m. That is about 14 m earlier, two samples at this spacing.
- On the run to the line, Leclerc was a few km/h faster. On the aligned grid, Piastri's delta grew from 0.085 s at 2,900 m to 0.153 s at the line.
Both rivals lost at the end of the lap, and for the same reason: the pole lap's exits were faster. But the number to quote is "about 14 m earlier full throttle and 0.07 s over the last 370 m", not "79 m".
Sainz: same car, different lap
=== SAI vs LEC ===
SAI vs LEC: +0.248 s over the lap
SAI loses most in corner 9 (+0.173 s, apex 61 km/h) and gains most in corner 8 (-0.113 s)
full throttle 61.5 % (LEC) vs 59.8 % (SAI) of lap distance
SAI brakes later in 1 and earlier in 5 of 9 corners (beyond one sample)
phase metres delta_s share_of_lap s_per_km
braking 735.0 -0.444 0.224 -0.604
corner / part throttle 745.0 0.349 0.227 0.469
full throttle 1795.0 0.342 0.548 0.191
Sainz's lap is "a bit slower nearly everywhere": six of the nine segments are between +0.03 and +0.06 s, each one inside or at the edge of the noise floor. He braked earlier than Leclerc, beyond one sample, in five of nine corners. Yet the phase split says he gained 0.444 s while braking and lost it all back in the corners (+0.349 s) and at full throttle (+0.342 s). That is not a story about Sainz's braking. It is the alignment at work. In a heavy braking zone speed changes by 100 km/h or more in a few dozen metres, so a few metres of positional error between the two laps make the delta swing sharply and then swing back. You can see one such swing in Figure 1 at corner 9: Sainz's delta dips to about −0.13 s and recovers within about 30 m. The phase split books the downswing to "braking", because Sainz's brake is on, and the recovery to "corner", because his brake is off by then. Summed over nine braking zones, those swings produce large, opposite numbers that cancel. At Monaco a phase split's braking and corner rows are not interpretable on their own; only their sum, and the full-throttle row, carry signal. Phase splits describe where the time is booked, not what the driver did wrong.
The same-car comparison tells us one thing the Piastri comparison could not: Leclerc's exits from the last two corners were faster than his teammate's in the same Ferrari. On the aligned grid, Sainz was 13 km/h slower at 2,900 m, between the two corners (109 against 122 km/h), and 8 km/h slower at 3,000 m. His delta rose from 0.047 s to the final 0.246 s over those last 370 m. That is the clearest single place on the lap where the pole was won against the other Ferrari.
The pedal profiles
pedal split: {'LEC': {'full': 45.8, 'partial': 22.4, 'coast': 5.4, 'brake': 26.4}, 'PIA': {'full': 42.7, 'partial': 23.6, 'coast': 10.4, 'brake': 23.2}}
pedal split: {'LEC': {'full': 45.8, 'partial': 22.4, 'coast': 5.4, 'brake': 26.4}, 'SAI': {'full': 44.8, 'partial': 21.6, 'coast': 7.3, 'brake': 26.3}}
Piastri's lap shows nearly twice Leclerc's coasting time: 10.4 % of the lap against 5.4 %, with 3.2 points less time on the brake. Sainz sits between the two at 7.3 %. With an on/off brake channel, "coasting" here means the throttle is under 10 % and the brake switch is off. A driver who releases the brake earlier and rolls into the apex will log more coasting and less braking. So a plausible reading is that Piastri released the brake earlier and rolled into Monaco's slow corners, while Leclerc kept the pedal on (lightly or not, we can't tell) for longer. Between teams, though, the car may change how a driver brakes, so we hold that as a hypothesis.
What it means (and doesn't)
What the data support:
- The pole lap was won on exits. Against both rivals, the biggest losses sit on the exits of slow corners and the short runs after them: corner 6 and the final two corners for Piastri, the final two corners for Sainz. Apex speeds there match within 1–2 km/h.
- Piastri's lap had a faster first third. In S1 and through corners 2–3 he was up to 0.23 s ahead on the aligned trace, and 0.083 s ahead at the official S1 line.
- Sainz's deficit was spread out, except at the end of the lap. Most of his segments are below the resolution floor.
What the data don't support:
- Any claim about why. Tyre temperature, brake balance, the differential setting, the steering: none of these are in the archive. A slower exit can mean less traction, a compromised line from the corner before, or a driver protecting the tyre for the next corner.
- The "79 m" full-throttle difference. That number is an artefact of two merged corners and one sample at 99 %. If you quote it, you are quoting the method, not the driver.
- That Piastri "brakes too early". Three of his corners show earlier braking beyond one sample. Two of those (corners 3 and 8, at −77 m and −89 m) are the "run structure" case from Section 23.4, a dab before the main stop, and they need the trace, not the column.
Discussion questions
- Piastri gained 0.16 s at corner 2 and Leclerc still took pole. Given Monaco's grid–finish correlation, how much would you pay, in risk, for a car set-up that gave back corner 2 to win corner 6?
- The phase split books 0.444 s as Sainz's gain under braking. Write one sentence an engineer could put in a debrief that describes this correctly, and suggest a change to
phase_split()that would make its braking row more robust. - Why is the same-car comparison (Sainz) more useful for a driver coach, and the cross-team comparison (Piastri) more useful for a car designer?
- The toolkit merged corner 9 with the final corner because they are less than 120 m apart. What would change in the table if you lowered the minimum gap to 60 m? What new problems might that create elsewhere on the lap?
- Leclerc found 0.555 s between Q2 and Q3, more than Piastri (0.332 s). What data in the archive could tell you how much of that was track evolution and how much was the driver?
Your turn
Repeat this analysis for 2025 Monaco qualifying: Norris's pole lap against Leclerc and against his teammate Piastri. Use code/case_study_01.py with the session and acronyms changed.
- Check all three laps with
tt.lap_check(tel, 3337.0)first. - Produce the corner table and segment chart for each rival.
- For any full-throttle difference larger than 30 m, print the throttle samples around it, as above, before you interpret it.
- Write a 150-word debrief that names the two segments that decided pole, states each in seconds and km/h, and lists what the data cannot tell you.
Expected shape: nine corners at prominence 20, segment deltas summing to the lap gaps, and a pedal split for each lap whose four states sum to 100 %.