f1_tyre_degradation
Fit a degradation model to a Formula 1 driver's tyre compound during a session, returning slope and residual standard deviation to quantify wear rate.
Instructions
Fit a tyre degradation model for a driver + compound in a session.
Args: session_key: OpenF1 session identifier. driver_number: Driver's race number. compound: Tyre compound (SOFT, MEDIUM, HARD, INTER, WET).
Returns: data: {intercept, slope, residual_std, sample_count}. meta.estimated: true — model output, not telemetry oracle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compound | Yes | Tyre compound (SOFT, MEDIUM, HARD, INTER, WET). | |
| session_key | Yes | OpenF1 session identifier. | |
| driver_number | Yes | Driver's race number. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| meta | No | ||
| error | No |