Give the judge what the project records and ten times more of the chunk's transcript
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user