View Source F1Bot.F1Session.DriverDataRepo.Laps (f1_bot v0.7.0)
Stores all information about laps driven by a driver in the current session, e.g. lap number, lap time and timestamp.
Link to this section Summary
Functions
Determine outliers in the given laps based on lap time compared to
all other laps that occurred around a similar time (+/- @outlier_window_ms).
Lap is marked as an outlier if it's greater than factor * minimum lap time
in the window.
Link to this section Types
@type t() :: %F1Bot.F1Session.DriverDataRepo.Laps{ data: %{required(pos_integer()) => F1Bot.F1Session.DriverDataRepo.Lap.t()} }
Link to this section Functions
Determine outliers in the given laps based on lap time compared to
all other laps that occurred around a similar time (+/- @outlier_window_ms).
Lap is marked as an outlier if it's greater than factor * minimum lap time
in the window.