F1 Race
Intelligence
Dashboard
Season analytics, a broadcast-style replay player, and a pace model that publishes its own weakness next to the forecast, built for fans who want to understand strategy beyond the broadcast.
Strategy is invisible to fans
F1 strategy unfolds in seconds: tire degradation, track position, undercut windows. Broadcasters show you who pitted, not why. The data to answer why is public, but it arrives as raw timing frames and partial telemetry that never becomes readable on its own.
A dashboard that explains itself
- Eight pages covering season analytics, race centre, and replay
- Walk-forward backtest scored against the grid-order baseline
- Every derived figure labelled estimated, with the sample size behind it
- Bilingual explainer layer so a first-time viewer can read the charts
Data Pipeline
OpenF1 client with a rate limiter, retries, and a disk cache. A race is downloaded once, then replayed from a local SQLite cache instead of hitting the API again.
Feature Construction
Lagged features only: grid position, team pace, driver form, positions gained, and DNF rate. Every row a race is scored on is built from rounds before it, so the model cannot learn the result it is predicting.
Model
Ridge regression on five z-scored features, with a documented hand-weighted fallback (grid 0.40, team pace 0.35, form 0.25) used when history is too short to fit. The page says which engine produced each forecast.
Backtest
Walk-forward scoring against the naive baseline of "the finishing order equals the grid". F1 grids are strongly predictive, so the model has to beat that baseline to be worth showing.
Dashboard
Eight Streamlit pages: championship standings, race analysis, a broadcast-style replay player, strategy simulator, sector insights, setup fingerprint, and a competitor watchlist.
See it live
The dashboard is publicly deployed on Streamlit Cloud.