diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-20 17:23:34 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-20 17:23:34 +0200 |
| commit | 8af7f81622ce5505f4c29ac24d63f4261e845f52 (patch) | |
| tree | b77d82357de04efecf22c74e8a1b10df19dd041d /ride/moving_time.go | |
| parent | 862f71901c3e11f9d21a33b39a110357ccc6d4c4 (diff) | |
chore(bench): exclude short rides
Diffstat (limited to 'ride/moving_time.go')
| -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 c98e6b1..9ac6c05 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 (356 rides, `-backtest`): -// absMean 2.4%, stderr 0.2, p50 0.7, p75 2.9, p90 6.7, p95 9.6, p99 19.9. +// 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. func MovingTime(r Ride) time.Duration { return movingTime(r, movingTimeMinSpeedMps, movingTimeMaxGap) } |
