From 57e48b23987630936c84300d87ea5be682cb64bd Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Thu, 20 Aug 2026 15:47:52 +0200 Subject: feat(ride): compute moving time from GPX with backtest Add ride.MovingTime, a speed-threshold algorithm over track timestamps. Add a -backtest CLI command comparing computed values against Strava's reference across all stored rides, with a percentile distribution summary. Baseline: mean err 3.9%, p50 1.6, p75 4.6, p90 8.4, p95 12.1, p99 44.9. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 24932e8..6dbdcd4 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ A Go toolkit for analyzing cycling rides from GPX exports: parse rides, detect c - **Metadata-only ride imports** — stores Strava activity statistics for rides without GPS tracks, without Cotacol or route data - **Ride table sorting** — sorts every ride-library column through clickable server-side headers and query parameters - **Ride library filters** — filters rides by distance, moving duration, start date, Cotacol score, and route availability through shareable query URLs +- **Computed moving time** — computes moving time from the GPX track with a speed-threshold algorithm, evaluated against Strava's reference via `-backtest` - **Ride detail maps** — opens a stored ride with its recorded route on an interactive OpenStreetMap map - **Strava import progress** — streams live import progress with an aggregate progress bar and prevents overlapping syncs @@ -36,6 +37,9 @@ mise run dev-watch # Recompute and persist all ride computed values ./biking_home -backfill +# Run data benchmarks comparing computed values against stored references +./biking_home -backtest + # Download French mountain passes into biking_home.db (SQLite) ./biking_home -download @@ -136,6 +140,9 @@ TypeScript checks can also be run directly with `npm run check`, covering format - Compute estimated power, speed - Plot speed and slope per segment, colored by heart rate - Plot speed vs ctc/100km +- http://localhost:8080/rides/378: Repentance partial climb +- regroup ride and rides packages +- screaming archi + hexagon - Blog with pictures and markdown - Road quality (Arbois = 2/5, Roquefavour = 4/5) - OffClimb -- cgit v1.3