Answer stability round 1: 0 🔴, 6 🟡; name no rung without evidence, test the prompt's task, premises and records and the replay's edges, and name a copy and its outcomes file in one module

This commit is contained in:
2026-10-15 09:16:11 +02:00
parent 5d49c24397
commit 015e39ae97
13 changed files with 94 additions and 36 deletions
+2 -7
View File
@@ -1,9 +1,9 @@
import dataclasses
import pathlib
from transcript_archive.location import chunk_folder
from transcript_archive.location import chunk_folder, FILE_SUFFIX, transcript_of
from failure import Failure
from transcript_archive.outcomes import FILE_SUFFIX, FINISHED_AT, workers
from transcript_archive.outcomes import FINISHED_AT, workers
@dataclasses.dataclass(frozen=True)
@@ -41,11 +41,6 @@ def chunk_outcomes(folder: pathlib.Path) -> list[pathlib.Path]:
return sorted(folder.glob(f"*{FILE_SUFFIX}"))
def transcript_of(outcomes: pathlib.Path) -> pathlib.Path:
"""The transcript copy an outcomes file sits beside."""
return outcomes.with_name(outcomes.name.removesuffix(FILE_SUFFIX) + ".jsonl")
def read_threads(chunk: FinishedChunk) -> list[bytes] | Failure:
"""The worker's transcript, then each subagent's."""
try: