Case Study 1 — 2024: When Did Red Bull's Qualifying Advantage Go?

Setup

Red Bull began 2024 as the team every other team was measured against. It had been the fastest team in 11 of 19 dry qualifying sessions in 2023, and the 2024 season opened the same way. By the end of the year four different teams had been fastest in qualifying, and the constructors' title went to McLaren (Jolpica final standings).

The broadcast story was simple: "Red Bull lost its edge." The analyst's questions are harder. When did the edge go? Was it a single step or a slow fade? Did it go on Saturdays and Sundays at the same time? And how precisely can free timing data answer any of that?

This case works through the 2024 season with boxbox.development, using the front four teams of the year: Red Bull, McLaren, Ferrari and Mercedes. The script is code/case_study_01.py; its full printed output is code/output/cs1.txt.

Kenji: In the sim league we'd just say the car "fell off a cliff" after Imola.

Aisha: Maybe it did. Or maybe everyone else climbed. A gap has two ends.

The data

  • Qualifying: Jolpica-F1 qualifying times for 2024, corrupt times removed (more than 1.25 × the round median). A team's best time is the faster car's minimum of Q1, Q2 and Q3. Four wet sessions (Britain, Hungary, Belgium, São Paulo) are dropped by the OpenF1 wet rule, leaving 20 dry rounds.
  • Race pace: the toolkit's standard metrics.race_pace(by="team") for every 2024 race in which no more than 20 % of laps were on intermediate or wet tyres: the median fuel-corrected clean lap, using the toolkit's fuel assumption defaults (100 kg start fuel, 0.03 s/kg). This leaves 21 races. The gap is to the fastest team's race pace at that race.
  • What is missing: any record of which parts each car carried at each event. Every shift below is a change point in timing data.

Analysis

Step 1: the qualifying gaps

2024 dry qualifying: gap to fastest team (%), front four:
team_ref                      ferrari  mclaren  mercedes  red_bull
race_idx round circuit_ref                                        
1        1     bahrain          0.000    0.504     0.359     0.016
2        2     jeddah           0.365    0.705     0.965     0.000
3        3     albert_park      0.356    0.527     1.066     0.000
4        4     suzuka           0.550    0.331     0.645     0.000
5        5     shanghai         0.672    0.539     0.825     0.000
6        6     miami            0.162    0.405     0.523     0.000
7        7     imola            0.300    0.099     0.653     0.000
8        8     monaco           0.000    0.219     0.389     0.423
9        9     villeneuve       1.323    0.389     0.000     0.360
10       10    catalunya        0.488    0.000     0.445     0.028
11       11    red_bull_ring    0.835    0.628     0.818     0.000
12       15    zandvoort        1.305    0.000     0.820     0.511
13       16    monza            0.169    0.000     0.142     0.422
14       17    baku             0.000    0.317     0.502     0.442
15       18    marina_bay       0.248    0.000     0.353     0.173
16       19    americas         0.349    0.000     0.697     0.034
17       20    rodriguez        0.000    0.413     0.540     0.296
18       22    vegas            0.106    0.754     0.000     0.525
19       23    losail           0.412    0.313     0.068     0.000
20       24    yas_marina       0.277    0.000     0.650     0.424

The first seven rows are striking: Red Bull's gap is 0.000 six times and 0.016 % once (at Bahrain, where Leclerc's Q2 time was marginally quicker than Verstappen's pole lap). Then Monaco, round 8: 0.423 %, and Ferrari fastest. After that Red Bull is fastest only at the Red Bull Ring and Losail.

Line chart of the 2024 qualifying gap to the fastest team for Red Bull, McLaren, Ferrari and Mercedes, with 5-round rolling medians and a dotted line before Monaco

📊 Figure (described): Raw gaps (faint) and 5-round rolling medians (lines) for the front four in every dry 2024 qualifying session. Red Bull (blue) is flat on zero until round 7, then lifts to about 0.3–0.45 % from Montreal onwards. McLaren (orange) falls from about 0.5 % to zero by round 10 and stays there for most of the second half. Ferrari (red) and Mercedes (cyan) swap places with large swings. The takeaway: from Monaco onwards the reference role was shared.

Counting the fastest team by thirds of the season makes the shift plain:

Fastest team by thirds of the season (dry rounds):
team_ref     ferrari  mclaren  mercedes  red_bull
third                                            
races 1-7          1        0         0         6
races 8-14         2        3         1         1
races 15-20        1        3         1         1

And when Red Bull was fastest, its margin was small. Across its eight fastest-team sessions the second-fastest team was a median 0.343 % behind, and at Imola (round 7, its last fastest session before the change) only McLaren's 0.099 % separated them.

Step 2: the change point and its location

Run on the circuit-adjusted series, the detector finds one change point:

Red Bull 2024 change points (circuit-adjusted):
 index  before  after  shift  p_value  seg_start  seg_end
     7    0.02   0.27   0.25    0.043          0       20

The level rose from 0.02 % to 0.27 %, a shift of +0.25 pp, from the eighth dry round (Monaco). The p-value of 0.043 is just under the 0.05 threshold. With 41 team-seasons tested in the chapter, a result this close to the line is exactly the kind that could be one of the expected false alarms on its own. What makes it credible is everything around it: the fastest-team counts, the margins and, below, the race pace.

Why is a 0.25 pp step detectable here when the chapter's power simulation says steps under 0.4 pp usually go unseen? Because Red Bull's noise before the step is tiny. A team that is fastest every week has a gap of 0 every week, so the "before" segment has almost no variance. The simulation assumed the typical noise of 0.46 pp; the front-runner's series is much quieter.

Where exactly is the break?

Two bar charts: the split statistic at each candidate round for Red Bull 2024, peaking at round 8 with high values at 7 and 15; and the residual-bootstrap distribution of the change-point round, with 48 % at round 8

📊 Figure (described): Left, the split statistic $S(k)$ at each candidate first round of the new level: the highest bar is round 8 (Monaco), with round 7 and round 15 (Zandvoort) close behind. Right, where the best split lands in 2,000 residual bootstraps: round 8 in 48 % of them, rounds 6–9 in 79 %, and a thin tail out to round 20. The takeaway: the break is "around the start of the European season", not a specific weekend.

Residual-bootstrap distribution of the change-point round:
5     0.046
6     0.062
7     0.114
8     0.480
9     0.132
10    0.066
11    0.039
15    0.020
...
Share of bootstrap locations at rounds 6-9: 0.788

Note the second peak in the split profile at round 15, Zandvoort. When the chapter ran the detector on 2023–2025 as one continuous series, the break for Red Bull landed there instead: from 0.11 % to 0.36 % (p = 0.037). With a longer "before" segment that includes 2023, the best single split moves. Both runs agree that Red Bull's level rose during 2024. Neither identifies a weekend.

Step 3: Sunday's version

2024 dry races: race-pace gap to fastest team (%), front four:
team_ref             ferrari  mclaren  mercedes  red_bull
round circuit_ref                                        
1     bahrain          0.505    0.706     0.763     0.000
2     jeddah           0.691    0.749     0.947     0.000
3     albert_park      0.000    0.226     1.325     0.661
4     suzuka           0.555    0.529     0.797     0.000
5     shanghai         0.939    0.948     1.293     0.000
6     miami            0.081    0.000     0.660     0.116
7     imola            0.106    0.000     0.305     0.402
8     monaco           0.000    0.065     0.109     0.112
...
Fastest race-pace team by race: {'ferrari': 5, 'mclaren': 10, 'mercedes': 2, 'red_bull': 4}
Red Bull race-pace gap: rounds 1-7 median 0.000 %, rounds 8+ median 0.400 %
Red Bull race-pace change points: [{'round': 13, 'shift': 0.364, 'p': 0.046}]

Line chart of 2024 race-pace gaps to the fastest team for the front four, with rolling medians; McLaren falls to zero from Miami onwards and Red Bull rises after Monaco

📊 Figure (described): The same four teams on race pace. McLaren (orange) is the fastest race-pace team from Miami (round 6) for most of the season. Red Bull (blue) is at 0 for four of the first five races, then climbs to between 0.3 and 0.6 % from Hungary onwards. The race-pace lines are noisier than the qualifying lines. The takeaway: Sundays tell the same story, but McLaren's race-pace advantage appears earlier than Red Bull's qualifying decline.

Red Bull's race-pace gap was a median 0.000 % in rounds 1–7 and 0.400 % from round 8 on. The detector puts its race-pace change point later, at round 13 (Hungary, +0.364 pp, p = 0.046). And McLaren was the fastest race-pace team at Miami and Imola, before Red Bull's qualifying change point. Over the season McLaren had the best race pace ten times, Ferrari five, Red Bull four and Mercedes twice.

The two series are not contradicting each other. They are describing a gap with two moving ends. The race-pace data say McLaren became the fastest car on long runs from around Miami; the qualifying data say Red Bull's one-lap advantage disappeared from around Monaco. The order of those two events is consistent with McLaren improving first, and Red Bull's own level slipping later, but it is equally consistent with a single McLaren improvement that showed in race trim before it showed over one lap.

What it means (and doesn't)

What the data show. Red Bull's qualifying advantage, which had been consistently near zero gap in the first seven dry sessions, disappeared from around Monaco, and its median gap afterwards was about 0.3–0.4 %. Its race-pace advantage went too, with a race-pace change point around Hungary. McLaren became the most frequent fastest team on both Saturdays and Sundays in the second half.

What the data do not show.

  • Why. Nothing here distinguishes "Red Bull got slower relative to its own early form" from "McLaren got faster", or from changes in tyre allocation or circuit characteristics that we have not controlled. The gap measures the difference.
  • An exact weekend. The change-point location is spread over rounds 6–9 in 79 % of bootstraps, with a second candidate at Zandvoort.
  • A cause tied to parts. Any public statement about specific upgrades in this period would have to come from a sourced document, and the data snapshot contains none.
  • Driver effects. The team's best time is usually one driver's. Chapter 21's teammate table shows Verstappen ahead of Pérez in 23 of 24 qualifying sessions in 2024 (median gap 0.543 %), so Red Bull's best time is almost always Verstappen's, and the team series is essentially his. A one-driver series is cleaner, but it also means one driver's off weekend becomes the team's.

📺 On the broadcast: "Red Bull have lost their advantage" was a fair summary from the summer. "Red Bull brought an upgrade that didn't work" or "McLaren's floor transformed the car" are claims about causes. The timing data can tell you that and roughly when; for why, you need a source.

Discussion questions

  1. Red Bull's change point has p = 0.043. In a chapter that tests 41 team-seasons, why is it more credible than its p-value alone suggests? What independent evidence supports it?
  2. The power simulation in 24.6 says a 0.25 pp step is usually invisible, yet the detector found this one. Explain why, and say what that implies for detecting changes at the back of the field.
  3. McLaren's race-pace advantage appears from Miami, Red Bull's qualifying decline from Monaco. Construct two different stories consistent with that order, and say what data would separate them.
  4. Would you have used method="q1" for this case study? What would change for Red Bull, which always reached Q3?
  5. If you were setting Box Box's base pace for Red Bull at round 12, would you use its season median, its last five races or project_gap? Why?

Your turn

Repeat the analysis for Ferrari and McLaren in 2025 using code/case_study_01.py as a template (change FRONT and the year). Report: (a) the fastest-team counts by thirds of the season; (b) any change points in each team's qualifying and race-pace series, with p-values and the residual-bootstrap location interval; (c) one paragraph on what the data show and one on what they do not. Expected shape: the same three tables and three charts as this case. The chapter's season table says McLaren was fastest in 13 of 22 dry 2025 sessions; your thirds table should sum to that.