Answer stability round 1: 0 🔴, 8 🟡 (1 misread); count every named pass's rounds past the first again, name unreadable tags in larv-review, drop version_of, and test newest_tag, a failed index refresh, the judge cost a ruling archives, a ruling that cannot be archived, and a nested agents folder

This commit is contained in:
2026-11-04 23:48:18 +01:00
parent 9fea1d8286
commit 37a412b80e
9 changed files with 94 additions and 16 deletions
+1 -6
View File
@@ -171,7 +171,7 @@ def cut_version(cut: LastCut) -> Release | None:
"""Which version is cut. It is the tag's, or None where the tag names no version. On a branch with no tag, it is the newest version under a dated CHANGELOG.md heading, else BEFORE_FIRST_RELEASE."""
if cut.tag is None:
return dated_cut(cut.tag, cut.changelog) or BEFORE_FIRST_RELEASE
return version_of(cut.tag)
return tagged(cut.tag) if isinstance(cut.tag, str) else None
def dated_cut(tag: str | None | Failure, changelog: str | Failure) -> Release | None:
@@ -181,11 +181,6 @@ def dated_cut(tag: str | None | Failure, changelog: str | Failure) -> Release |
return max((cut for heading in sections(changelog) if (cut := dated(heading))), default=None)
def version_of(tag: str | None | Failure) -> Release | None:
"""The version x.y.z named by tag, the newest v* tag; None where it names none."""
return tagged(tag) if isinstance(tag, str) else None
def has_unreleased(cut: LastCut) -> bool | Failure:
"""Whether work has landed since cut: one or more changes are unreleased."""
changes = unreleased_changes(cut)