hiking elevation profiles: fix bug
hiking elevation profiles: fix bug: a task in smol-software-harbor (Harbor dataset). The hiking app reports absurd ascents and never any descent: gain loss() in elevation.py adds every change to the ascent. Count rises as ascent and drops as descent (the noise threshold logic is fine). Run python3…
The task
The hiking app reports absurd ascents and never any descent: `gain_loss()` in `elevation.py` adds every change to the ascent. Count rises as ascent and drops as descent (the noise threshold logic is fine). Run `python3 -m pytest -q`.
Part of efederici/smol-software-harbor.