diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-20 18:19:22 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-20 18:19:22 +0200 |
| commit | 3c8dbdbbb13ca233bd03466de2f0ea4fc4be38d4 (patch) | |
| tree | 9279ce849abfc29197cfeb3d91531504562dfc84 /ride | |
| parent | 8af7f81622ce5505f4c29ac24d63f4261e845f52 (diff) | |
chore(bench): exclude rides under 10 km
Diffstat (limited to 'ride')
| -rw-r--r-- | ride/moving_time.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ride/moving_time.go b/ride/moving_time.go index 9ac6c05..7d7f5fe 100644 --- a/ride/moving_time.go +++ b/ride/moving_time.go @@ -16,8 +16,8 @@ const movingTimeMinPowerW = 20 // that can count as moving. Longer gaps are pauses (stops, lost signal). const movingTimeMaxGap = 120 * time.Second -// Bench (237 rides, `-backtest`, elapsed time >= 15 minutes): -// absMean 2.4%, stderr 0.3, p50 0.6, p75 2.9, p90 7.1, p95 10.7, p99 19.9. +// Bench (117 rides, `-backtest`, distance >= 10 km): +// absMean 0.6%, stderr 0.2, p50 0.2, p75 0.4, p90 1.2, p95 2.2, p99 4.8. func MovingTime(r Ride) time.Duration { return movingTime(r, movingTimeMinSpeedMps, movingTimeMaxGap) } |
