symfonic.evals.runner¶
runner ¶
Async evaluation runner with per-trial target isolation.
EvalTarget ¶
Bases: Protocol
Application boundary driven by the runner.
resume
async
¶
Redeem one outstanding pause through the deployment's own seam.
Separate from :meth:observe because it is a separate operation: it
takes no prompt, it continues a turn that already ran, and the
evidence it publishes is about the redemption rather than about an
answer the model produced. A target that cannot do it says so by
publishing no resume in operations, which makes an approval
pack not-applicable instead of failing it on delivery.
Source code in src/symfonic/evals/runner.py
InfrastructureUnavailable ¶
Bases: RuntimeError
The scenario could not ask its question because a dependency is absent.
run_scenario
async
¶
Run a scenario sequentially so external side effects stay attributable.
Source code in src/symfonic/evals/runner.py
run_suite
async
¶
run_suite(scenarios: Iterable[Scenario], factory: TargetFactory, *, tags: frozenset[str] = frozenset()) -> EvalReport
Run selected scenarios and return a deterministic aggregate report.