Move the Kekekabic and Pukaskwa Coastal trails to the left-out list, keep Timberline, and write out the rule for shorter trails
The Gila loop's chosen start is removed: the Forest Service names none. The "under review" sentence is no longer accepted by the data check. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
c15758a508
commit
f2235c420d
35 files changed
+102
-338
No files matched your search
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 23 KiB |
+2
-2
@@ -374,8 +374,8 @@ 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 shown is the published figure for walking the whole trail from end to end, and for a loop reached by a stem it includes the stem both ways. 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’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 miles, or, for an author’s route that is short on miles, at least five days as its author gives the trip. The five days count only for an author’s route that is mostly cross-country or on hard terrain: a trail trip that a guidebook paces over five or more days does not qualify. The five days never replace a published length. A trail with its own name and its own published length is listed even where it lies on a longer listed trail, as the John Muir Trail lies on the Pacific Crest Trail; a guidebook’s cut of a longer trail is not. A loop reached by a stem is shown at the published figure, which walks the stem both ways, and its note says which stretch is walked out and back; the floor is tested on the length with nothing counted twice, so an out-and-back is judged one way. Nothing harder than Class 3 may be required, apart from a few short Class 4 scrambles. A route that needs a rope, a belay or rock-climbing skill is not listed, unless 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 miles (60 and 80 km).</p>
|
||||
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’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 miles. A trail or route under 50 miles is listed only when it is still reasonably long and at least one of these is true: it has real cross-country travel; it genuinely takes five or more days to walk, as its author or managing body gives the trip (a guidebook spreading an ordinary trail trip over five days does not count); or it is very well known and popular, as the Rae Lakes Loop is. Each such record gives its reason in <code>short_reason</code>. Being close to 50 miles is never a reason. The days never replace a published length. A trail with its own name and its own published length is listed even where it lies on a longer listed trail, as the John Muir Trail lies on the Pacific Crest Trail; a guidebook’s cut of a longer trail is not. A loop reached by a stem is shown at the published figure, which walks the stem both ways, and its note says which stretch is walked out and back; the floor is tested on the length with nothing counted twice, so an out-and-back is judged one way. Nothing harder than Class 3 may be required, apart from a few short Class 4 scrambles. A route that needs a rope, a belay or rock-climbing skill is not listed, unless that section is optional and the record says so. A National Scenic Trail is listed unless it cannot be walked
|
||||
through.</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>
|
||||
<p>Trails that were looked at and left out are kept in the open too, with the reason for each one:
|
||||
|
||||
+3
-2
@@ -19,8 +19,9 @@ 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), or, for an author's route that is mostly cross-country or on hard terrain and short on miles, five days as its author gives the trip, "
|
||||
"apart from a few well known shorter trails. A trail trip that a guidebook paces over five or more days does not qualify on the days. "
|
||||
"The floor for this list is 50 miles (80 km). A trail or route under 50 miles is listed only when it is still reasonably long and at least one of these is true: it has real cross-country travel; "
|
||||
"it genuinely takes five or more days to walk, as its author or managing body gives the trip (a guidebook spreading an ordinary trail trip over five days does not count); "
|
||||
"or it is very well known and popular, as the Rae Lakes Loop is. Being close to 50 miles is never a reason. "
|
||||
"The floor is tested on the length with nothing counted twice, so an out-and-back is judged one way. "
|
||||
"A trail with its own name and its own published length is listed even where it lies on a longer listed trail; a guidebook's cut of a longer trail is not. "
|
||||
"A listed trail or route also needs a published length."),
|
||||
|
||||
@@ -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’s length here is the published figure for walking it from one end to the other, taking one branch at a split and leaving out side trails. For a loop reached by a stem that includes the stem both ways, and the record’s note says which stretch is walked out and back. The dataset’s test for the 50 mile floor counts nothing twice, so an out-and-back is judged one way. It is the figure the trail’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’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’s route that is short on miles, at least five days as its author gives the trip. The five days count only for an author’s route that is mostly cross-country or on hard terrain: a trail trip that a guidebook paces over five or more days does not qualify. The five days never replace a published length. A trail with its own name and its own published length is listed even where it lies on a longer listed trail, as the John Muir Trail lies on the Pacific Crest Trail; a guidebook’s cut of a longer trail is not. Nothing harder than Class 3 may be required, apart from a few short Class 4 scrambles. A route that needs a rope, a belay or rock-climbing skill is not listed, unless that section is optional and the record says so. The lists and pages show the length in miles with kilometres after.</p>
|
||||
<p>A trail’s length here is the published figure for walking it from one end to the other, taking one branch at a split and leaving out side trails. For a loop reached by a stem that includes the stem both ways, and the record’s note says which stretch is walked out and back. The dataset’s test for the 50 mile floor counts nothing twice, so an out-and-back is judged one way. It is the figure the trail’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’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. A trail or route under 50 miles is listed only when it is still reasonably long and at least one of these is true: it has real cross-country travel; it genuinely takes five or more days to walk, as its author or managing body gives the trip (a guidebook spreading an ordinary trail trip over five days does not count); or it is very well known and popular, as the Rae Lakes Loop is. Each such record gives its reason in <code>short_reason</code>. Being close to 50 miles is never a reason. The days never replace a published length. A trail with its own name and its own published length is listed even where it lies on a longer listed trail, as the John Muir Trail lies on the Pacific Crest Trail; a guidebook’s cut of a longer trail is not. Nothing harder than Class 3 may be required, apart from a few short Class 4 scrambles. A route that needs a rope, a belay or rock-climbing skill is not listed, unless 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’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
@@ -34,7 +34,7 @@ ALL_CANADA = "all provinces and territories"
|
||||
TIERS = {
|
||||
"national": ("National Scenic Trail", "A United States National Scenic Trail"),
|
||||
"regional": ("Regional", "A long trail of 50 miles (80 km) or more"),
|
||||
"short": ("Short", "A well-known multi-day trail of 37 to 50 miles (60 to 80 km)"),
|
||||
"short": ("Short", "A trail of 37 to 50 miles (60 to 80 km) listed for a stated reason"),
|
||||
"deferred": ("Deferred", "Listed, but something about it is not settled; the record's note says what"),
|
||||
"candidate": ("Candidate", "Listing not yet decided"),
|
||||
}
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
# Old addresses that people may have saved or shared.
|
||||
/lists/under-100-km/ /lists/under-100-miles/ 301
|
||||
/lists/under-100-km /lists/under-100-miles/ 301
|
||||
/trails/kekekabic/ /left-out/#left-out-below-floor 301
|
||||
/trails/kekekabic /left-out/#left-out-below-floor 301
|
||||
/trails/pukaskwa-coastal/ /left-out/#left-out-below-floor 301
|
||||
/trails/pukaskwa-coastal /left-out/#left-out-below-floor 301
|
||||
@@ -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), 222)
|
||||
self.assertEqual(len(recs), 220)
|
||||
for rec in recs:
|
||||
part = trail.history_section(rec)
|
||||
self.assertIn("History of this record", part, rec["id"])
|
||||
|
||||
@@ -394,7 +394,7 @@ class RealDocumentsTest(unittest.TestCase):
|
||||
counter = TableCounter()
|
||||
counter.feed(md.render(read_doc("README.md")))
|
||||
counter.close()
|
||||
self.assertEqual(counter.counts, [146, 76])
|
||||
self.assertEqual(counter.counts, [144, 76])
|
||||
|
||||
def test_readme_num_class_present(self):
|
||||
self.assertIn('class="num"', md.render(read_doc("README.md")))
|
||||
|
||||
@@ -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), 222)
|
||||
self.assertEqual(len(self.records), 220)
|
||||
self.assertEqual(sorted(found), sorted(r["id"] for r in self.records))
|
||||
self.assertTrue(os.path.isfile(os.path.join(OUT, "index.html")))
|
||||
|
||||
|
||||
@@ -13,10 +13,10 @@ class RecordsTest(unittest.TestCase):
|
||||
cls.recs = records.load_records()
|
||||
|
||||
def test_counts(self):
|
||||
self.assertEqual(len(self.recs), 222)
|
||||
self.assertEqual(len(self.recs), 220)
|
||||
self.assertEqual(sum(r["derived"]["kind"] == "route" for r in self.recs), 76)
|
||||
self.assertEqual(sum(r["derived"]["kind"] == "designated" for r in self.recs), 146)
|
||||
self.assertEqual(sum(r["derived"]["has_line"] for r in self.recs), 125)
|
||||
self.assertEqual(sum(r["derived"]["kind"] == "designated" for r in self.recs), 144)
|
||||
self.assertEqual(sum(r["derived"]["has_line"] for r in self.recs), 123)
|
||||
|
||||
def test_sorted_by_id(self):
|
||||
ids = [r["id"] for r in self.recs]
|
||||
|
||||
Reference in new issue
Block a user