Make the monthly season check offline: it compares each estimate's recorded track and location with the trail's current one and downloads nothing; fix the audit so every command runs as written (packets needs --out, the places tool runs in its venv), with places and seasons steps under their own headings

This commit is contained in:
swaits committed 2026-11-20 14:45:42 -07:00
1 parent e6c2f371fc
commit f91c7dbc20
9 files changed
+328 -194

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@
- How an estimate is made: a reviewer is given the trail's location and elevation, its monthly climate (CHELSA, public domain, with NOAA elevation), a climate model's own estimate, and the ten most similar trails whose season a page states, and sets the months. The climate model alone matched 67.6 percent of the known seasons within a month at each end, under the 75 percent the owner asked for, so it is one input and not the answer.
- How it was tested: the same reviewers estimated the 148 trails whose season a page does state, from packets with that season hidden. Two measures, given together: 114 of 148 (77 percent) had their first and last months within a month of the page's; 105 (71 percent) also had no wrong gap in the middle. By confidence, first and last months: 48 of 52 where they were highly confident, 55 of 76 at medium confidence, and 11 of 20 at low; with no wrong gap as well: 48 of 52, 46 of 76 and 11 of 20. The 75 percent bar was set on the first and last months, and the method clears it there but not on the stricter measure. The owner decided the estimates ship with both figures stated. The reference page gives these figures, read from a data file.
- The "By month" lists now include every trail and mark the estimated seasons, and the note that only some trails have a season is gone. The month filter has a box to leave estimated seasons out.
- An estimate is replaced when a page that states a season is found. The monthly audit searches again for every one, and a monthly check reruns the climate model for each estimate and flags any whose inputs have changed.
- An estimate is replaced when a page that states a season is found. The monthly audit searches again for every one, and a monthly check, which works offline and downloads nothing, flags any estimate whose trail's track or location has changed since the season was set.
- For contributors: `hike.season_basis` may now be `estimate`, with a `hike.season_method` that ends "Confidence: high.", "Confidence: medium." or "Confidence: low." and one source that cites the climate data; a season is required on every trail, and the validator refuses an estimate that cites an ordinary page. The packet builder and the blind scorer are `tools/season_judge.py`, the reviewers' instruction is `docs/season-judging.md`, and the audit steps are in `docs/audit.md`.
## 2026-11-20 - Pages for national parks, mountain ranges and wilderness areas