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

One named result a scorer produced for one sample.

  * `:name` - `"<scorer id>"`, or `"<scorer id>.<key>"` for a scorer that
    emits several scores; always a string, never an atom from data
  * `:value` - `:pass | :fail`, a finite float in `0.0..1.0`, or
    `{:label, String.t()}`
  * `:passed?` - the scorer's own verdict under its threshold or rule
  * `:reason` - short, scorer-authored explanation (trusted text)
  * `:details` - evidence; may contain untrusted text such as agent output
    or a judge's critique
  * `:metadata` - e.g. judge model, prompt hash, raw scale value

# `t`

```elixir
@type t() :: %Nous.Eval.Score{
  details: map(),
  metadata: map(),
  name: String.t(),
  passed?: boolean(),
  reason: String.t() | nil,
  value: value()
}
```

# `value`

```elixir
@type value() :: :pass | :fail | float() | {:label, String.t()}
```

---

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