Expand description
The Supervisor’s rules, with no I/O: which turns are judged, the limits, and what each verdict leads to. Spec §3.2 and §3.4.
Structs§
- Turn
Facts - What the watcher knows about a turn that just ended.
Enums§
- Action
- What the Supervisor does with the judge’s answer.
- PreJudge
- What happens before any model is asked.
Functions§
- apply
- Record
actioninstate(status, counters, history). - apply_
pause - Record a stop that needed no judge (
PreJudge::Pause). - apply_
wait - Record that background work is running.
- decide
- The action for a verdict, after the limits (spec §3.4).
Noneis no verdict. - limit_
reached - Why another continuation would pass a limit, or
None. - limit_
reached_ in limit_reachedunder explicitlimits(the settings, read once).- on_
turn_ end - Take a turn that ended into
state, and say whether it is judged. Updates the run counters: a turn the user started resets the run (spec §3.4); a turn the Supervisor started counts toward no-progress.