Say 'No page states a season' once in the note under an estimated season
Validate / validate (push) Waiting to run
Validate / history (push) Waiting to run
Validate / site (push) Waiting to run
Mirror to forge / mirror (push) Canceled after 0s

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Fable 5.2 committed 2026-11-29 18:28:40 -07:00
1 parent c632ecb0c9
commit 014a01cbbd
3 files changed
+15

No files matched your search

+8
View File
@@ -195,6 +195,14 @@ class SeasonTextTest(unittest.TestCase):
self.assertNotIn("walk it outside", note)
self.assertNotIn("Judged from", note) # the standard lead is said once, in the note's own words
def test_a_method_that_opens_with_no_page_states_a_season_is_not_said_twice(self):
rec = fake(1, hike=est_hike(season_method=(
"No page states a season. The loop is on a plateau where summers are hot, so spring and fall "
"are set as the window. Confidence: low.")))
note = facets.season_note(rec)
self.assertEqual(note.count("No page states a season"), 1, note)
self.assertIn("spring and fall are set as the window", note)
def test_a_page_that_contradicts_itself_is_said_once_not_twice(self):
rec = fake(1, hike=est_hike(season_method=(
"A page was found but it contradicts itself, so no page is relied on. The season was estimated "