Require a published length, limit required climbing to Class 3, and take the Escalante Overland Route off
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Mirror to forge / mirror (push) Canceled after 0s

The length rule is 50 miles, or five days for an author's route that is
short on miles, and every trail or route needs a published length. Nothing
harder than Class 3 may be required. The Escalante Overland Route, added
earlier today, needs difficult climbing by its author's own account and
is now on the left-out list under a new reason; Muddy Creek in the San
Rafael Swell is left out because its guidebook prints no mileage.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Fable 5.2 committed 2026-11-18 08:20:23 -07:00
1 parent f88d37f196
commit 2d6963ef77
22 files changed
+58 -126

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

+1 -1
View File
@@ -374,7 +374,7 @@ site calls them trails.</p>
in the United States or Canada. It is either an official trail, looked after as one trail by a land agency or
a trail association, or a route: {esc(facets.ROUTE_DEFINITION[0].lower() + facets.ROUTE_DEFINITION[1:])}
{routes} of the {n} trails are routes. The length is the end-to-end length of the trail&rsquo;s canonical path, and the
trail must be walkable from one end to the other today, on foot. A ferry, shuttle or bus link that the holder or the route&rsquo;s author names as the way through does not rule a trail out, and the maintainer judges each case. A National Scenic Trail is listed unless it cannot be walked
trail must be walkable from one end to the other today, on foot. A ferry, shuttle or bus link that the holder or the route&rsquo;s author names as the way through does not rule a trail out, and the maintainer judges each case. Every trail or route needs a published length; one with no stated length is not listed. The length rule is at least 50&nbsp;miles, or, for an author&rsquo;s route that is short on miles, at least five days as its author gives the trip, and the five days never replace a published length; cross-country travel, route finding and hard terrain count in that judgement. Nothing harder than Class&nbsp;3 may be required: a route with a harder section is listed only where that section is optional, and the record says so. A National Scenic Trail is listed unless it cannot be walked
through, and so are a few well-known multi-day trails between 37 and 50&nbsp;miles (60 and 80&nbsp;km).</p>
<p>Each record has a <em>tier</em>, which says why it is listed. A record can also be <em>held</em>: listed,
but with something about it not yet settled, which its note says.</p>
+4 -1
View File
@@ -19,7 +19,8 @@ REAL_ROOT = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__fi
# Ordered as the inclusion rule states them; the page follows this order.
REASONS = {
"below-floor": ("Below the 50 mile floor",
"The floor for this list is 50 miles (80 km), apart from a few well known shorter trails."),
"The floor for this list is 50 miles (80 km), or, for an author's route that is short on miles, five days as its author gives the trip, "
"apart from a few well known shorter trails. A listed trail or route also needs a published length."),
"rail-trail-or-towpath": ("Rail trails and canal towpaths",
"Paths made mainly for cycling, such as gravel rail trails and canal towpaths, are not listed."),
"driving-route": ("Mainly driving or motor routes",
@@ -33,6 +34,8 @@ REASONS = {
"a ferry, shuttle or bus link its holder or author names as the way through."),
"mostly-unbuilt": ("Mostly unbuilt or still proposed",
"A trail that does not yet exist on the ground cannot be listed."),
"requires-climbing": ("Requires climbing harder than Class 3",
"Nothing harder than Class 3 may be required. A route with a harder section is listed only where that section is optional."),
"not-published-as-route": ("Not published as a route by its author",
"A route is listed when its author has published it as a route, with a stated length."),
"waiting": ("Waiting",
+1 -1
View File
@@ -132,7 +132,7 @@ def method_page(records, site, repo_root):
f"length was measured and checked against the published length."), [("Trails", "/"), ("About", "/about/")])
+ f"""<div class="container section place"><div class="prose">
<h2>Length</h2>
<p>A trail&rsquo;s length here is the end-to-end length of its canonical path: one walk from one end to the other, taking one branch at a split, leaving out side trails and counting no stretch twice. It is the figure the trail&rsquo;s holder or author gives for that walk, and each record says where it comes from. A trail that cannot be walked from end to end today is not listed, but a ferry, shuttle or bus link that the holder or the route&rsquo;s author names as the way through does not rule one out, and the track has a gap there. The lists and pages show the length in miles with kilometres after.</p>
<p>A trail&rsquo;s length here is the end-to-end length of its canonical path: one walk from one end to the other, taking one branch at a split, leaving out side trails and counting no stretch twice. It is the figure the trail&rsquo;s holder or author gives for that walk, and each record says where it comes from. A trail that cannot be walked from end to end today is not listed, but a ferry, shuttle or bus link that the holder or the route&rsquo;s author names as the way through does not rule one out, and the track has a gap there. Every trail or route needs a published length; one with no stated length is not listed. The floor is 50 miles, or, for an author&rsquo;s route that is short on miles, at least five days as its author gives the trip, and the five days never replace a published length; cross-country travel, route finding and hard terrain count in that judgement. Nothing harder than Class&nbsp;3 may be required: a route with a harder section is listed only where that section is optional, and the record says so. The lists and pages show the length in miles with kilometres after.</p>
<p>Some holders also publish a larger figure for a whole system, or a planned total. A record keeps it apart as the whole system, with what it counts, and no list, length band or time estimate uses it. {n_system} of the {n} records have one. A trail that can be walked through but is partly unbuilt keeps the holder&rsquo;s end-to-end route as its length and gives the built length beside it. {n_built} of the {n} records give one.</p>
<p>Where a track is included, its length is measured along the track as a geodesic length and compared with the published figure. The difference is the measured length minus the published length, as a percent of the published length. Track ends within 100 metres are joined, and the number of parts left is shown.</p>
<p>Across the {len(ver)} measured tracks, the middle difference is {mid:.1f} percent.</p>
+1 -1
View File
@@ -60,7 +60,7 @@ class ExtraPagesTest(unittest.TestCase):
def test_all_routes_on_routes_page(self):
routes = [r for r in self.records if r["derived"]["kind"] == "route"]
self.assertEqual(len(routes), 59)
self.assertEqual(len(routes), 58)
page = read_out("routes/index.html")
import html as _html
text = _html.unescape(re.sub(r"<[^>]+>", "", page)) # a credit naming two authors links each name
+1 -1
View File
@@ -114,7 +114,7 @@ class HistorySectionTest(unittest.TestCase):
def test_real_records_all_show_their_history(self):
recs = records.load_records()
self.assertEqual(len(recs), 199)
self.assertEqual(len(recs), 198)
for rec in recs:
part = trail.history_section(rec)
self.assertIn("History of this record", part, rec["id"])
+1 -1
View File
@@ -394,7 +394,7 @@ class RealDocumentsTest(unittest.TestCase):
counter = TableCounter()
counter.feed(md.render(read_doc("README.md")))
counter.close()
self.assertEqual(counter.counts, [140, 59])
self.assertEqual(counter.counts, [140, 58])
def test_readme_num_class_present(self):
self.assertIn('class="num"', md.render(read_doc("README.md")))
+1 -1
View File
@@ -90,7 +90,7 @@ class BuiltSiteTest(unittest.TestCase):
def test_one_detail_page_per_record(self):
found = [d for d in os.listdir(os.path.join(OUT, "trails"))
if os.path.isfile(os.path.join(OUT, "trails", d, "index.html"))]
self.assertEqual(len(self.records), 199)
self.assertEqual(len(self.records), 198)
self.assertEqual(sorted(found), sorted(r["id"] for r in self.records))
self.assertTrue(os.path.isfile(os.path.join(OUT, "index.html")))
+2 -2
View File
@@ -13,8 +13,8 @@ class RecordsTest(unittest.TestCase):
cls.recs = records.load_records()
def test_counts(self):
self.assertEqual(len(self.recs), 199)
self.assertEqual(sum(r["derived"]["kind"] == "route" for r in self.recs), 59)
self.assertEqual(len(self.recs), 198)
self.assertEqual(sum(r["derived"]["kind"] == "route" for r in self.recs), 58)
self.assertEqual(sum(r["derived"]["kind"] == "designated" for r in self.recs), 140)
self.assertEqual(sum(r["derived"]["has_line"] for r in self.recs), 121)