Answer principles round 2: 0 🔴, 0 🟡 (0 misread); read the preloaded files before the scoring worktree is made, and state Route's contract
CI / tests (pull_request) Successful in 2m58s

This commit is contained in:
2026-11-13 03:08:06 +01:00
parent e6da7b0b9c
commit d029f9a1ee
3 changed files with 7 additions and 4 deletions
+1 -2
View File
@@ -896,8 +896,7 @@ class TodoRankCheck(unittest.TestCase):
checkout = self.changed_plan(self.other, "")
pathlib.Path(checkout, "todo.md").chmod(0)
self.addCleanup(pathlib.Path(checkout, "todo.md").chmod, 0o600)
self.assertEqual(len(self.details(checkout)), 1)
self.assertIn("Permission denied", self.details(checkout)[0])
self.assertEqual(["Permission denied" in detail for detail in self.details(checkout)], [True])
def details(self, checkout: str) -> list[str]:
return [breach.detail for breach in todo_breaches(checkout, pathlib.Path.home(), pathlib.Path(self.own))]