Part of the Marts family.
Lineage
Overview
14 tests guard this model - 14 generic, 0 singular.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
One row per driver-race, shaped for plain-language explanations (‘why so slow at Monza’).
| Property | Value |
|---|---|
| Layer | marts |
| Family | Marts |
| Contract enforced | No |
| Upstream | fct_lap_residuals, stg_results, int_driver_race_skill_loro, dim_circuits |
| Model-level tests | unique_combination_of_columns |
| Column | Type | Nullable | Tests | Description |
|---|---|---|---|---|
driver_id | Yes | not_null | FastF1 three-letter driver code (e.g. VER, HAM). | |
race_id | Yes | not_null | Race identifier. | |
race_year | Yes | not_null | Season year. | |
circuit_id | Yes | Physical circuit identifier from dim_circuits. | ||
rating_s | Yes | not_null | Race rating (driver_skill_loro_s), seconds. Negative = faster than the teammate. | |
rank | Yes | not_null, accepted_range | Rank of rating_s within the race; 1 = fastest. Ties share a rank. | |
n_drivers | Yes | not_null, accepted_range | Number of rated drivers in the race. | |
percentile | Yes | accepted_range | 1 - (rank - 1) / (n_drivers - 1). 1.0 = top of the race, 0.0 = bottom. | |
ci_low | Yes | rating_s - 1.96 x standard error of clean-lap driver_skill_residual_s. | ||
ci_high | Yes | rating_s + 1.96 x standard error of clean-lap driver_skill_residual_s. | ||
n_clean_laps | Yes | accepted_range | ml_eligible laps behind the components and the CI band. | |
teammate_id | Yes | Same-race teammate with the most clean laps. Null when there is none. | ||
teammate_gap_s | Yes | rating_s minus the teammate’s rating_s, seconds. Negative = faster than the teammate. | ||
constructor_id | Yes | not_null | Constructor for the race. | |
constructor_rank | Yes | Race rank of the constructor’s mean constructor_component_s; 1 = fastest car. | ||
mean_fuel_component_s | Yes | Mean fuel component over ml_eligible laps, seconds. | ||
mean_compound_component_s | Yes | Mean compound component over ml_eligible laps, seconds. | ||
mean_constructor_component_s | Yes | Mean constructor component over ml_eligible laps, seconds. | ||
mean_dirty_air_tax_s | Yes | Mean dirty-air tax over ml_eligible laps, seconds. | ||
avg_lap_time_s | Yes | Mean lap time over ml_eligible laps, seconds. | ||
laps_completed | Yes | accepted_range | All laps the driver has in fct_lap_residuals for the race, clean or not. | |
positions_gained | Yes | grid_position - finish_position from stg_results. Positive = places gained. | ||
has_dnf | Yes | not_null | TRUE when stg_results marks the driver as a DNF. FALSE when no result row exists. |