Part of the Strategy family.
Lineage
Overview
19 tests guard this model - 17 generic, 2 singular.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Safety-Car / Virtual-Safety-Car base rate per circuit (venue slug) as a hazard per racing lap, POINT-IN-TIME AS OF THE START OF EACH SEASON.
| Property | Value |
|---|---|
| Layer | intermediate |
| Family | Strategy |
| Contract enforced | No |
| Upstream | stg_track_status, stg_laps |
| Model-level tests | unique_combination_of_columns |
| Column | Type | Nullable | Tests | Description |
|---|---|---|---|---|
circuit_slug | Yes | not_null | Venue identifier (race name slug, e.g. monaco_grand_prix); recurs across seasons. | |
season | Yes | not_null | The season this estimate is “as of the start of”. The estimate uses seasons < this value only; the current season’s own races are deliberately excluded, so the value is constant across a season. | |
season_races_n | Yes | not_null | Races at this circuit in THIS season — exposure the season lag deliberately excludes from the estimate. Carried so a consumer can see how much is being withheld, not as an input to any rate. | |
prior_seasons_n | Yes | not_null | Distinct earlier seasons contributing to the estimate. 0 on a circuit’s debut season; never NULL. This is the companion count that makes the rate NULLs explainable from the data. | |
prior_races_n | Yes | not_null | Races in the estimate (this circuit, seasons < season). 0 on a debut; never NULL. | |
prior_racing_laps | Yes | not_null, expect_column_values_to_be_between | Racing-lap exposure in the estimate (sum of per-race leader lap counts over seasons < season) — the hazard denominator. 0 on a debut season; never NULL. | |
prior_sc_onsets | Yes | not_null | Safety-Car onsets in the estimate window. Never NULL. | |
prior_vsc_onsets | Yes | not_null | Virtual-Safety-Car onsets in the estimate window. Never NULL. | |
prior_any_onsets | Yes | not_null | Combined SC+VSC onsets in the estimate window. Never NULL. | |
sc_hazard_per_lap | Yes | expect_column_values_to_be_between | Raw Safety-Car onsets per racing lap over seasons < season. NULL on a circuit’s debut season (no prior exposure) — see the model description’s missingness note. | |
vsc_hazard_per_lap | Yes | expect_column_values_to_be_between | Raw Virtual-Safety-Car onsets per racing lap over seasons < season. NULL on a circuit’s debut season. | |
any_hazard_per_lap | Yes | expect_column_values_to_be_between | Raw combined SC+VSC onsets per racing lap over seasons < season. NULL on a circuit’s debut season. | |
sc_hazard_per_lap_shrunk | Yes | expect_column_values_to_be_between | Empirical-Bayes SC hazard shrunk toward the season-lagged pooled rate (pseudo-count sc_hazard_prior_laps). NULL only for season 2018, which has no prior season to pool. | |
vsc_hazard_per_lap_shrunk | Yes | expect_column_values_to_be_between | Empirical-Bayes VSC hazard shrunk toward the season-lagged pooled rate. NULL only for season 2018. | |
any_hazard_per_lap_shrunk | Yes | expect_column_values_to_be_between | Empirical-Bayes combined SC+VSC hazard shrunk toward the season-lagged pooled rate. NULL only for season 2018. |