The figure
Stokebench is designing a catalogue of ski trails, and one figure in it is the steepest 25 m of a trail: the largest drop over any 25 metre stretch, as a percent grade. The elevation profiles come from OpenSkiMap's open trail data, which samples each trail at stations along its length.
A trial run of the design computed the figure on a grid laid over each profile from several starting points, and the plan was to show the lowest and highest result as a range. A range looks honest. It reads as an uncertainty interval around the true value.
What the numbers showed
Across the 612 trails that carry a profile, recomputing reproduced every stored value, with 0 mismatches. The numbers were not wrong. The definition was.
The source's 25 m is a ceiling on station spacing, not a step. Spacing ran from 12.54 m to 24.99 m, with a median of 24.46 m, and never equalled 25 m. The grid used each trail's own spacing, so neither end of the range was a 25 m figure at all.
Moving the grid's starting point can only lower the maximum, by an amount set by the neighbouring sections. So the spread measured where the grid happened to start. It was not an uncertainty in the terrain. The ranges had a median width of 2.90 points and a widest of 38.60.
A rounding-down bug also dropped the last section of the profile at the first starting point on 248 of the 612 trails.
The new definition
The decision makes the figure one number. Slide a 25 m window along the profile, with straight lines between stations, and take the steepest grade over every position of the window. A trail shorter than 25 m has no value.
That defines the figure on 607 of the 612 trails. It is always at or below the steepest single section between two stations, with a median of 0.09 points below. The tests written with it check the exact calculation on every profile against a brute-force search in 0.05 m steps.
What was rejected
Keeping the steepest single section and renaming it. Its length varies from 12.5 m to 25 m from trail to trail, so values would not compare across trails.
Resampling every profile to fixed 25 m stations and keeping a range over five starting points. That was the design's own wording, and its range was still an artifact of where the stations fell, with a median width of 2.50 points. It also drops each trail's last partial window.
Where it stands
When the decision was recorded, the catalogue was a design and the app did not yet store this figure. This note describes how the number is defined. It does not describe a feature you can use today.
A range is an uncertainty only when what varies is the world. When what varies is the method, define one number and report that.