Add a real komoot GPX regression fixture (#38 partial, #6 fixture) #95

Merged
robert merged 1 commit from area/real-komoot-fixture into main 2026-09-04 16:59:41 +02:00
Owner

Robert rode and exported this GPX himself (Havelchaussee - Glienicker Brücke, Breitenbachplatz loop, ~119km) — the first real-world, not hand-built, fixture in this repo. Partial #38 progress, satisfies one of #6's own named fixture requirements (real komoot export >= 100km).

Real finding, not a bug: ascent computed on the RDP-simplified polyline (#24) is measurably lower than on the raw 2795 points — 515.6m raw vs 463.1m post-simplification, a ~10% reduction. RDP drops points by horizontal deviation only, so a dropped point's elevation reading (and any small GPS noise it captured) goes with it. Not fixed here — flagging as possibly worth a tracked issue if accurate elevation gain matters to a rider. Test tolerance reflects the real measured number, not padded to pass.

No turn-cue text in this file (11 named-landmark waypoints, not direction-plus-distance strings), so it exercises the importer and route metrics only, not GpxCueEnricher — real remaining #38/#6 scope.

Verified: ./gradlew :companion:core:test green with a real JDK 21.

Robert rode and exported this GPX himself (Havelchaussee - Glienicker Brücke, Breitenbachplatz loop, ~119km) — the first real-world, not hand-built, fixture in this repo. Partial #38 progress, satisfies one of #6's own named fixture requirements (real komoot export >= 100km). **Real finding, not a bug**: ascent computed on the RDP-simplified polyline (#24) is measurably lower than on the raw 2795 points — 515.6m raw vs 463.1m post-simplification, a ~10% reduction. RDP drops points by horizontal deviation only, so a dropped point's elevation reading (and any small GPS noise it captured) goes with it. Not fixed here — flagging as possibly worth a tracked issue if accurate elevation gain matters to a rider. Test tolerance reflects the real measured number, not padded to pass. No turn-cue text in this file (11 named-landmark waypoints, not direction-plus-distance strings), so it exercises the importer and route metrics only, not GpxCueEnricher — real remaining #38/#6 scope. Verified: `./gradlew :companion:core:test` green with a real JDK 21.
Add a real ~119km komoot GPX as a regression fixture (#38 partial, #6 fixture 2)
Some checks failed
dev-artifact / build-pbw (push) Failing after 0s
dev-artifact / build-apk (push) Failing after 0s
dev-artifact / publish (push) Has been skipped
fast-lane / host-c-tests (push) Failing after 0s
fast-lane / jvm-tests (push) Failing after 0s
fast-lane / pebble-build (push) Failing after 0s
fast-lane / lint-and-secrets (push) Failing after 0s
fast-lane / meta-declares-required-jobs (push) Failing after 0s
fast-lane / host-c-tests (pull_request) Failing after 0s
fast-lane / jvm-tests (pull_request) Failing after 0s
fast-lane / pebble-build (pull_request) Failing after 0s
fast-lane / lint-and-secrets (pull_request) Failing after 0s
fast-lane / meta-declares-required-jobs (pull_request) Failing after 0s
4d14a9d551
Robert rode and exported this himself (Havelchaussee - Glienicker Brücke,
Breitenbachplatz loop) — the first real-world (not hand-built) fixture in
this repo. Partial progress on #38 ('real komoot GPX exports... a rural
stretch') and satisfies one of #6's own named fixture requirements ('one
komoot export >= 100 km' — this is ~119 km).

Real finding, not a bug: ascent computed on the RDP-simplified polyline
(#24) is measurably lower than ascent computed on the raw 2795 points —
515.6m raw vs 463.1m post-simplification on this exact file, a ~10%
reduction. RDP drops points by horizontal deviation only; a dropped
point's elevation reading goes with it, so small GPS elevation noise
between kept points is smoothed away. Not something this commit fixes —
worth a tracked issue if accurate elevation gain matters to a rider,
which it likely does. Test tolerance reflects the real number, not padded
to make it pass.

No turn-cue text in this file's waypoints (11 named landmarks, not
direction-plus-distance strings), so it says nothing about
GpxCueEnricher — that gap is real remaining #38/#6 scope.

Verified: ./gradlew :companion:core:test green, real JDK 21.

Claude-Session: https://claude.ai/code/session_01DAoXbRmJUf2uxNYBfdAXPt
robert merged commit 8a82128b2a into main 2026-09-04 16:59:41 +02:00
Sign in to join this conversation.
No description provided.