Answer prose round 1: 0 🔴, 5 🟡 (0 misread); the decision entry and the help text reworded with the measurement redone, the title names the judge runs, and the hash comments say prompt and reply
This commit is contained in:
@@ -343,7 +343,7 @@ class Checkout:
|
||||
self.test.assertEqual(stat.S_IMODE(archived.stat().st_mode), 0o600)
|
||||
stamped = re.sub(r"^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\dZ ", "<UTC> ", kept.read_text(), flags=re.MULTILINE)
|
||||
configured = re.sub(r"^Config: .*$", "Config: <config>", stamped, flags=re.MULTILINE)
|
||||
# The judge's run is named by the hash of its prompt, which test_loop_claude.py checks.
|
||||
# The judge's run is named by the hash of its prompt and reply, which test_loop_claude.py checks.
|
||||
outcomes[copy.read_text()] = re.sub(r"^Judge run: judge/[0-9a-f]{64}\.json\n", "", configured, flags=re.MULTILINE)
|
||||
return outcomes
|
||||
|
||||
|
||||
@@ -292,7 +292,7 @@ class Cycles(unittest.TestCase):
|
||||
return run.Cycle(config=CONFIG, window=WINDOW, effects=fake.effects(), facts=facts, judge_model="judge-model", ladder=LADDER, premises="## Goals", project=None, project_archive=self.archive, records=records, root=str(self.home), route=Route(Rung("worker-model")), session=self.session, task="Do it.", plan=plan_of(""), unfinished_evidence=unfinished_evidence)
|
||||
|
||||
def archived_outcomes(self):
|
||||
"""Each outcomes file's text without its `Judge run:` lines, which name a file by the hash of a prompt: the tests of the judge's runs check them."""
|
||||
"""Each outcomes file's text without its `Judge run:` lines, which name a file by the hash of a prompt and its reply: the tests of the judge's runs check them."""
|
||||
return sorted(JUDGE_RUN_LINE.sub("", path.read_text()) for path in self.archive.glob("*/*.outcomes.md"))
|
||||
|
||||
def test_a_finished_chunk_is_archived_and_its_session_deleted(self):
|
||||
|
||||
Reference in New Issue
Block a user