Commit Graph
100 Commits
Author SHA1 Message Date
swaitsandClaude Sonnet 5.5 4c72fd705e Reword the lists in the words people search with: the longest names its longest trail first, short thru-hikes and loops under 100 and 200 miles, week-long and other backpacking trips, backpacking loops; the week list gains pages for states and places
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 18:19:39 -07:00
swaitsandClaude Sonnet 5.5 b75d39c7b6 Add a page for each kind of trail in each park, mountain range and wilderness area that has three or more of them, built by the same rules as the state pages, and link each from its place page
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 18:15:24 -07:00
swaitsandClaude Fable 5.2 4a89833162 Build the site and run its tests several times faster, with the output unchanged
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 18:02:25 -07:00
swaitsandClaude Sonnet 5.5 d0782b0d58 Write archive members as regular files again (mode 0o100644, as main did) and check a stored archive with testzip before restoring it, building it again when it is damaged
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 17:53:38 -07:00
swaitsandClaude Sonnet 5.5 622ffc74be Make the test of the store key's code files follow every kind of import, plain, absolute and inside functions, starting from build.py too, and add the three modules build.py imports that it left out: fingerprint, redirects and site
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 17:52:37 -07:00
swaitsandClaude Sonnet 5.5 0bb20c60dd Run build.py itself on the copy in the second-build thumbnail test, without removing it first, and check that a thumbnail taken away is put back and that no trail was worked out again
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 17:52:34 -07:00
swaitsandClaude Sonnet 5.5 2be6693a94 Decide whether a trail's files are up to date by its content key, kept in the trail's cache entry, instead of modification times, so a changed track put back to an older time is built again into the same directory
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 17:49:37 -07:00
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
swaitsandClaude Sonnet 5.5 30d03b8069 Let a place carry its own label and preposition, keep the count in every place title, and test that slugs follow names
A registry entry may now set label and prep. A plateau reads "Plateau" and "on the Colorado
Plateau", the Mogollon Rim "Escarpment" and "along the Mogollon Rim", a national monument or a
parkway its own word; the default is still "Mountain range" and "in the". Every national park,
provincial park, monument, recreation area and parkway in the registry is labelled.

A place title no longer gives up its ": N Trails" ending when it is long: it drops the state first
and then keeps the count over the cap, and the state is left out where the name already holds
it (Oregon Cascades, California Coast Ranges). A test checks that every slug is the slug of its
display name, with the Arizona White Mountains as the one stated exception.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 12:28:03 -07:00
swaitsandClaude Sonnet 5.5 a97ea85093 Rename three place slugs to the slug of their display name, before the addresses go live
glacier is now glacier-national-park, sequoia-and-kings-canyon is now
sequoia-and-kings-canyon-national-parks and hells-canyon-wilderness-id is now
hells-canyon-wilderness. The registry, the allow-list and every record that names them are
updated, and the tool keeps the plain slug for the one Hells Canyon outline that has trails.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 12:26:01 -07:00
swaitsandClaude Sonnet 5.5 904287c23f Name the places of a long history entry by count: how many parks, ranges and wilderness areas, all listed in the record
A history entry that named more than eight places (the Pacific Crest Trail's named 53) now says
how many parks, ranges and wilderness areas were placed and that they are listed in the record.
place_trails.py writes the same form for new entries.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 12:23:46 -07:00
swaitsandClaude Sonnet 5.5 75e5de5c16 Drop six places from the pages and the records, and widen the twin rule to ranges
The deny-list in tools/place_trails.py now names, with a reason beside each, the Longfellow
Mountains, Finger Lakes, Gore Range, Mosquito Range, Great Western Divide and Russian
Wilderness. They are removed from places.toml and from every record that named them, history
entries included, so nothing is left to link to. A range that holds exactly the trails of a park
and shares its name stem (Great Smoky Mountains and Great Smoky Mountains National Park,
Olympic Mountains and Olympic National Park) now gets no page either, in the tool and in the
builder, and is removed from records the same way.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 12:23:23 -07:00
swaitsandClaude Sonnet 5.5 3b745f706c Place the Mogollon Rim Trail in the White Mountains of Arizona, and refuse a place that lies in none of a trail's states or provinces
A new registry range, white-mountains-arizona, shown as White Mountains, in Arizona. The
validator now fails a record whose place's where shares no state or province with the
record's regions, and place_trails.py no longer places a trail in a place outside its regions.
The rule also caught the Hot Springs Trail (Nevada missing from its regions) and the North
Boundary Trail (British Columbia missing), which now list those regions, and the Sentier
international des Appalaches, whose track carries the Maine IAT into Katahdin Woods and Waters:
that placement is removed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 12:22:58 -07:00
swaits 7e4d1de494 Make the monthly place check download every outline again instead of reusing the first-run files 2026-11-20 12:11:26 -07:00
swaits 5fcbf5e2d9 Add the changelog entry for the park, range and wilderness pages and credit the outline sources 2026-11-20 11:39:51 -07:00
swaitsandClaude Sonnet 5.5 e6bc42c373 Require places on every record, add the audit checklist and the monthly place check
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 11:37:04 -07:00
swaitsandClaude Sonnet 5.5 73b13c3d48 Place the 99 trails with no track from cited pages, and add the places they name to the registry
93 trails are placed in 101 more places by pages that name the trail in them; the other 6 are
marked checked and in no place. Places the source outlines do not hold are left out.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 11:36:17 -07:00
swaits 072d568977 Merge branch 'main' into seasons-ship-3 2026-11-20 11:35:19 -07:00
swaitsandClaude Sonnet 5.5 b2cdfc37cf Fit the season rule against the sourced seasons, record the figure, and add the estimate review list, proposals and check
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 11:34:19 -07:00
swaitsandClaude Sonnet 5.5 a2423e0ba5 Read climate normals from the CHELSA grids in place, with ETOPO elevation, instead of the rate-limited API
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 11:34:19 -07:00
swaitsandClaude Fable 5.2 98e4aee872 Add sourced seasons for 39 trails, each read from a page and narrowed to what the page says
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 11:27:15 -07:00
swaitsandClaude Sonnet 5.5 2186ca8216 Add the park units and ranges that trails with no track are placed in, place the tracked trails in them, and keep the history heading when apply rewrites place tables
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 11:21:34 -07:00
swaits 103438d03e Merge branch 'main' into seasons-ship-2 2026-11-20 11:17:17 -07:00
swaitsandClaude Sonnet 5.5 590ababc03 Narrow the seasons that said more than their pages, and word each season's history as read from the page
Knobstone and Border Route now say the page's best time, not a season, and the Border Route drops November. Oregon Desert months are 5, 6, 9 and 10. Bigfoot Trail rests on The Trek alone. Pacific Crest ends in September and Susquehannock starts in June, as their pages say. The Changelog counts one fewer season on two pages.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 11:17:17 -07:00
swaits 8c14aee802 Put each trail's place entry after its season entry so the history only grows 2026-11-20 11:09:01 -07:00
swaits 1fbcfd5021 Merge main into places-ship-2 2026-11-20 11:07:24 -07:00
swaits 7f18f560e4 Merge the park, range and wilderness page code 2026-11-20 11:07:07 -07:00
swaitsandClaude Fable 5.2 1148dc690e Record where each trail's season came from, and show it in About this data
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 11:05:56 -07:00
swaits 3358154270 Leave out the Bomber Basin & Ross Lakes Loop as below the floor, and list the Ozarks Keystone Trail as waiting 2026-11-20 11:01:22 -07:00
swaitsandClaude Sonnet 5.5 28b0d83d43 Fix the trail brief test for a season in the same sentence
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:56:00 -07:00
swaits 00c60a4c2c Link the place pages from the hub, the states and the trails, and search by place 2026-11-20 10:55:36 -07:00
swaitsandClaude Sonnet 5.5 2ea37c5fea Place the 124 trails with a track in parks, ranges and wilderness areas
Measured by tools/place_trails.py against the NPS, Wilderness Connect, CPCAD and GMBA
outlines: 260 places in places.toml and a [[place]] table, places_checked, places_track and
one history entry on each record that has a place. Trails with no track are left for a
person to place.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:54:36 -07:00
swaitsandClaude Sonnet 5.5 246e2938f2 Put a placed range's parents in the registry when apply writes it
Records never store parents, so apply left Rocky Mountains and the other great systems out
of places.toml while a child's within named them.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:53:49 -07:00
swaitsandClaude Sonnet 5.5 2fbce06f42 Spell place slugs and names without accent stumps and capitalised small words
Gaspésie came out as gasp-sie, Lion's Head as lion-s-head and Forks of The Credit kept a
capital T.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:52:10 -07:00
swaitsandClaude Sonnet 5.5 44fbb0405b Leave trails with no track out of apply, for a person to place
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:51:44 -07:00
swaitsandClaude Sonnet 5.5 1767bf4789 Reach a trail just outside a source outline that is drawn tighter than the range
GMBA draws the Adirondacks by relief and its outline stops about 21 km east of Cranberry
Lake, so the 80 km Cranberry Lake 50 loop, inside the Adirondack Park, was in no range.
The cause is the source's outline, not the trail: an allow-list entry can now push a
range's outline out (grow_km, with grow_clip to keep it off ground it should not reach),
and the Adirondack Mountains use it so the loop is placed without a rule for one trail.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:51:35 -07:00
swaitsandClaude Sonnet 5.5 8da26e5c1d Replace the draft range allow-list with the reviewed one
The 25 ranges the first run's digest kept, plus the named ranges whatever their tracked
count (trails with no track will be added to them by hand): Wind River, Teton, Uinta,
Wasatch, San Juan, Sawtooth, Beartooth, Absaroka, Bitterroot, Great Smoky Mountains,
Canadian Rockies, Olympic, White Mountains, Bighorn, Sangre de Cristo, Wallowa, Ruby,
Trinity Alps, Selkirk, Brooks, Alaska Range, Ouachita and Catskill. The source has no Ozark
Mountains (only the Ozark Plateau), so that one is left out. A range's within names its
great system only, so at most two kept levels apply to a trail. Sequoia and Kings Canyon
are joined again and Glacier gets the slug glacier.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:51:35 -07:00
swaitsandClaude Sonnet 5.5 a41fcad59e Update two tests that counted on the 109 seasons or on a trail with none
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:50:35 -07:00
swaits 987a25c6cb Shorten the climate period to what the free hourly limit allows, and wait out that limit 2026-11-20 10:50:09 -07:00
swaits 16c5275c94 Add park, range and wilderness pages 2026-11-20 10:48:10 -07:00
swaitsandClaude Sonnet 5.5 39902f5425 Ask the Canadian source for every province's parks, not only Alberta and British Columbia
The first run filtered CPCAD to LOC IN (1,2), so Ontario (LOC 9) and Quebec (LOC 11)
parks never came back: a bug in the query, not a gap in the data. The query now
selects by park designation across all locations, adds National Park Reserve, and
reads each park's province from LOC.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:44:47 -07:00
swaits f08c661c16 Build the state pages through a page kind 2026-11-20 10:42:47 -07:00
swaitsandClaude Sonnet 5.5 bb24edd9df Add sourced seasons for 39 trails
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:41:17 -07:00
swaitsandClaude Sonnet 5.5 e42398589a Keep Gateway Arch National Park out of the places, with a deny-list for such cases
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:40:44 -07:00
swaitsandClaude Sonnet 5.5 c704139e5b Read the state fields that join states with a hyphen
NPS writes MO-IL, ID-MT-WY and TN-NC, and the old split on commas and slashes
dropped those places' states.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:40:37 -07:00
swaits 4afa05cdff Add the place loader and membership 2026-11-20 10:40:35 -07:00
swaitsandClaude Sonnet 5.5 e59c152e7c List a park and not its same-trail wilderness twin
When a wilderness area and a national park hold exactly the same trails and one
name's words contain the other's, only the park is kept, so Sequoia and Kings
Canyon and Yosemite do not get two pages. The rule runs on the tracked sets in
propose and on every record's tracked and stated places in --check.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:39:51 -07:00
swaitsandClaude Sonnet 5.5 2302734742 Make one name within a kind one place, with every source id it carries
The range source lists six ranges twice under different ids (Mount Whitney Group,
Palisades, Southern Adirondacks and others). They are now one place with both ids
and the union of the two outlines, so no slug carries a numeric suffix.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:39:21 -07:00
swaitsandClaude Sonnet 5.5 d44da771c9 Prove a researched season applies through the refresh pipeline
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:38:56 -07:00
swaitsandClaude Sonnet 5.5 3a3f04ac36 Give a place the states it lies in, not the states its visitors come from
A registry entry's where now comes from the outline's own source (the NPS and
Wilderness Connect state field, the CPCAD province code), else from the state
boxes in web/place-bounds.toml, else a hand value in the allow-list. A reviewed
where already in places.toml is kept on a re-run.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:38:56 -07:00
swaitsandClaude Sonnet 5.5 667b2ea00f Allow a season method with sources, where the pages differ
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:38:35 -07:00