FastF1 Data Test & Validation Lab

TESTING SUITE

Automated dataset integrity validation for src/data/all_season_2026_data.json against FastF1 v3.8.3 specifications

TOTAL GRANDS PRIX
21Rounds Loaded

Australia (R01) โ†’ Sรฃo Paulo (R20)

VALIDATION RATE
100%Passed

14 Pass โ€ข 0 Warn โ€ข 0 Fail

FASTF1 PROTOCOL
v3.8.3Standard

Fuel Delta: 0.055 s/lap standard

DATA CLEAN FILTER
Tukey 1.5xIQR Fence

Excludes formation lap & SC

Select Grand Prix for Validation Suite

๐Ÿ‡บ๐Ÿ‡ธ

Las Vegas Grand Prix 2026

Round 21 โ€ข 50 Laps

Las Vegas Strip Circuit โ€ข USA โ€ข Circuit Length: 6.201 km

WinnerMax Verstappen
Pole PositionMax Verstappen (Grid P1; ANT Q3 1:33.893 -5P)
Fastest LapLAW (1:35.591)

FastF1 Data Integrity Test Results (Automated Assertions)

14/14 PASSED
1. GP Config

Total Laps & Distance Verification

Ensures total laps > 0 and circuit length is valid.

50 Laps
EVIDENCE:50 Laps โ€ข 6.201 km
1. GP Config

Official Race Winner & Pole Sitter

Official Race Winner and Pole Sitter must be explicitly defined without empty strings.

Max Verstappen
EVIDENCE:Winner: Max Verstappen | Pole: Max Verstappen (Grid P1; ANT Q3 1:33.893 -5P)
1. GP Config

Official Fastest Lap Record

Verified fastest lap with driver, lap time, and lap number <= total race laps.

1:35.591
EVIDENCE:LAW - 1:35.591 (Lap 50)
1. GP Config

Race Pace Chart Y-Axis Domain

yDomainRace must be a valid [min, max] range where min < max.

[95, 102]
EVIDENCE:yDomainRace: [95, 102]s
2. Top 5 Drivers

Top 5 Completeness (Pos 1 to 5)

Must contain the Top 5 classified drivers ordered cleanly from P1 through P5.

5 Drivers
EVIDENCE:P1:VER โ€ข P2:NOR โ€ข P3:PIA โ€ข P4:ANT โ€ข P5:GAS
2. Top 5 Drivers

Median-Over-Mean Robust Metric

Median race pace must be strictly positive and resistant to traffic anomalies.

97.954s
EVIDENCE:VER: 97.954s | NOR: 97.662s | PIA: 97.529s | ANT: 97.736s | GAS: 98.046s
2. Top 5 Drivers

Delta to Leader Monotonicity

P1 deltaToLeader = 0.000s; P2โ€“P5 delta strictly >= 0.

Verified
EVIDENCE:P1(0.000s) -> P5(+2.927s)
3. Tyre Stint Breakdown

Stint Data Existence & Driver Mapping

Every Top 5 driver must have complete tyre stint history records.

10 Stints
EVIDENCE:10 total stints logged
3. Tyre Stint Breakdown

Stint Lap Continuity (VER P1)

Stint 1 starts on Lap 1; final stint closes at Total Laps with zero lap gaps.

2 Stints
EVIDENCE:S1: SOFT (L1-19) -> S2: MED (L20-50)
4. FastF1 Clean Laps

Clean Laps Coverage for Top 5

Each Top 5 driver must include clean laps dataset extracted via pick_quicklaps().

5 Drivers
EVIDENCE:Drivers: VER, NOR, PIA, ANT, GAS
4. FastF1 Clean Laps

Exclusion of Formation / Lap 1

Standing-start Lap 1 must be excluded from the pure clean-laps set.

Exclusion Verified
EVIDENCE:Lap 1 cleanly excluded across all drivers
5. Fuel Correction

Full Race Lap Time Matrix (1..N Laps)

Full lap-by-lap timing telemetry matrix across complete race distance.

50/50 Laps
EVIDENCE:50 of 50 Laps available
5. Fuel Correction

Fuel Factor Model Midpoint Inflection

At half-distance (Lap N/2), the fuel-load mass correction approaches 0.000s.

Factor 0.055s
EVIDENCE:Formula: FC = Raw + (Lap - 50/2) * 0.055 s/lap
6. Qualifying Speeds

Qualifying Telemetry & Speed Traps

Official qualifying classification pace, gap to pole, and Q1/Q2/Q3 speed traps.

22 Drivers
EVIDENCE:22 classified driver timings

FastF1 Live Fuel-Correction & Degradation Calculator

Test the FastF1 mathematical model directly: FC = Raw + (Lap - TotalLaps/2) ร— FuelFactor

Lap 1 (Start)Lap 25 (Mid)Lap 50 (Finish)

Raw telemetry lap duration

FastF1 standard baseline: 0.055 s/lap

Calculated Fuel Delta+0.550s

(35 - 25) ร— 0.055

Fuel-Corrected Pace Result76.050s

Pace isolated from fuel-mass burn effect

Dataset Check Formula Conformance 100%

JSON Inspector: all_season_2026_data.json[lasvegas]

{
  "round": 21,
  "id": "lasvegas",
  "name": "Las Vegas Grand Prix 2026",
  "shortName": "Las Vegas",
  "circuit": "Las Vegas Strip Circuit",
  "flag": "๐Ÿ‡บ๐Ÿ‡ธ",
  "country": "USA",
  "trackLengthKm": 6.201,
  "totalLaps": 50,
  "hasSprint": false,
  "poleSitter": "Max Verstappen (Grid P1; ANT Q3 1:33.893 -5P)",
  "poleTime": "1:34.151",
  "poleAvgSpeed": 237.1,
  "winner": "Max Verstappen",
  "winnerCode": "VER",
  "winnerTeam": "Red Bull Racing",
  "winnerTeamColor": "#3671C6",
  "fastestLap": {
    "driver": "LAW",
    "driverCode": "LAW",
    "fullName": "Liam Lawson",
    "team": "Racing Bulls",
    "teamColor": "#6692FF",
    "time": "1:35.591",
    "timeSeconds": 95.591,
    "lap": 50
  },
  "safetyCars": [
    {
      "startLap": 19,
      "endLap": 25,
      "label": "SC L19-L25 (PER & CAM Turn 14 Collision)"
    }
  ],
  "yDomainRace": [
    95,
    102
  ],
  "qualiVmaxDomain": [
    280,
    360
  ],
  "qualiLapSpeedDomain": [
    210,
    245
  ],
  "aeroThresholdVmax": 338.5,
  "aeroThresholdLapSpeed": 234.43,
  "raceDate": "22 November 2026",
  "qualifyingDate": "21 November 2026",
  "tacticalCards": [
    {
      "id": "lv-tc1",
      "icon": "๐Ÿ†",
      "title": "Verstappen Converts Pole Into Tactical +0.639s Las Vegas Triumph",
      "subtitle": "Red Bull move P3 in WCC (440 pts) & VER edges +37 pts clear in WDC P2 fight",
      "color": "#3671C6",
      "content": "Starting P1 after Kimi Antonelli's 5-place PU grid drop (Q3 fastest 1:33.893), Max Verstappen executed a textbook desert victory (Air 11.9ยฐC / Track 14.1ยฐC):",
      "points": [
        "Maintained track position off the line and nailed a razor-sharp 21.220s pit lane transit under the Lap 19 Safety Car (Soft 19L -> Medium 31L).",
        "Crossed the line +0.639s ahead of Lando Norris after 50 laps (1:27:39.624), claiming his 4th victory of 2026 (75th career win).",
        "Extended his WDC Runner-Up lead to 304 pts (+37 over Hamilton) and kept Red Bull (+9 over McLaren: 440 vs 431) in P3 of the Constructors' table."
      ]
    },
    {
      "id": "lv-tc2",
      "icon": "๐Ÿš€",
      "title": "McLaren Double Podium & Piastri's +14-Place Charge (Grid P17 -> P3)",
      "subtitle": "Oscar Piastri clocked the field's fastest Fuel-Corrected median pace (97.814s)",
      "color": "#FF8000",
      "content": "Despite losing time during a Lap 19 double-stack Safety Car stop (NOR 24.814s, PIA 27.475s), McLaren secured dual rostrum hardware:",
      "points": [
        "Lando Norris drove from P3 to P2 (+0.639s), pressuring Verstappen relentlessly in the closing Medium stint.",
        "Starting P17 after a 10-place grid penalty, Oscar Piastri delivered an electric 14-place recovery to P3 (+1.529s), posting the grid's best clean-lap median (97.529s raw / 97.814s FC).",
        "33 Sunday points sealed a vital haul keeping McLaren within 9 points of Red Bull entering the final two rounds."
      ]
    },
    {
      "id": "lv-tc3",
      "icon": "โญ",
      "title": "Mercedes Clinch 2026 Constructors' Crown & Alpine Bag Double Top-6",
      "subtitle": "Antonelli (M->S P4) locks WCC on 666 pts while Gasly P5 & Colapinto P6 stun midfield",
      "color": "#00D2BE",
      "content": "Strategy divergence and clean execution produced huge championship milestones under the Strip floodlights:",
      "points": [
        "Serving a 5-place PU drop from Q3 P1 (1:33.893) to P6, Champion Kimi Antonelli ran an inverted Medium (19L) -> Soft (31L) strategy to finish P4 (+2.574s), clinching the 2026 WCC for Mercedes (666 pts, +149 lead).",
        "Alpine maximized Lap 19 SC efficiency with Pierre Gasly P5 (+2.927s) and Franco Colapinto P6 (+7.955s) for an 18-point midfield surge.",
        "Carlos Sainz climbed 12 places from P20 to P8 for Williams, while Liam Lawson (P14) captured Official Race Fastest Lap on Lap 50 (1:35.591)."
      ]
    },
    {
      "id": "lv-tc4",
      "icon": "โš ๏ธ",
      "title": "Lap 19 Safety Car, Ferrari Intra-Team Collision & Russell Late Drama",
      "subtitle": "Stewards issued 10s penalties to HAM (L12 T8), LEC (L38 T7 clash) & HAD",
      "color": "#E8002D",
      "content": "Close street-circuit walls and cold 14.0ยฐC tarmac triggered major incidents and steward penalties:",
      "points": [
        "Lap 17โ€“19: Sergio Pรฉrez (#11) & Rafael Camara (#51) collided at Turn 14, triggering the sole Safety Car period (Lap 19โ€“25) where 16+ drivers pitted simultaneously.",
        "Scuderia Ferrari endured heavy penalties: Hamilton received +10s for Turn 8 off-track advantage vs Norris (Lap 12, served during L20 pit stop), and Leclerc received +10s for a Turn 7 collision with Hamilton on Lap 38 (finishing HAM P7 / LEC P10).",
        "George Russell ran inside the podium fight until a dramatic +10s Lap 48 Sector 1 incident dropped him to P9 (+13.192s)."
      ]
    }
  ]
}