docs: close BUG-23 + record fix in Phase 29

Move BUG-23 to Resolved with commit 78aea2d and verification (Pi trips
57 -> 49 after rebuild). Add matching entry to PLAN.md Phase 29.
This commit is contained in:
Mathieu Moran
2026-08-15 16:08:29 -04:00
parent 78aea2dc88
commit c9d36cca33
2 changed files with 21 additions and 28 deletions
+6
View File
@@ -2290,6 +2290,12 @@ logged as `BUG-XX` entries in [BUGS.md](./BUGS.md) (BUG-16 onward) and fixed + v
only. Fixed: union OBD + GPS-derived speeds with a trailing ~30s window (`GPS_SPEED_WINDOW=6`)
to smooth GPS jitter, on both Pi + server; bumped `TRIP_BUILD_VERSION` for a Pi rebuild.
Trip #9 max 111 → 119, trip #8 → 127.8 (server + Pi agree).
- **BUG-23 (Pi/server trip counts diverge — server drops short trips) — ✅ FIXED**: the Pi kept
short GPS lock-in drift "trips" (<30s or <50m) that the server already filtered. Added the
server's minimum-trip filter (`duration < 30s OR distance < 0.05km`) to
`build_trip_summaries()` and sorted normalized rows by datetime to match the server's
`ORDER BY recorded_at ASC`; bumped `TRIP_BUILD_VERSION` 3→4. Pi trips 57 → 49 after rebuild
(unit tests 12/12, incl. a new short-drift regression test).
Open items from the drive — fill in as reported:
- (none clock-related — BUG-17/BUG-18 closed 2026-08-14).