Answer architecture round 1: 1 🔴, 10 🟡; move FLOOR into comprehension_history, renumber the counter-signal item 198, void code health on a comprehension-check opt-out, add code health to every goal check, fail record-scoring on a failed re-rank, reuse overall_cells, and ease Scoring, parse_item and parse_moves

This commit is contained in:
2026-10-18 20:04:36 +02:00
parent 9e6715e0bf
commit 8e0060be08
18 changed files with 115 additions and 77 deletions
+3 -1
View File
@@ -439,7 +439,9 @@ class LarvReviewTool(unittest.TestCase):
self.assertEqual(uncalled.returncode, 1)
self.assertIn("no plan item or release calls this scoring run", uncalled.stderr)
ran = self.run_tool("record-scoring", self.seats_file(f"PR #2 at {self.start}\n" + seats), "1")
self.assertEqual(ran.returncode, 0, ran.stderr)
# This checkout's todo.md, beside no README.md, does not rank, so the run is recorded and the re-rank fails.
self.assertEqual(ran.returncode, 1)
self.assertIn(f"recorded the run, but rank_todo.py exited 1 on {self.checkout / 'todo.md'}", ran.stderr)
self.assertIn("\nFloor: Locality 6.50, Self-sufficiency 6.50 under the floor of 7.0.\n", ran.stdout)
self.assertIn("not /", self.run_tool("record-scoring", "1", self.seats_file(f"PR #2 at {self.start}\n" + seats)).stderr)
text = (self.checkout / "docs" / "comprehension-history.md").read_text()