One execution of one case, with its scores.
:case_id/:index- the case and the sample number (0..k-1):seed- the seed sent, ornil:trace_id- the trace the sample ran under:outcome- how the agent run ended::ok,:error,:killed(timeout), or:budget_exhausted(never started or cancelled by the run budget):output- the agent's final output,nilunless:ok:error- a printable description of the run error, ornil:verdict-:pass | :fail | :errorafter composing the scorers (seeNous.Eval.Scoring);nilfor a budget-exhausted sample:case_score- the gated objective:0.0when a required scorer failed, else the weighted mean of the soft scorers (1.0with none);nilwhen the verdict is:error:scores/:scorer_errors/:skipped- every scorer result, stored regardless of the verdict (skippedholds{scorer, reason}):trace- theNous.Eval.Trace:usage/:cost/:duration_ms/:iterations- resource use;costisnilwhen no price is known
Summary
Types
@type outcome() :: :ok | :error | :killed | :budget_exhausted
@type t() :: %Nous.Eval.Sample{ case_id: String.t(), case_score: float() | nil, cost: float() | nil, duration_ms: non_neg_integer(), error: String.t() | nil, index: non_neg_integer(), iterations: non_neg_integer(), outcome: outcome(), output: term(), scorer_errors: [Nous.Eval.ScorerError.t()], scores: [Nous.Eval.Score.t()], seed: integer() | nil, skipped: [{String.t(), String.t()}], trace: Nous.Eval.Trace.t() | nil, trace_id: String.t() | nil, usage: Nous.Usage.t(), verdict: verdict() | nil }
@type verdict() :: :pass | :fail | :error