Chapter 2 Quiz — The F1 Data Pipeline
Twenty questions. Answers and explanations are in the collapsible blocks. Numbers refer to the book's data snapshot (OpenF1 2023–2026 through the Las Vegas GP; Jolpica 1950–2026).
Multiple choice
1. Which source would you use to find every race-winning grid position at Monaco since 1996?
- A. OpenF1
- B. Jolpica-F1
- C. FastF1 without a subscription
- D. The car_data telemetry archive
Answer
B. Jolpica has grids and results from 1950. OpenF1 starts in 2023; telemetry says nothing about grids.
2. In OpenF1, what ties a lap, a stint and a pit visit of the same car together?
- A. The driver's name
- B. meeting_key and lap_number
- C. session_key and driver_number
- D. The Grand Prix name
Answer
C. Every record carries session_key and driver_number (plus lap_number where relevant). Names are
not keys.
3. Which clean-lap rule removes the most race laps in the 2023–2026 funnel? - A. Not lap 1 - B. Not a pit in/out lap - C. Green for the whole lap - D. Within 107 % of the stint median
Answer
C. The flag rule removes 8,099 laps; pit laps 6,627; lap 1 1,854; the 107 % rule only 488.
4. The longest green race lap in the archive (2,588.523 s) is removed from clean laps because: - A. It exceeds 107 % of the stint median - B. It is both a pit in-lap and a pit out-lap - C. It has no lap time - D. It happened under a red flag
Answer
B. It is caught by the structural pit rule (step 2 of the funnel) before the 107 % rule is ever applied. Its track status is GREEN.
5. Why does the build match OpenF1 meetings to Jolpica rounds by date rather than by name? - A. Dates are shorter strings - B. Names differ and repeat (the 2026 Sepang race is "Bahrain Grand Prix" in OpenF1) - C. Jolpica has no race names - D. OpenF1 has no dates
Answer
B. A name join would confuse the relocated 2026 Bahrain GP (held at Sepang) with the cancelled Sakhir meeting of the same name.
6. From lap 2 onward, OpenF1 and Jolpica lap times agree exactly on what share of matched race laps? - A. About 50 % - B. About 90 % - C. About 98 % - D. 99.991 %
Answer
D. 99.991 % of 99,876 laps. Including lap 1, where they never agree exactly, the figure is 98.26 %.
7. The median interval between OpenF1 car_data samples in 2026 qualifying is:
- A. 0.024 s
- B. 0.100 s
- C. 0.240 s
- D. 1.000 s
Answer
C. 0.240 s, with a mean rate of 3.74 samples per second, and intervals arriving on a 0.04 s grid.
8. At Albert Park, using OpenF1's raw stint boundaries instead of the fixed ones changes the median green-flag pit loss by about: - A. +5 s - B. −5 s - C. −0.5 s - D. 0 s
Answer
B. 15.55 s raw against 20.91 s fixed, a 5.36 s underestimate. The real out-lap drops out of the sum.
9. Which statement about FastF1 3.9 is correct? - A. It is free for all data from 2018 onward with no account - B. Its official timing source requires an F1 TV subscription; its Ergast interface points at Jolpica - C. It is the source of every number in this book - D. It cannot cache data
Answer
B. The book shows how a subscriber uses it, but every analysis runs on the free sources.
10. What does "brake": 100 in a car_data sample tell you?
- A. Brake pressure is 100 bar
- B. The pedal is 100 % pressed
- C. The brake was on at that sample
- D. The car is decelerating at 1 g
Answer
C. The channel is on/off only. It carries no pressure or force information.
11. Which merge setting should you use the first time you join two sources?
- A. how="inner"
- B. how="left" with no checks
- C. how="outer", indicator=True
- D. Concatenate the tables instead
Answer
C. The indicator column shows rows found in only one source, which is how the 446 missing 2025 Miami laps were found.
True or false (with a one-line justification)
12. "If a lap was deleted by race control for track limits, the laps table marks it as not clean."
Answer
False. The laps table has no deletion flag. 1,106 deleted race laps are still clean; you must parse
race-control messages (Box Box's deleted_laps()) to remove them when the question requires it.
13. "Integrated distance from speed matches the official lap length to within 0.1 %."
Answer
False. On the 19 good 2026 fastest qualifying laps it runs 0.45–1.91 % short (median −0.94 %); laps are rescaled before comparison.
14. "In every 2026 qualifying session, the fastest timed lap in the laps table is the pole time."
Answer
False. It holds in 20 of 21. At the wet 2026 Brazilian GP the fastest lap (Russell, 1:26.745) came in Q2; pole was decided in Q3 (Norris, 1:27.470).
15. "OpenF1 car telemetry for 2026 has no DRS information because DRS no longer exists."
Answer
True. 2026 cars have active aero instead of DRS, and the drs field is null throughout the season.
16. "A long run of identical speed, rpm, throttle and gear values while the car is moving is a normal feature of qualifying laps at high-speed circuits."
Answer
False. A typical lap's longest identical run is one sample (0.24 s). Runs over 2 s, found on 9.4 % of drivers' fastest 2026 qualifying laps, are stalled feeds.
Short answer
17. Give two reasons the book uses each driver's stint median rather than the session's best lap as the reference for its 107 % rule.
Answer
(1) Slow cars' representative laps are kept: the session-best rule drops 8,258 race laps the stint rule keeps, 64 % of them from cars that finished 11th or lower. (2) Each stint gets its own reference, so fresh-tyre and worn-tyre laps, or light- and heavy-fuel laps, aren't judged against each other. A median is also robust to extreme laps.
18. Why should you plot telemetry against time before aligning two laps on distance?
Answer
Because broken telemetry (a frozen feed, a gap) is obvious against time but gets hidden or distorted after distance integration. The 2026 Suzuka pole lap's 24.7 s freeze made its integrated length 7.22 % short.
19. The 2025 Miami GP is missing laps 2–24 in OpenF1. Name two things you can still analyse for that race, and the source for each.
Answer
Any two of: lap times, positions and gaps (Jolpica laps); pit stops and pit-lane times (Jolpica pitstops); safety-car and VSC periods (OpenF1 race control, which is complete); the final classification (both); the stints and compounds for laps 25–57 (OpenF1).
Chart reading
20. Look at Figure 2.5 (images/ch02-fig-05-japan-2023-lap-classes.png). (a) Which laps of the race were
run under the safety car, and how can you tell? (b) Roughly what range do the clean laps occupy? (c) How many
laps are removed by the 107 % rule alone?

Answer
(a) Laps 1–4 (shaded SC; laps 2–4 show the yellow diamonds of neutralised laps; lap 1 is excluded on its own rule), and a VSC on laps 13–14. (b) About 95–102 s. (c) One lap (the red cross near lap 26).
21. Look at Figure 2.9 (images/ch02-fig-09-integrated-distance.png). Which two circuits are outliers,
and what do they have in common?

Answer
Suzuka (−7.22 %) and Monza (+1.56 %). Both fastest laps contain frozen telemetry (24.7 s and 4.7 s of repeated samples), which corrupts the integrated distance in opposite directions: frozen at a low speed (too short) or at a high speed while the car was really braking (too long).
Scoring guide
- Questions 1–16: 1 point each (16).
- Questions 17–19: 2 points each (6): one for the idea, one for the evidence from the data.
- Questions 20–21: 2 points each (4).
- Total: 26 points. 22+ : you're ready for Part II's strategy chapters. 16–21: reread §2.6 and §2.7. Below 16: work through Part C exercises C1, C2 and C4 before moving on.