Nous.Eval.Scorers.NoToolErrors (nous v0.21.1)

Copy Markdown View Source

Passes when no tool call failed.

{Nous.Eval.Scorers.NoToolErrors, scope: :tree}

A call failed when its outcome is one of :outcomes, or when it executed but its stop event reports an error. A tool that returns a domain error as its result (%{success: false}) executed successfully as far as the runner is concerned and does not count.

Options

  • :outcomes - the failing outcomes (default [:invalid_arguments, :not_found, :timeout, :crashed, :hook_stage_failed]; denials and rejections are policy decisions, not errors, and :incomplete calls belong to a killed run)
  • :scope - :root (default), :tree or {:sub_agent, template}

Passing on a truncated trace is a :missing_trace error. details.errors lists %{tool_call_id:, name:, outcome:}.