# `Nous.Eval.ScorerError`
[🔗](https://github.com/nyo16/nous/blob/v0.21.1/lib/nous/eval/scorer_error.ex#L1)

A scorer failed to produce a verdict. It says nothing about the agent: a
sample with any scorer error is `:error`, never `:pass` or `:fail`, and an
eval run with errors exits non-zero in CI.

`kind` is one of:

  * `:raised` - the scorer raised, threw or exited
  * `:timeout` - the scorer exceeded its time limit
  * `:invalid_config` - bad options, or a required scorer skipped
  * `:missing_trace` - the trace needed is absent or truncated
  * `:judge_unparseable` / `:judge_out_of_range` / `:judge_call_failed` -
    the LLM judge's answer could not be used
  * `:budget_exhausted` - a model-graded scorer had no budget left
  * `:non_finite` - a score value was NaN, infinite or outside `0.0..1.0`
  * `:unscoreable` - the sample is not evidence about the agent: a
    simulated episode ended on a simulator or setup failure, or an attack
    that could not run to an end (see `Nous.Eval.Simulator`)

# `kind`

```elixir
@type kind() ::
  :raised
  | :timeout
  | :invalid_config
  | :missing_trace
  | :judge_unparseable
  | :judge_out_of_range
  | :judge_call_failed
  | :budget_exhausted
  | :non_finite
  | :unscoreable
```

# `t`

```elixir
@type t() :: %Nous.Eval.ScorerError{
  __exception__: true,
  details: map(),
  kind: kind(),
  reason: String.t() | nil,
  scorer: String.t()
}
```

# `kinds`

```elixir
@spec kinds() :: [kind()]
```

Every error kind.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
