Pitwall

Formula 1 · race replay and strategy

Pitwall

Replay a Formula 1 race from its real timing, telemetry and weather, lap by lap. Then ask the strategist what would have happened on a different plan, and watch it work the answer out from the race data.

Status
Private
Runs
On your machine
Races
10, 2024 to 2026
Pitwall replaying the Hungarian Grand Prix: the track in 3D with the cars on it, the classification on the left and Hamilton's speed, gear and tyres on the right.

01 · The 3D pit wall

The race in 3D

Every race replays in three.js, at up to sixteen times speed. Each car runs where its position data puts it, with speed, gear, throttle and brake from its own telemetry. Click a car to follow it, and its throttle and brake are painted along the track edges. DRS zones are marked on the track, with a badge on each car while its DRS is open. A flat 2D map is one click away.

Camera
The 3D pit wall in TV view at the 2025 Australian Grand Prix: a wide shot of the circuit with the field bunched behind the safety car, a 'Safety car deployed' banner, the DRS zones labelled, and every car in the classification marked PIT.
TV: a wide shot you can orbit. The 2025 Australian Grand Prix, under the safety car.
The 3D pit wall in onboard view: a chase camera behind Hamilton's Mercedes into turn 1 at the 2024 Hungarian Grand Prix, with his name tag, a 'DRS on' marker, and his speed and gear in the panel on the right.
Onboard: a chase camera behind the focused car. Hamilton at the 2024 Hungarian Grand Prix.
The 3D pit wall in tactical view: the Hungaroring seen from straight above on a radar-like grid, cars spread around the lap, with Hamilton focused in the panels on the right.
Tactical: straight down, with no perspective. The 2024 Hungarian Grand Prix again, with Hamilton focused.

02 · The race screen

The whole race on one page

Pick a race and it is all there: where every car ran, how fast it lapped, which tyres it used and when it stopped. Around the charts sit race control events, the focused car’s telemetry, and a strategy insights panel with the gap, closing rate and undercut threat to the cars around it.

The race screen for the 2024 Bahrain Grand Prix at lap 29 of 57: the classification down the left, then the lap time chart, the gap to leader chart and the strategy chart of every car's stints, with Verstappen's lap time, tyre and stint along the bottom.
Bahrain Grand Prix 2024, focus lap 29 of 57.
  1. Classification

    Positions, gaps and places gained or lost, with each team’s color.

  2. Focus lap

    Drag to any lap, or step with the arrow keys. The readout, the radio and the insights follow it.

  3. Lap times

    Every car’s laps, faster at the top, dotted by tyre compound. A what-if from the strategist draws here as a dashed line.

  4. Gap to leader

    The whole field, lap by lap, with safety car periods shaded.

  5. Stints and pit stops

    Each car’s tyres across the race, and the lap of every stop.

  6. Focus readout

    The selected driver’s position, lap time, gap, tyre, tyre age and stint.

  7. Strategist

    Opens the chat. So does the A key.

[ ] jump · ← → lap · Space play · A strategist

03 · From the database

Hungary 2024, stint by stint

Every race comes in through FastF1: lap and sector times, tyres, pit stops, weather, race control messages and each car’s telemetry, stored in SQLite. This is the top ten at the 2024 Hungarian Grand Prix, drawn from Pitwall’s own database the way its strategy chart draws it.

Strategy · stints and pit stops Hungarian Grand Prix 2024 · 70 laps
Top ten at the 2024 Hungarian Grand Prix: finishing position, gap to the winner, and each driver’s tyre stints by lap.
Pos Driver Gap Stints, lap 1 to 70
1 PIA McLaren Leader Medium, laps 1 to 18. Hard, laps 19 to 47. Medium, laps 48 to 70.
2 NOR McLaren +2.141 Medium, laps 1 to 17. Hard, laps 18 to 45. Medium, laps 46 to 70.
3 HAM Mercedes +14.880 Medium, laps 1 to 16. Hard, laps 17 to 40. Hard, laps 41 to 70.
4 LEC Ferrari +19.686 Medium, laps 1 to 23. Hard, laps 24 to 40. Medium, laps 41 to 70.
5 VER Red Bull Racing +21.349 Medium, laps 1 to 21. Hard, laps 22 to 49. Medium, laps 50 to 70.
6 SAI Ferrari +23.073 Medium, laps 1 to 21. Hard, laps 22 to 47. Medium, laps 48 to 70.
7 PER Red Bull Racing +39.792 Hard, laps 1 to 28. Medium, laps 29 to 47. Medium, laps 48 to 70.
8 RUS Mercedes +42.368 Hard, laps 1 to 33. Medium, laps 34 to 53. Hard, laps 54 to 70.
9 TSU RB +77.259 Medium, laps 1 to 29. Hard, laps 30 to 70.
10 STR Aston Martin +77.976 Soft, laps 1 to 14. Medium, laps 15 to 45. Hard, laps 46 to 70.

Gaps at the flag, summed from lap times as the app sums them. The dashed band marks laps 45 to 48.

The timing says what happened. The radio says why.

Hamilton made his second stop on lap 40. Norris stopped on lap 45 to cover him, and Piastri, leading, came in on lap 47. Here is what their engineers said on those laps.

Pitwall ships 390 team radio clips from its five 2024 and 2025 races, transcribed from the published audio with Whisper and searchable by the strategist. Each clip keeps a confidence score, and the strategist is told to check any fact in a clip against the timing before it uses it. The 2026 races have no transcripts.

Team radio Hungarian GP 2024
  1. PIA L46

    OK, Oscar. Lando has pitted to cover Hamilton to make sure he covers Hamilton. We’ll manage that situation. Best pace from you now. Best pace.

    confidence −0.155 · clean
  2. NOR L48

    OK Lando, Oscar has just pitted. He will likely come out just behind you. We’d like to re-establish the order, at your convenience.

    confidence −0.248 · clean
  3. NOR L66

    And Lando, there are five laps to go. The way to win a championship is not by yourself, it’s with the team. You’re going to need Oscar and you’re going to need the team.

    confidence −0.129 · clean

F1 broadcasts only a selection of team radio · auto-transcribed, verify against timing

04 · The strategist

Ask what would have happened

Open the strategist on any race and ask in plain words: who had the best strategy, whether an undercut worked, what if a driver had stayed out five more laps.

Each question starts the Claude Code CLI with a project-local MCP server of 20 race-data tools, scoped to that race. The model calls the ones it needs, the answer streams in as it is written, and the chat names each tool while it runs: “Fitting tire degradation”, “Simulating 1,000 races”.

A what-if comes back as a fuel-corrected projection, drawn over the real lap times as a dashed line. Ask about chances and it runs the rest of the race 1,000 times for the whole field, with random safety cars, pit-stop scatter, rivals pulling stops forward under a safety car, and overtaking odds fitted to that race.

The strategist chat, answering what would have happened had Norris made his first stop three laps earlier at the 2026 Hungarian Grand Prix: his simulated win chance rises from 37.6% to 44.4% and his podium odds from 80.8% to 82.3%, above a bar chart of finishing positions over 1,000 simulated races, real plan against the alternative.
A real answer on the 2026 Hungarian Grand Prix: Norris’s chances had his first stop come three laps earlier.
MCP server · pitwall 20 tools · one race at a time · reads SQLite directly
Race data
  • get_race_summary
  • get_driver_laps
  • get_stints
  • get_pit_stops
  • get_events
  • get_weather
Computation
  • compute_gap
  • compare_stints
  • compute_tire_degradation
  • get_fuel_corrected_pace
  • simulate_alternate_strategy
Simulation
  • simulate_race_outcomes
  • undercut_threat
  • battle_forecast
  • pit_strategy_battle
Telemetry
  • get_telemetry_at_corner
  • compare_braking_points
  • get_throttle_trace
Team radio
  • search_radio
  • get_radio

05 · How far to trust it

The simulator, scored

A backtest picks each dry race up a third and two thirds of the way through, fits the model only on the laps run so far, and scores its predictions against what really happened. Ten seeded races, eight of them dry.

It is not fully blind: rivals’ real future pit laps are used, as they are in the tools. Weather isn’t modelled, so the simulator refuses wet races.

Backtest · backtest_sim.py
MeasureResult
Rank correlation, predicted against real finishing order 0.76 to 1.00 per race
Podium Brier score (0 is perfect; always guessing 3 in 20 scores about 0.13) 0.058
Cars given an 80 to 100% podium chance that made the podium 82%
Cars given under 20% that made the podium 3%
Race comparison · NOR Hungarian Grand Prix

2024

Finished P2

Best lap
1:21.712
Avg lap
1:24.059
Laps
70

2026 against 2024

Best
+0.779 s
Average
+1.601 s

2026

Finished P1

Best lap
1:22.491
Avg lap
1:25.660
Laps
70

06 · Compare

One driver, two races

Compare sets one driver’s laps from two races side by side: best lap, average lap, and the difference on every lap.

Four of the 2026 races go back to circuits from earlier seasons under the new rules: no DRS, 70 kg of fuel instead of 110, and roughly half the power electric. So the same driver can be set against himself at the same track, two eras apart. Averages count every timed lap, pit laps included.

07 · Where it stands

Private, and it runs on your machine

There is no hosted copy. Pitwall runs on your own computer: a FastAPI backend, a React frontend, and the Claude Code CLI under your own sign-in for the strategist. The source is private, and you can ask for it.

Seeding loads ten races picked for their strategy: a two-stop baseline in Bahrain, track position at Monaco, changeable weather at Silverstone, undercut battles in Hungary, a safety car in Melbourne, and five races under the 2026 rules.

Seeded races laps · radio clips
The ten seeded races by circuit and season, with each race’s laps and its number of team radio clips.
Circuit 202420252026
Bahrain R1 57 laps 137 clips not seeded not seeded
Monaco R8 78 laps 48 clips not seeded R6 78 laps no radio
Britain R12 52 laps 41 clips not seeded R9 52 laps no radio
Hungary R13 70 laps 144 clips not seeded R11 70 laps no radio
Australia not seeded R1 57 laps 20 clips R1 58 laps no radio
Italy not seeded not seeded R13 53 laps no radio

Next

See what it needs and how it fits together.