Answer prose round 1: 0 🔴, 6 🟡 (0 misread); rewrite each <verb> nothing to the negation rule, tighten the new docstrings and comments

This commit is contained in:
2026-11-12 20:33:32 +01:00
parent 7e29dc0014
commit 14e6756a53
61 changed files with 104 additions and 104 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ then replays the rounds on each rung below, highest first: the project's model a
effort, which the ladder leaves out, then each ladder rung down to the ladder's lowest. It stops at
the first rung that doesn't qualify. A rung qualifies where it finds as many findings as reach the
bar and misses no 🔴 that both replays on the project's rung found; a replay that failed on it
finds nothing. For
finds none. For
each replay, claude on the project's rung matches the report to the archived findings, and counts
a finding only where the report raises it as 🔴 or 🟡. The tool prints each rung's count, each 🔴
it missed, and the lowest rung that, like each rung above it, qualifies. That rung is the evidence
@@ -47,7 +47,7 @@ closes it with the header's line on the project principles.
Like the loop, it tries claude three times running before it counts a reply as failed. A failed
review or match leaves its round out, except on a rung below the project's, where it finds
nothing. Exit 1, saying why, on bad arguments, an unreadable archive or models file, no archived
none. Exit 1, saying why, on bad arguments, an unreadable archive or models file, no archived
round to replay, or a usage limit.
"""
import pathlib
+1 -1
View File
@@ -23,7 +23,7 @@ def compared(reviewed: str, project: Rung, chosen: list[Round], found_on: typing
if isinstance(found, Limited):
return found
runs.append(found)
# A failed replay found nothing, which would lower the bar where it had CLAUDE.md and count as misses where it had none.
# A failed replay found no findings, which would lower the bar where it had CLAUDE.md and count as misses where it had none.
kept = rounds_without_failure(chosen, runs)
first, second, third, without = ([found[run] for _, found in kept] for run in range(4))
return comparison(reviewed, project, [one for one, _ in kept], (first, second, third), without, len(chosen) - len(kept))
+2 -2
View File
@@ -64,7 +64,7 @@ def mean_share(rounds: list[Round], reference: Reference) -> Fraction:
def needed(rounds: list[Round], reference: Reference) -> int:
"""How many of rounds' findings a rung needs to find: the fewest that reach the project's rung's mean share less MARGIN. Zero or below, no rung is tried, since a rung that found nothing would qualify."""
"""How many of rounds' findings a rung needs to find: the fewest that reach the project's rung's mean share less MARGIN. Zero or below, no rung is tried, since a rung that found none would qualify."""
return math.ceil((mean_share(rounds, reference) - MARGIN) * held(rounds))
@@ -118,7 +118,7 @@ def recalled(chosen: list[Round], project: Rung, replay_one: typing.Callable[[Ro
on_rung: list[set[int] | Failure] | Limited = replayed_on(rounds, rung, replay_one, what)
if isinstance(on_rung, Limited):
return on_rung
# A failed replay on a candidate found nothing, so it lowers that rung's count and never lifts it to what a rung needs.
# A failed replay on a candidate found none, so it lowers that rung's count and never lifts it to what a rung needs.
one = tried(rung, rounds, reference, [set() if isinstance(found, Failure) else found for found in on_rung])
recalls.append(one)
if not one.qualifies: