Answer principles round 1: 0 🔴, 4 🟡; one class per standing, cases in the table, test chunk_start's open session and the earlier-release case

This commit is contained in:
2026-10-18 10:53:12 +02:00
parent ab081dd33f
commit e9cc88ed27
9 changed files with 119 additions and 91 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ import pathlib
from larv_review.git import committed_since_release
from failure import Failure
from git_repo import file_at, top
from todo_table import Item, items, renames
from todo_table import Item, items, renames, version
def scoring_run_due(before: list[Item], after: list[Item], ships: list[int], landed: bool, renamed: set[tuple[int, int, int]]) -> list[str] | Failure:
@@ -20,7 +20,7 @@ def scoring_run_due(before: list[Item], after: list[Item], ships: list[int], lan
for release in emptied(before, after, shipped, renamed):
if any(item.release == release for item in shipped) or (release == next_release and landed):
# SKILL.md → "Second run" keys on this wording.
reasons.append(f"leaves release {'.'.join(map(str, release))} with no plan item")
reasons.append(f"leaves release {version(release)} with no plan item")
return reasons