For Everyone Racing & planning

Activity trim & distance override — fixing FIT-file edge cases

When the watch kept running past T1, when an open-water swim FIT overcounts because of GPS noise, or when an indoor ride has no distance recorded. Trim the file or override the distance — recap stats recompute automatically.

Why this exists

The watch is wrong sometimes. Common cases:

The trim & adjust panel on /athlete/<pid>/activity/<id>/ is the escape hatch for all of these.

Where to find it

/athlete/<pid>/activity/<id>/ → scroll to the "Trim & Adjust" section. Visible to:

Free-tier athletes can view their own activity but can't edit.

The visual preview chart

The top of the panel shows a Chart.js line plot of the activity:

Red shaded regions mark what would be dropped from recap stats based on the current trim values. The chart updates live as you type — no save needed to preview the cut.

The unshaded middle band is what feeds the recap and PDF.

The two trim inputs

Both are independent edge cuts — there is no from-to window selection. To keep only the middle 30 minutes of a 60-minute activity, you'd cut 15 minutes from each end.

The form rejects trim windows that leave less than 10 seconds of activity (the recap analyses need at least that much data).

Distance override

Below the two trim inputs sits Distance override (m). Use this when the FIT distance is wrong but trimming wouldn't fix it. The canonical case is an open-water swim where the watch over-counted across the entire activity — trimming the start/end doesn't help because the inflation is uniform.

Set the override to the race spec (e.g. 1900 for a 70.3 swim) and the recap, PDF, comparison page, and readiness model all use that number instead of the raw FIT distance. The original FIT distance stays on the row for reference and is shown as "raw: " alongside.

Leave the field empty to fall back to the FIT distance (scaled by the trim window — a 10% time trim trims ~10% of distance too).

Race-day distance flag

When you open a race recap, the recap card now surfaces a flag when the FIT distance differs ≥15% from the race format spec:

The flag includes an Edit → link that jumps straight to the activity's trim page so you can fix it in one click. After overriding (or trimming), reload the recap — the flag disappears and pace recomputes from the corrected distance.

When trim → distance, or distance → trim?

Open-water swims usually need override (uniform GPS inflation). T1 spillover or post-finish recording usually needs trim. They compose: you can trim AND override on the same activity.

What happens when you save

Deleting an activity

The bottom of the trim panel has a "Delete this activity…" disclosure. Click it to reveal a typed-confirm form:

  1. Type DELETE in the confirmation box
  2. Click the red Delete button
  3. Browser asks one more time (JS confirm)
  4. Activity gone, redirected to the calendar

The server enforces the typed-DELETE match too — accidental double-clicks or stale form submissions can't trigger a delete.

For multisport files, deleting the parent cascades to all leg children automatically (no orphaned rows).

Caveats

See also

Last updated May 17, 2026

Still stuck? Ask us a question and we'll write up an answer.

Ask a question