When to mark an activity as "do not use for CSS / CdA / etc." without removing it from training load.
An Activity can be excluded from contributing to specific
MetricHistory types (like css_pace, cda, critical_power,
etc.) while still counting toward Load and the PMC. This
lets you keep an activity in the training load picture without
letting its bad data corrupt a downstream calculator.
The data lives in Activity.metric_exclusions as a JSON list
of metric type keys, e.g. ["css_pace", "cda"].
Common cases:
css_pace so this
activity does not feed the CSS auto-extract.cda.In all these cases, the activity still counts as training load (Load, Fatigue, Fitness, Form) because the athlete still did the work and still needs recovery.
Open the activity detail page. The metric exclusions control exposes a list of MetricHistory types that this activity contributes to (e.g. CSS pace, CdA, critical power). Toggle the ones you want to exclude.
API endpoint:
POST /api/athlete/<pid>/activity/<id>/metric-exclusions/
with a JSON body of {"metric_exclusions": ["css_pace", "cda"]}.
Pass an empty list or null to clear all exclusions.
MetricHistory rows that came from this activity
do not auto-delete; you may need to delete them manually or
wait for the next refresh cycle if the workflow uses one.| Action | What it changes |
|---|---|
tss_override |
The training-load value for this activity. |
metric_exclusions |
Whether this activity feeds specific calculators. |
Use both together when an activity has both problems (e.g. a bad power test with broken AdjP).
See also: Load computation and override, Activity quality flags.
Still stuck? Ask us a question and we'll write up an answer.
Ask a question