> ## Documentation Index
> Fetch the complete documentation index at: https://offthepace.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# mart_metric_benchmark

> Per-metric distribution by season over clean (ml_eligible) laps of fct_lap_residuals, so an explanation can say what is typical for a value.

<Note>Part of the [Marts](/transform/families/marts) family.</Note>

Per-metric distribution by season over clean (ml\_eligible) laps of fct\_lap\_residuals, so an explanation can say what is typical for a value. Grain: (metric\_name, race\_year). Covers driver\_skill\_residual\_s, fuel\_component\_s, compound\_component\_s, constructor\_component\_s, dirty\_air\_tax\_s and lap\_time\_s. Null values are dropped before aggregation.

## Lineage

```mermaid theme={null}
flowchart LR
  fct_lap_residuals --> mart_metric_benchmark
  style mart_metric_benchmark fill:#e40404,stroke:#e40404,color:#fff
```

## Overview

| Property | Value |
| - | - |
| Layer | `marts` |
| Family | [Marts](/transform/families/marts) |
| Contract enforced | No |
| Upstream | [`fct_lap_residuals`](./fct_lap_residuals) |
| Model-level tests | `unique_combination_of_columns` |

**10 tests** [guard](/transform/ci/overview) this model  -  10 generic, 0 singular.

## Columns

| Column | Type | Nullable | Tests | Description |
| - | - | - | - | - |
| `metric_name` | | Yes | [`not_null`](/transform/ci/structural), [`accepted_values`](/transform/ci/range-and-domain) | Source column in fct\_lap\_residuals. |
| `race_year` | | Yes | [`not_null`](/transform/ci/structural) | Season year. |
| `p05` | | Yes | | 5th percentile (QUANTILE\_CONT). |
| `p50` | | Yes | [`not_null`](/transform/ci/structural) | Median (QUANTILE\_CONT). |
| `p95` | | Yes | | 95th percentile (QUANTILE\_CONT). |
| `mean` | | Yes | [`not_null`](/transform/ci/structural) | Arithmetic mean. |
| `sd` | | Yes | | Sample standard deviation. |
| `unit` | | Yes | [`not_null`](/transform/ci/structural), [`accepted_values`](/transform/ci/range-and-domain) | Unit of every value in the row. Always 's' (seconds). |
| `sample_size` | | Yes | [`not_null`](/transform/ci/structural), [`accepted_range`](/transform/ci/range-and-domain) | Non-null lap count behind the row. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.