diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-23 12:12:59 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-23 12:12:59 +0200 |
| commit | e5e7870eafbfc80f4668d2c0d0995149ddc2f60a (patch) | |
| tree | 48d93921782aa41d5bc6fc699e1d3d01ec384131 /internal/dbtest | |
| parent | d0875a51b2f07766b339b34a580d4e6e9fab348d (diff) | |
Match official climbs once per lap on looping rides
Official climb matching now returns all non-overlapping occurrences
per ride instead of only the globally nearest pair. Each lap is
detected by clustering contiguous points within the endpoint radius
and pairing each start cluster with the first end cluster inside its
window, preserving direction. The ride analysis aggregates all matches
and sorts claimed ranges before excluding them from auto-detection.
Fixes the case where a looping ride only showed one instance of a
saved climb while the user expected one per repetition.
Diffstat (limited to 'internal/dbtest')
0 files changed, 0 insertions, 0 deletions
