Skip to main content
Part of the Physics family.
Foundation for all downstream window functions. One row per race lap (the FULL chronological sequence, including SC/VSC/pit/invalid laps) so physics-layer LAG/EWMA windows decay correctly across those gaps instead of treating the lap before/after a gap as adjacent. Builds stint identifiers (stint_id), lap positions within stints (lap_in_stint = chronological ordinal, valid_lap_in_stint = ordinal among valid laps only, age_in_stint = tyre_life), and compound tracking. Consumers that fit pace/regression models filter to is_valid_lap (or key off valid_lap_in_stint) at their own input boundary. All Layer 03 window functions partition on stint_id.

Lineage

Overview

16 tests guard this model - 11 generic, 5 singular.

Columns