ExAgent. Eval. Suite behaviour
(ExAgent v3.0.0)
View Source
Callbacks for a named suite discovered by mix exagent.eval.
The suite provides its name, target, fixture directory and run options.
Stability — Stable.
Summary
Callbacks
Resolve a source identifier passed to the candidate mix exagent.eval.capture task.
Resolve it within the host's authorized Store scope and return that run's
diagnostic continuation read with capture options such as the case name,
redactor and expected answer.
Supply human labels to host-owned evaluation tooling.
Functions
Declare the suite with a required :name for mix exagent.eval discovery.
Callbacks
@callback capture(String.t()) :: {:ok, ExAgent.Continuation.run_details(), keyword()} | {:error, term()}
Resolve a source identifier passed to the candidate mix exagent.eval.capture task.
Resolve it within the host's authorized Store scope and return that run's
diagnostic continuation read with capture options such as the case name,
redactor and expected answer.
@callback cases() :: [ExAgent.Eval.Case.t()]
@callback evaluators() :: [ExAgent.Eval.Evaluator.t()]
@callback labels() :: map()
Supply human labels to host-owned evaluation tooling.
@callback options() :: keyword()
Functions
Declare the suite with a required :name for mix exagent.eval discovery.