Sort the new imports, narrow prepare-scoring's git results, and take run-tests' worker count from the heavy slot
CI / tests (pull_request) Successful in 2m20s

This commit is contained in:
2026-11-12 08:56:39 +01:00
parent 90773cfa5f
commit c04864b6f0
8 changed files with 18 additions and 30 deletions
+2 -2
View File
@@ -75,7 +75,7 @@ class PrepareScoring(unittest.TestCase):
def test_writes_each_seats_prompt_with_every_placeholder_filled_and_a_worktree_at_head(self):
self.commit("# A\n\n## Scoring run\n\n- Language: Python\n- Kind: a CLI\n- Domain: parsing\n- Domain docs: the spec\n- 3am question: the parse hangs\n")
ran = self.run_tool("prepare-scoring", "--preloaded", "`CLAUDE.md`")
ran = self.run_tool("prepare-scoring", "--preloaded", "`README.md`")
self.assertEqual(ran.returncode, 0, ran.stderr)
folder = self.root / ".local" / "state" / "larv-review" / "proj" / "scoring"
worktree = folder / "checkout"
@@ -89,7 +89,7 @@ class PrepareScoring(unittest.TestCase):
self.assertIn("\n\nYour background: ~2 years in Python, first codebase of this kind (a CLI); no exposure to the domain at all.\n\n", junior)
self.assertIn(f"Target: the project checked out at {worktree} (branch `item-9`). Read ONLY there — never {self.checkout}, which is a different version.", junior)
self.assertIn("every non-test tracked file: `bin/**`, `AGENTS.md` and `README.md`. Do NOT open todo.md, docs/decisions.md,", junior)
self.assertIn("from a DIFFERENT version (main): `CLAUDE.md`.", junior)
self.assertIn("from a DIFFERENT version (main): `README.md`.", junior)
self.assertIn("\n- 7 — Predictable. The layout answers", junior)
self.assertIn("Report, in this shape:", senior)
self.assertIn("~15 years taking over other people's systems", architect)