Archive each judge run's prompt and json reply beside the verdict it gave, and replay from the archived prompt
CI / tests (pull_request) Failing after 2m45s
CI / tests (pull_request) Failing after 2m45s
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
import dataclasses
|
||||
|
||||
from claude_code.tokens import Tokens
|
||||
from transcript_archive.judge_run import JudgeRun
|
||||
|
||||
|
||||
@dataclasses.dataclass(frozen=True)
|
||||
@@ -22,6 +23,8 @@ class Judged:
|
||||
tokens: Tokens = Tokens()
|
||||
# The human's whole typed answer that holds the judge's quote of a reversal of a choice the worker took on its own recommendation; empty for none, and where no typed answer holds the quote.
|
||||
reversed: str = ""
|
||||
# The prompt it read and its reply, which the archive keeps beside the verdict. Left out of comparisons and reprs, so that equal verdicts stay equal whatever prompt they came from.
|
||||
run: JudgeRun | None = dataclasses.field(default=None, compare=False, repr=False)
|
||||
|
||||
|
||||
@dataclasses.dataclass(frozen=True)
|
||||
|
||||
Reference in New Issue
Block a user