Casper-Guo / Armchair-Strategist

Strategy dashboard for all F1 races since 2018
https://armchair-strategist.dev/
Apache License 2.0
49 stars 4 forks source link

Fix compound plot cannot be shown for Dutch GP bug #96

Closed Casper-Guo closed 2 months ago

Casper-Guo commented 2 months ago

The bug is caused by preprocessing.py not adding PctFromLapRep and DeltaToLapRep to the csv file.

A temporary fix is implemented. The transformation functions in preprocess.py will be overhauled

Other minor changes to the compound plot:

  1. Compound selection reset to empty when a new session is loaded
  2. Implemented a minimum lap count of 5% of all laps for a compound to be eligible for plotting. Previously, the caveat stated a one sixth limit which was not actually implemented.