Commit Graph
234 Commits
Author SHA1 Message Date
swaits 9c7cc55cc5 Add the changelog entry for the faster build and tests and the reproducible bulk downloads 2026-11-20 16:44:32 -07:00
swaits 3193a674d2 Run the trail workers in a process pool so a worker that raises or dies fails the build, count the cores the process may use, and test both 2026-11-20 16:35:19 -07:00
swaits 5d86a42ad1 Build the shared test site into a directory that is made new, with a test, and give the zip archives fixed member times so equal files make equal bytes 2026-11-20 16:33:34 -07:00
swaits c645159ae7 Read the place pages from the shared build in the filter bar and views tests instead of rendering each one again 2026-11-20 16:32:17 -07:00
swaits 69871fc764 Merge branch 'main' into fast-tests-2 2026-11-20 16:28:12 -07:00
swaitsandClaude Sonnet 5.5 c382484506 Start the test module that builds the site itself once the shared build has filled the store
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 16:25:24 -07:00
swaitsandClaude Fable 5.2 17f480a7a5 Give every trail a season with its provenance, put the filter bar on every page, and link the place pages from the hub and the home page
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 16:14:14 -07:00
swaitsandClaude Sonnet 5.5 d9480ffe73 Run the site job's tests side by side, and keep the build's store between runs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 16:07:33 -07:00
swaitsandClaude Sonnet 5.5 7c321c6e15 Build the site once per test run, and split every page into tags once, for all the tests that read built pages
Twelve test modules each ran the whole build, and each of them walked every page with its own
parser. They now share one build (web/tests/builtsite.py), made in a directory of the run's own,
and one recording of each page, made on all the cores. test_thumbs's second build and
test_google_tag's two builds still build, on their own, as before; the google tag builds run
side by side. web/tests/run.py runs the modules side by side. test_extra's elevation tile check
now compares with the last entry of connect-src, which is where the tile path is since the Google
tag added three before it. New tests keep the build's shortcuts honest (test_build_store.py).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 16:07:33 -07:00
swaitsandClaude Sonnet 5.5 84d5770e13 Join a track's parts once, not on every page that draws it
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 16:07:33 -07:00
swaitsandClaude Sonnet 5.5 d1e74f3e76 Stop parsing a whole page to read its breadcrumb, and work out the shown lists once per render
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 15:52:34 -07:00
swaitsandClaude Sonnet 5.5 3bd6da1b19 Build the trails in worker processes and keep each trail's derived files by content
A trail's GPX, map line and overview line are worked out in forked workers, and kept in
web/.cache/store under a hash of the trail's files, the code that makes them and the site's name, so
a later build, in any directory, copies them instead of simplifying the tracks again. The two bulk
archives are made alongside the pages and kept the same way. The output is the same, file for file.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 15:52:34 -07:00
swaitsandClaude Sonnet 5.5 1126208666 Simplify a track once for both tolerances: one walk of the splits serves the 5 m and the 30 m line, and gives the same points
Douglas-Peucker splits a segment at the same point whatever the tolerance; only whether it splits
depends on it, and a larger tolerance splits a subset of what a smaller one does. This took about
half the build's time; the points kept are identical on all 124 tracks.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 15:52:34 -07:00
swaits 8caeb14218 Fix the elevation tile test to compare with the last connect-src entry, the tile path, now that the Google tag added entries before it 2026-11-20 15:51:41 -07:00
swaitsandClaude Fable 5.2 5a58440fda Point the elevation tile test at the right entry of the policy
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 15:36:01 -07:00
swaits 34c6ebd1d3 Merge the filter bar and navigation work: keep the seasons work's result wherever both resolved the same conflict 2026-11-20 15:23:32 -07:00
swaits 9a8aa49318 Merge main into the seasons work: keep the Google tag entry under the seasons entry 2026-11-20 15:23:04 -07:00
swaitsandClaude Fable 5.2 99588ce306 Let the tests that forbid inline and outside scripts allow the Google tag, and nothing else
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 15:18:55 -07:00
swaitsandClaude Fable 5.2 0d6197bedd Load the owner's Google tag on every page
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 15:07:10 -07:00
swaitsandClaude Fable 5.2 164497a256 Load the owner's Google tag on every page, and drop the About page's no-tracking claim
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 15:07:02 -07:00
swaits f91c7dbc20 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 2026-11-20 14:45:42 -07:00
swaits e6c2f371fc Say what each season is: the note on an estimate ends that this is the usual window, not a closure; month lists and the figures notes tell estimated from the climate and similar trails from set by judgement from pages that differ; the changelog no longer says the glossary gives the test figures 2026-11-20 14:38:44 -07:00
swaits c3d43f41a7 Judged seasons need pages from two publishers and a confidence; finger-lakes, ice-age and ozark-trail become estimates, and ouachita, batona, sea-to-sea-route and california-coastal get the seasons the reviewer gave; sierra-high-route's page is Skurka's own site, not the route author's 2026-11-20 14:34:46 -07:00
swaits ed744d0585 Keep the twelve month lists whatever share of the trails each holds, so Hiking in September stays: the cap on a list's share no longer applies to them 2026-11-20 14:34:46 -07:00
swaits c5f883ace6 Keep the jump row's first anchor outside the Places page's grid so the first group is not pushed right on a wide screen 2026-11-20 14:21:57 -07:00
swaits e8ca8e862e Give the blind test by two measures, first and last months and also no wrong gap in the middle: 114 of 148 and 105 of 148, stored, scored and stated together 2026-11-20 14:16:26 -07:00
swaits 535d2bebaa Merge main into seasons-ship-3: places pages from main kept alongside the seasons; places precede history in records, this ship's changelog entry first 2026-11-20 14:14:01 -07:00
swaits fc66f541a3 Let a set with no trails build its filter bar, and pin the Places page's new jump-link anchor in the state-pages golden file
In the golden file only the hash of /regions/ changed, by the anchor the jump row's first link goes to.
2026-11-20 14:08:34 -07:00
swaits f669a6695a Mark the places checklist's sub-steps with asterisks so the audit document keeps the house wording the seasons check reads 2026-11-20 13:54:27 -07:00
swaits 742f5da4f1 Say in the changelog what the filter bar and the new ways in to the place pages change for a visitor 2026-11-20 13:51:50 -07:00
swaits 228f1cd2f7 End the home page with a line to the pages for parks, mountain ranges and wilderness areas
"Browse by park, by mountain range or by wilderness area" sits with the notes under the rows and the map, so the first screen and the rows are as they were, and each link goes to its section of the Places page.
2026-11-20 13:49:40 -07:00
swaits 3997c7286e Put a row of jump links at the very top of the Places page: States and provinces, Parks, Mountain ranges and Wilderness areas, each with its number of pages
The row shows at every screen size on one compact line that wraps on a phone, and a kind with no pages is left out. The strip of regional groups below the heading no longer repeats the three kinds.
2026-11-20 13:49:40 -07:00
swaits a806522ee1 Give every page that lists trails the search box and the filters that have something to offer, however few trails it holds
The cutoff of ten trails is gone, so 48 of the 60 state and province pages, the small lists and each route author's page now have the bar. A set that nothing can narrow gets the search box alone, and an option no trail has is not written. In the state-pages golden file only the hashes of the ten pages that differ changed, each by the added bar and nothing else.
2026-11-20 13:48:07 -07:00
swaits fd2e6fc6c7 Merge seasons-ship-3 into nav-and-filters: the seasons ship and the places ship touched the same trail files; both sides kept 2026-11-20 13:45:06 -07:00
swaits 3305c23ee5 Say season once where a source names season and months 2026-11-20 13:33:21 -07:00
swaits b498cf25eb Update the season design to the judged method and its blind test 2026-11-20 13:27:05 -07:00
swaits 5a4fce26f0 Every trail now has a season 2026-11-20 13:26:51 -07:00
swaits 33ca4c218f Check estimated seasons monthly, and write the season steps into the audit 2026-11-20 13:26:51 -07:00
swaits e95131833b Show an estimated season as an estimate on the trail page, in lists and tables, and in the month filter; say how seasons are sourced and tested on the reference page 2026-11-20 13:26:51 -07:00
swaitsandClaude Fable 5.2 e9c3a5b403 Add pages for national parks, mountain ranges and wilderness areas, with every trail placed
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 13:10:35 -07:00
swaits 713fff78df Record the inputs of every estimate for the monthly check, and test that every trail has a season with its provenance 2026-11-20 13:10:13 -07:00
swaits 191b5cfc4f Write a season for the 75 trails that had none: 69 estimates and 6 set from pages that differ 2026-11-20 13:06:59 -07:00
swaits 40f4cd43c4 Commit the packet builder and the blind scorer as tools, with the blind-test result as a data file the site reads, and check estimates against their recorded inputs 2026-11-20 12:59:44 -07:00
swaits ebccfb2e33 Let a season be an estimate: the validator takes a method ending in its confidence and a climate source, refuses an ordinary page naming it, and requires a season on every trail 2026-11-20 12:55:30 -07:00
swaitsandClaude Sonnet 5.5 d4d980ff97 Redraw the two social cards whose states changed, and leave the plain Places page's shortcut label as it was
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 12:52:49 -07:00
swaitsandClaude Sonnet 5.5 748186d306 Estimate seasons by blending climate thresholds with the seasons of the most similar sourced trails, scored leave-one-out against the owner's measure
The earlier two-threshold rule matched 33 percent on a held-out half. The new method keeps the cold and heat thresholds and lets the twenty most similar sourced trails confirm or add months. Leave-one-out it matches 100 of 148 sourced seasons (67.6 percent), still under the 75 percent bar, so the fit file says it does not pass and estimates must not ship.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 12:36:37 -07:00
swaitsandClaude Sonnet 5.5 86de4495b0 Merge main into places-ship-2: the seasons ship touched 39 records and the changelog; both sides kept, this ship's entry first
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 12:32:31 -07:00
swaitsandClaude Sonnet 5.5 2a56815f34 Show a trail's park, range and wilderness links at the foot of its page on a phone, where the glance hides them
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 12:29:57 -07:00
swaitsandClaude Sonnet 5.5 3182d68935 Add Parks, Mountain ranges and Wilderness areas to the Places page's shortcut strip
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 12:29:23 -07:00
swaitsandClaude Sonnet 5.5 d90fa49df5 Show the search box and filters on every park, range and wilderness page, however few trails it has
The bar was written only for a set of ten trails or more (home.FILTER_MIN, added with the list
and place filters on 2026-11-17), which left the Wind River Range (7 trails), Yosemite (9) and
the Ansel Adams Wilderness (5) with neither a search box nor Filters. Place pages now always
get it, and a set that nothing can narrow gets the search box alone, with no Filters button
and no empty panel. State and province pages keep the ten-trail threshold for now.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 12:29:05 -07:00