Chapter 35 Exercises — Overtaking Analysis
Difficulty: ⭐ concept check · ⭐⭐ calculation or short analysis · ⭐⭐⭐ multi-step analysis or judgment · ⭐⭐⭐⭐ open-ended project
Every data exercise runs offline on the book's snapshot through the toolkit and boxbox.overtaking. Where an
answer gives a number, it comes from the chapter's own runs. Where it gives only a shape, your number depends on
choices you make, and you should report them.
Part A — Concepts ⭐
A1. OpenF1's overtakes table averaged about 253 records per race in 2023–26. Name four kinds of record in it
that are not on-track passes, and say for each why the timing system logs it.
A2. Why does the book's filter use the gap at the start of a lap, not the end, to define a following situation?
A3. Explain in two sentences why a recorded pass is located after the place where it actually happened.
A4. The chapter's reference-line method maps a fraction of the race lap's time to a fraction of the pole lap's distance. Why not simply use the time fraction as a distance fraction?
A5. In 2023–25 a car within 1 s of the car ahead gained about 14 km/h at the speed trap, yet a lap begun within 1 s was about half a second slower. Reconcile the two.
A6. "In 2026 most passes happen on the straight." Using the chapter's numbers (42.6% full throttle, 39.1% braking, 18.3% cornering; 72.9% within 300 m of a braking point), write a more accurate sentence.
A7. Why does the pass model shrink circuit effects towards zero? Which circuit is affected most by the shrinkage, and why?
A8. The order-flip proxy cancels a pass and re-pass within the same lap. Does that make it an over- or an under-count of passes? Give one other way it can miscount.
A9. Las Vegas had the most green passes of any race in the snapshot (180 in 2026), yet its circuit effect in the pass model is exactly the median. How can both be true?
A10. The pass model's circuit effects and race offsets both shift the log-odds of a pass. What is the difference between them, and why does a simulator need both?
Answers to Part A
A1. Pit cycles (a car pitting drops behind the cars it was ahead of; each change is logged), lap-1 shuffles (many order changes before the field settles), order changes under SC/VSC/red (cars pitting or being waved past), retirements (a car slowing to stop is passed by everyone), flicker (two cars side by side swap order at a loop and swap back), and mass changes (a damaged car or a timing glitch generates a burst of records for one car).
A2. The end-of-lap gap is partly the outcome: a car that passed ends the lap ahead (negative gap), and a car that lost time in dirty air ends further back. Using the start gap keeps the predictor independent of the result.
A3. The timing system updates race order when cars cross loops in the track. A pass made between loops is logged at the next loop: in 2026 a median 132 m later.
A4. Cars spend more time per metre in slow sections than on straights. The first 30% of a lap's time might cover only 25% of its distance. The pole lap's own time–distance curve converts one to the other; the test against 2026 race telemetry gave a median error of 22 m.
A5. The aids act on the straights only. In the corners the follower loses downforce in the leader's wake and loses more time than it gains on the straights. Chapter 20's within-stint estimate of the net cost is +0.495 s/lap.
A6. For example: "In 2026, about three-quarters of passes are completed within 300 m of a braking point, and a little over four in ten are done before the attacker even brakes."
A7. Each circuit's raw effect is noisy, and a circuit seen once can look extreme by chance. Shrinkage pulls each effect towards zero in proportion to its noise. Monaco moves furthest (raw −5.47 with a standard error of 0.63, shrunk to −4.48), because its estimate rests on very few passes. Madring's single race has a smaller standard error (0.20), so it moves less (raw −1.46, shrunk −1.43).
A8. An under-count of passes (a fight with a pass and re-pass in one lap counts as nothing). It also counts order changes caused by a car slowing for a reason the 10 s rule misses, which inflates it.
A9. Race totals are opportunities times conversion. Las Vegas has many close-following situations and large pace and tyre offsets in them. Once the model accounts for those, an individual situation at Las Vegas converts at the median rate.
A10. A circuit effect is fixed: it is the same for every race at that circuit and is estimated from all of them. A race offset is drawn afresh for each race and captures whatever makes one race at a circuit more or less "passable" than another (Qatar went from 37 passes from 106 situations in 2023 to 2 from 221 in 2025). Without the circuit effect the simulator gets each circuit's average wrong; without the race offset every simulated race at a circuit looks the same, and the tails (processions and thrillers) are too rare.
Part B — Calculations & Physics ⭐⭐
B1. Two cars are 0.45 s apart on a straight at 320 km/h. How many metres of road must the attacker gain to have its nose level with the defender's, and to be a car length ahead (use the chapter's assumed 5.5 m)?
Solution
320 km/h = 88.9 m/s. Gap: 0.45 × 88.9 = 40.0 m to draw level; 45.5 m to be a car length ahead (🧪 the 5.5 m is an assumption).
B2. Your clean-air pace advantage over the car ahead is 0.8 s/lap and you are 1.5 s behind. Using Chapter 20's wake cost of 0.495 s/lap once you are within 1 s (and no wake cost outside 1 s), estimate the laps needed to get from 1.5 s to 0.3 s behind.
Solution
From 1.5 s to 1.0 s at 0.8 s/lap: 0.625 laps. From 1.0 s to 0.3 s at 0.8 − 0.495 = 0.305 s/lap: 2.3 laps. Total about 2.9 laps. Without the wake cost it would be 1.5 laps, so the wake roughly doubles the time to reach striking distance.
B3. Use the stored model (pass_probability) for Monza on 2026 rules, with a 0.5 s/lap pace advantage, equal
tyres and compounds. Compare the probability of a pass starting the lap 0.7 s behind with starting 0.4 s behind.
Then confirm the ratio of the odds from the gap coefficient alone.
Solution
The model gives 9.7% at 0.7 s and 37.2% at 0.4 s. Odds: 0.097/0.903 = 0.107; 0.372/0.628 = 0.592; ratio 5.5. From the coefficient: $e^{5.6965 \times 0.3} = e^{1.709} = 5.5$. The probability rises almost fourfold; the odds 5.5-fold.
B4. A car on tyres 20 laps fresher than the car ahead, with a 0.2 s/lap race-pace advantage, starts a lap 0.6 s behind at the median circuit. Compute the odds ratio from the tyre advantage alone in the DRS era and in 2026, and the model's pass probabilities with and without the tyre advantage in each era.
Solution
Odds ratio: DRS era $e^{0.1216 \times 20} = 11.4$; 2026 $e^{0.0468 \times 20} = 2.55$. Probabilities from the stored model: 2025 rules 7.0% without, 46.3% with the tyre advantage; 2026 rules 11.0% without, 24.0% with. In 2026 a 20-lap offset roughly doubles the chance; in the DRS era it multiplied it more than sixfold.
B5. In 2023–25, 55.9% of recorded passes fell in a DRS zone or the 150 m after it, and those windows covered 35.2% of the lap. Compute the lift. With a 300 m allowance the numbers were 79.7% and 44.3%; with no allowance 37.4% and 26.2%. Why does the lift change with the allowance, and which value would you quote?
Solution
Lifts: 55.9/35.2 = 1.59; 79.7/44.3 = 1.80; 37.4/26.2 = 1.43. A wider window catches more of the passes that the timing records late (the 2026 lag IQR is 27–261 m), so the share rises faster than the coverage until most lagged records are inside. Quote the 150 m value (the median lag) as the central estimate, with the range 1.43–1.80 as sensitivity.
B6. The Jolpica proxy rose from 22.2 to 29.6 flips per race from 2021 to 2022, and from 4.17 to 5.88 flips per 10 racing laps. Compute both percentage changes. Why might they differ, and why is neither a proof that the 2022 rules increased passing?
Solution
Per race: +33.3% (the bootstrap point estimate is +33.1% from unrounded values). Per 10 racing laps: +41.0%. They differ because racing laps per race differ between seasons (SC laps are skipped, and 2021 had races with no racing laps). Neither is proof: the per-race bootstrap 95% interval is −0.6% to +82.9%, the proxy cancels re-passes and counts some slow cars, and seasons differ in calendar, weather and car spread.
B7. In 2026 the end-of-straight following gain was about +12 km/h. Suppose that advantage applied, on average, over the whole of a 1,250 m straight driven at an average 310 km/h. How much road does the follower gain? Is it enough to pass from 0.6 s behind?
Solution
Time on the straight: 1,250 / 86.1 = 14.5 s. 12 km/h = 3.33 m/s; distance gained ≈ 3.33 × 14.5 = 48 m. From 0.6 s at 310 km/h the gap is 51.7 m, plus 5.5 m (🧪) to be a car length ahead: about 57 m. Not quite, on that assumption, which is why the gap at the start of the lap matters so much. In reality the gain is smaller at the start of the straight than at the end, so this estimate is generous.
Part C — Data & Code ⭐⭐–⭐⭐⭐
C1. Analyze this session ⭐⭐. Classify every overtakes record of the 2024 Monaco GP with
overtaking.pass_counts(f1data.session(2024, "monaco", "R")). How many green passes are there, and which class
holds most records? Then do the same for the 2024 Italian GP.
Expected shape: Monaco 2024 has 6 green passes (the fewest in the snapshot); Italy 2024 has 42, with the pit
in/out class by far the largest (149 records).
C2. Analyze this session ⭐⭐. For the 2026 Las Vegas GP, run overtaking.locate_passes and tabulate the
attacker's state at the crossing. Compare it with the 2026 Monza shares (78% full throttle). Print the median record
lag.
Expected shape: about 130 located passes; full throttle the largest class (the chapter's circuit table gives 59%
for Las Vegas).
C3. Compare these drivers ⭐⭐. For 2023 and 2026, count green passes made and suffered by Sergio Pérez (2023)
and Max Verstappen (2026), and list the five drivers each passed most often. Use the classified passes from
ch35_common.all_passes().
Expected shape: Pérez made 81 green passes in 2023, the most that season; Verstappen made 85 in 2026. Who suffered
most? (The chapter's run: Bottas 85 in 2023, Alonso 89 in 2026.)
C4. Build the strategy ⭐⭐⭐. Extend 05_pass_probability.py: add an indicator for whether the defender was
itself within 1 s of a car ahead (a DRS or Overtake "train"). Refit and report the coefficient with its clustered
95% interval. Does being in a train make the defender harder to pass, as the broadcast says?
Expected shape: a coefficient and interval. Report the share of situations that are trains, and say whether the
interval excludes zero.
C5. Predict the race ⭐⭐⭐. Using only 2023–25 races, fit fit_pass_model and predict the 2026 passes from
following situations race by race. Compare the total with the observed 410 passes from 2,541 situations.
Expected shape: a 2023–25 model has no 2026 era term, so it should under-predict 2026 at equal inputs, by roughly
the era effect (odds ×1.6), partly offset by its larger tyre slope. Quantify which effect wins.
C6. Analyze this session ⭐⭐⭐. Pick any 2026 race and plot the on-road gap (on_road_gap) for the pass with the
largest record lag. Is the crossing unambiguous (one sign change), or are there several? What does that tell you
about the 19% of 2026 passes the chapter could not locate?
Expected shape: a gap trace and a short explanation; many large-lag cases show the cars side by side for a long
stretch, with several sign changes.
C7. Compare these circuits ⭐⭐⭐. For every 2026 circuit, correlate the share of full-throttle passes (§35.4)
with the longest-straight length from the 2026 pole lap and with the 2026 following gain on that straight
(code/_cache/straight_speeds_2023_2026.parquet, rows with year == 2026). Which predicts "straight-line passing" better?
Expected shape: two Spearman correlations with n = 21; discuss Monza, Spa and Las Vegas against the Hungaroring.
C8. Analyze this session ⭐⭐. Rerun the speed-trap design in 04_drs_tow_overtake.py including the
leader's laps (drop the interval > 0 filter). Confirm that the pooled 2023–25 gain falls below the book's
+14.0 km/h and the 2026 gain below +8.5 km/h, and explain the direction of the bias.
Expected shape: pooled 2023–25 close to +13.0 km/h with about 830–840 driver-races, and 2026 close to +7.0 km/h;
report the exact values you get.
Part D — Strategy & Judgment ⭐⭐⭐
D1. Call the pit stop. 2026 Hungarian GP-type situation (use the Hungaroring's stored circuit effect, 2026 rules). You are 0.6 s behind a car that is 0.4 s/lap slower on race pace, on the same compound and tyre age, at mid-race. Your options are: (a) stay behind and try to pass on track; (b) undercut with a stop now. Chapter 13 found undercut success of 78.6% when the gap is under 1 s (2023–26). Decide first, then open the reveal.
Reveal: what the numbers say
The stored model gives 9.4% per lap for that situation at the Hungaroring in 2026 (5.9% on 2025 rules). The chance of no pass in five laps is (1 − 0.094)^5 = 61%. The checkpoint's Monte Carlo (0.3 s/lap, equal tyres, with race offsets) left the attacker stuck for more than 10 laps in 41.2% of 2026 runs. Against that, the undercut's 78.6% success rate (all circuits, gap under 1 s) is the better bet, provided the pit-loss and traffic picture is normal. The general lesson: where the circuit effect is negative, the pit stop is the overtake.
D2. Design the setup. A team must choose between a lower-drag and a higher-downforce rear-wing level for Monza and for the Hungaroring, purely to maximise its chance of passing in the race. Use §35.4 (where passes happen) and §35.5 (the measured straight-line gains) to argue for each circuit. Which variable in the pass model would the setup choice most plausibly change, and why can't the model tell you how much?
Discussion points
At Monza, 78% of 2026 passes were completed at full throttle and Monza's circuit effect is about average (+0.06): passes there are won on the straight, so straight-line speed (lower drag) is what the attacker needs. At the Hungaroring, 89% of 2026 passes were completed under braking and the longest straight is only about 460 m; the attacker needs to be close enough at the end of a short straight, which means following well through the corners before it, so downforce (and less sensitivity to the wake) matters more. In the model, a setup change acts through the pace delta (and, really, through the wake cost and the straight-line gain, which the model does not have as separate variables). The model was fitted on what teams actually ran, with no variation in setup we can observe, so it cannot say how much a wing change would move the pass probability. That needs a 🧪 physics model (Chapters 3 and 11) calibrated against the measured straight-line gains of §35.5.
D3. Build the strategy. You lead a race at a circuit with a strong positive circuit effect (the Americas,
+1.01). The car behind is on tyres 15 laps fresher and 0.3 s/lap quicker. Using pass_probability, estimate the
chance you are passed within the next five laps if the gap stays at 0.6 s, on 2025 and on 2026 rules. Would you pit
to cover? State what else you would need to know.
What the model says
On 2025 rules the stored model gives 59.1% per lap; the chance of being passed within five laps at a constant 0.6 s gap is 1 − (1 − 0.591)^5 = 98.9%. On 2026 rules it gives 43.5% per lap and 94.3% within five laps. In both eras you will almost certainly lose the place on track, so the question becomes whether covering with a stop costs more than one place: you need the pit loss at this circuit, the gap to the car behind it, the laps remaining (fresh tyres need time to pay back, about 21 laps at the median fresh-tyre delta), and the SC risk that could make a stop cheap. Note that the gap does not stay constant in reality: with a 0.3 s/lap and 15-lap tyre deficit it shrinks.
D4. Judgment. A journalist writes: "The 2022 rules increased overtaking by 30%." Write a three-sentence correction that a fan can follow, using the chapter's numbers.
A model answer
"There is no official overtake count for 2021 and 2022 in free data, so analysts use a proxy: how often two cars swap order from one lap to the next, ignoring pit stops and safety cars. On that proxy, 2022 had about 33% more position changes per race than 2021 (22.2 against 29.6), which is close to the 30% claim. But the races vary so much that the honest range is anything from no change to about +83%, so 'probably more, amount uncertain' is as far as the data go."
Part M — Mixed / Interleaved ⭐⭐–⭐⭐⭐
M1. (Chapters 13 and 35) ⭐⭐⭐. Chapter 13's undercut success fell from 78.6% (gap under 1 s) to 19.3% (2–3 s). This chapter's on-track pass rate fell from 62.8% (0–0.2 s) to 3.5% (0.8–1.0 s) in 2023–25. Plot both curves on one chart (gap on the x axis). At what gap does the undercut become more likely to work than an on-track pass on the next lap? Discuss why the comparison is not like for like.
M2. (Chapters 14 and 35) ⭐⭐. The book's per-lap full-SC hazard for 2023–26 is 0.0115, and a restart bunches the field. Using the gap coefficient, estimate how much a restart (which closes typical gaps from about 1.0 s to 0.3 s) raises the odds of a pass on the first green lap. Why does the chapter's situation filter exclude restart laps anyway?
Hint
$e^{5.6965 \times 0.7} \approx 54$: a 54-fold rise in the odds, from the gap term alone. The filter excludes the restart laps because DRS was disabled for two laps after a restart in 2023–25 (and Overtake is disabled until the leader first crosses the Detection Line), tyres are cold, and the field is bunched in a way that normal racing laps are not. The model would be extrapolating. Model restarts separately.
M3. (Chapters 20 and 35) ⭐⭐⭐. Chapter 20's dirty-air cost by circuit correlated −0.59 (Spearman) with green
passes per race. Correlate Chapter 20's circuit dirty-air costs (../../part-03-performance-analytics/chapter-20-race-pace-and-fuel-correction/code/dirty_air_by_circuit.csv)
with this chapter's shrunk circuit offsets (CIRCUIT_OFFSET). Is a circuit hard to pass at because following is
expensive there, or for other reasons?
M4. (Chapters 29 and 35) ⭐⭐. Chapter 29 found Mercedes the fastest qualifying team in 14 of 21 rounds of 2026 and
a wider field. This chapter found a smaller tyre slope in 2026. Propose and run one test of whether the smaller tyre
slope is just because 2026 tyre offsets were smaller (compare the distribution of tyre_delta in 2026 and 2023–25
situations).
M5. (Chapters 27 and 35) ⭐⭐⭐. Add pass_probability with sample_race_offset to a simple two-car Monte Carlo of
Chapter 27's style: a faster car starting 2 s behind on a 50-lap race at Monza (2026 rules), with Chapter 20's wake
cost applied inside 1 s. Report the distribution of the lap on which the pass happens, and the share of races with
no pass.
Part E — Research & Extension ⭐⭐⭐⭐
E1. Zone by zone. With 2023–25 race car_data on disk, measure the DRS flap's effect zone by zone: find each race's DRS zones as the distance windows where at least 20% of the laps that opened the flap anywhere had it open, time every clean lap through each window, and compare open with closed for the same driver and zone. How does the time gain vary with zone length, and how does it compare with the 🧪 drag-cut model's 0.371 s for a 700 m zone? Because DRS-open laps are by rule within 1 s of a car ahead, say clearly that your estimate is DRS plus tow.
E2. A mistakes model. 40.7% of green passes in dry races did not start from a within-1-s situation. Build a model for those passes: what precedes them (a slow sector for the defender, a lock-up visible as a speed anomaly, a deleted lap)? Use mini-sector or sector times and race control messages. How would Box Box include it?
E3. Defending. Defence is the other half of every battle: late defensive braking, positioning and line choice. With 2026 race telemetry for both cars, look for defensive signatures before passes that did not happen: does the defender brake earlier or later, or carry less speed, when attacked? Be explicit about what 3.7 Hz telemetry without position data can and cannot show.