Give the judge what the project records and ten times more of the chunk's transcript

This commit is contained in:
2026-10-03 00:25:24 +02:00
parent 1568b3888d
commit 6d5d19bd69
10 changed files with 76 additions and 28 deletions
+2 -1
View File
@@ -24,6 +24,7 @@ class Cycle:
paths: Paths
premises: str
project_key: str
records: str
root: str
session: Session
task: str
@@ -75,7 +76,7 @@ def rule(cycle: Cycle, transcript_path: str) -> Ruled | Stop:
entries = read_transcript(transcript_path)
if isinstance(entries, Failure):
return Stop(1, entries.reason)
verdict = judge(cycle.root, cycle.task, cycle.premises, render(entries), cycle.models.judge, cycle.effects)
verdict = judge(cycle.root, cycle.task, cycle.premises, cycle.records, render(entries), cycle.models.judge, cycle.effects)
return verdict if isinstance(verdict, Stop) else Ruled(verdict)