Enrichment regression fixtures from real komoot GPX exports #38

Open
opened 2026-08-31 17:14:50 +02:00 by robert · 1 comment
robert commented 2026-08-31 17:14:50 +02:00 (Migrated from git.butzei.de)

Goal

Make enricher changes safe to review without a network or BRouter installed.

Acceptance criteria

  • A handful of real komoot GPX exports committed as fixtures, covering urban junctions, roundabouts, forks and a rural stretch
  • Hand-checked expected cue sheets alongside each
  • Recorded BRouter and map-matching responses replayed offline
  • Tests assert cue positions within a tolerance and exact direction classification
  • Runs on the JVM with no network and no device

Files

  • companion/src/test/resources/routes/
## Goal Make enricher changes safe to review without a network or BRouter installed. ## Acceptance criteria - [ ] A handful of real komoot GPX exports committed as fixtures, covering urban junctions, roundabouts, forks and a rural stretch - [ ] Hand-checked expected cue sheets alongside each - [ ] Recorded BRouter and map-matching responses replayed offline - [ ] Tests assert cue positions within a tolerance and exact direction classification - [ ] Runs on the JVM with no network and no device ## Files - `companion/src/test/resources/routes/`
Owner

Partial progress via PR #95 (merged): one real komoot export (Havelchaussee/Glienicker Brücke, ~119km, Robert's own ride) is now a committed fixture with a real regression test (distance + ascent against an independently-computed ground truth, not derived from this codebase). Still needed per this issue's own criteria: more real exports covering urban junctions, roundabouts and forks specifically (this one is lakeside/rural-leaning), hand-checked expected cue sheets, and recorded BRouter/map-matching responses replayed offline \u2014 none of which this single fixture provides. Not closing.

Partial progress via PR #95 (merged): one real komoot export (Havelchaussee/Glienicker Brücke, ~119km, Robert's own ride) is now a committed fixture with a real regression test (distance + ascent against an independently-computed ground truth, not derived from this codebase). Still needed per this issue's own criteria: more real exports covering urban junctions, roundabouts and forks specifically (this one is lakeside/rural-leaning), hand-checked expected cue sheets, and recorded BRouter/map-matching responses replayed offline \u2014 none of which this single fixture provides. Not closing.
Sign in to join this conversation.
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
robert/PedalPebble#38
No description provided.