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:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user