section-11 icon indicating copy to clipboard operation
section-11 copied to clipboard

Aggregate Durability: 90-min qualifying session floor produces unreliable alarm for athletes with short sessions

Open rodolphebertrand opened this issue 7 months ago • 1 comments

Problem

The Aggregate Durability metric (Section 11 v11.30, sync.py v3.99) requires qualifying sessions to meet VI ≤ 1.05 AND ≥ 90 minutes. For athletes who primarily train in 45–75 minute sessions (e.g., indoor racing, weekday structured workouts), this filter produces very few qualifying sessions — in my case only 2 out of 39 activities over 28 days.

This leads to:

  • Inflated/unreliable 28d mean decoupling (5.89% → alarm threshold >5%)
  • Contradiction with Intervals.icu's own weekly decoupling table, which shows a monthly average of 4.3% (well under the 5% alarm) across many more sessions
  • Persistent false alarm that cannot be resolved without artificially extending session duration

Real-world example (28-day window)

Source Decoupling (28d) Qualifying sessions
Section 11 (sync.py) 5.89% (alarm) 2
Intervals.icu weekly table 4.3% monthly avg ~10+ sessions

The two qualifying sessions happened to be higher-decoupling rides, skewing the mean upward. The broader dataset tells a different story.

Why 90 minutes?

I understand the physiological rationale — longer sessions provide more reliable cardiac drift measurements. However, the 90-min floor was likely designed with traditional outdoor endurance riding in mind. Modern training patterns, especially indoor/virtual cycling, often feature:

  • Shorter but higher-quality sessions (45–75 min with structured intervals)
  • Racing sessions (SRC, Zwift races) typically 50–70 min with steady-state portions
  • Weekday time constraints limiting session length

A 60-min ride at steady state still produces meaningful decoupling data — the cardiac drift signal is present well before 90 minutes.

Suggested improvements (any one would help)

  1. Lower the duration floor to 60 minutes (or even 45 min with a quality flag). This would dramatically increase qualifying session count and improve reliability.

  2. Add a minimum sample-size gate — if qualifying_sessions_28d < 5, suppress the alarm and emit a warning like "insufficient qualifying sessions (N=2), durability metric unreliable". This is the safest change and prevents false alarms regardless of session length.

  3. Relax VI to ≤ 1.10 for indoor sessions (trainers produce lower VI naturally, but short recovery intervals between steady-state blocks can push VI above 1.05 while the steady-state portions are still valid for decoupling analysis).

  4. Use Intervals.icu's weekly decoupling values as a fallback when qualifying session count is low, since Intervals.icu already computes decoupling per-session with its own (less restrictive) criteria.

Environment

  • Section 11 v11.30, sync.py v3.99
  • Athlete: ~4.3 W/kg, primarily indoor virtual racing + structured workouts
  • Typical session duration: 45–90 min

rodolphebertrand avatar Apr 18 '26 12:04 rodolphebertrand

Thanks for the writeup — real issue.

The bug is statistical: the alarm fires on unreliable sample sizes. With N=2, two unlucky rides pull the 28d mean over 5% and the alarm becomes persistent.

Fix: require qualifying_sessions_28d >= 5 for the alarm, and 7d >= 3 AND 28d >= 5 for the declining warning. Below that the mean is still surfaced but flagged reliability_limited: true — no alert.

On your suggestions:

  1. 60-min floor — no. Aggregate Durability is an endurance-durability metric for prolonged steady work. Lowering the floor would let shorter, less physiologically comparable sessions in and weaken the metric for everyone. The 90-min threshold stays (Maunder et al. 2021, Rothschild et al. 2025).
  2. Sample-size gate — yes, doing it.
  3. Relax VI indoor — no. The filter exists specifically to exclude recovery-contaminated drift signal.
  4. Intervals.icu fallback — no. S11 reads per-session decoupling directly from Intervals.icu, so the underlying values are identical. Intervals.icu's displayed decoupling aggregates are not the same aggregate S11 defines, so they're not a valid fallback for this metric.

On the 4.3% vs 5.89%: per-session values are identical (same source). The gap is that S11's 5.89% is averaged over 2 qualifying sessions (too few to be reliable — that's the bug), while the 4.3% comes from an aggregate with different filter criteria covering ~10 sessions. N=2 is the core problem; the fix above addresses it.

Closing as resolved. If you disagree with the framing, reopen this issue or open a new one — happy to reconsider.

CrankAddict avatar Apr 19 '26 12:04 CrankAddict