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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>