Second devlog!
Worked on analyze.py which for now has 5 functions as the core of the project:
get_clean_lap which filters out sc, vsc laps, track limits and such
get_race_pace calculates the average race pace per stint
get_head_to_head combines 2 drivers’ laps into one table for comparison get_consistency_score uses standard deviation to measure the consistency
get_h2h_summary compares 2 drivers’ pace and tells which one was faster
- I’ve also started working on
charts.pyto set up the dark F1 color theme and pulled the official team colors from the session data. - I tested everything in the terminal, VER vs LEC in Australia 2023 showed that Verstappen’s pace was 1.667 seconds per laps faster on average.
-
This here is Max Verstappen’s race pace in Mexico, 2024:
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.