A Formula 1 dashboard that runs itself: after every race it fetches, checks, tests and publishes the new data with nobody watching. Standings, results, telemetry lap comparisons, tyre strategies and a stewards' record. It started as a single HTML file with hardcoded arrays and grew into an unattended data pipeline.
After each race, scheduled GitHub Actions jobs run a Python agent that pulls results and telemetry from the public Jolpica/Ergast and OpenF1 APIs into a SQLite database, fills anything published late (qualifying, sprints, pit stops, standings), rebuilds the dashboard's data files, then runs data checks, logic tests and browser tests before deploying. No one has to monitor it: if a source sends bad data or a test fails, nothing ships, the site stays on its last good version, and I get an email.
- Idempotent ingestion. Every write is an upsert on a unique key, so re-running a round is safe, and a repair pass fills gaps the APIs filled in late.
- Hands-off by design. Before every deploy, data checks confirm rounds are complete and in order, standings match the points scored, and the data never goes backwards; logic tests cover the title maths and strategy model; browser tests load every view at desktop and phone sizes.
- Safe changes and monitoring. Site edits go through a pull request with its own preview build and the same tests before they can go live; an uptime check runs every 6 hours and a backup copy is mirrored to GitLab.
- Telemetry you can compare. Fastest qualifying laps are resampled onto one distance grid, so two drivers' speed, throttle and braking line up corner by corner.
- Live race weekends. Practice and qualifying timesheets load straight from OpenF1 in the browser, cached so each session is fetched once.
data.jsonBuilt from the agent's latest export, re-rendered here in the portfolio's own theme. The full dashboard reads the same file.
Original purpose of the dashboard: pick a circuit during race week to get its facts and recent winners. Only 2026-calendar circuits with completed rounds are loaded into this embed.