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

The record of one eval run: its configuration fingerprint, every sample,
and the summary statistics. This is what a `Nous.Eval.Store` persists and
what `Nous.Eval.Compare` diffs.

  * `:id` - the eval run id (string)
  * `:schema_version` - record format version; stores read every older
    version and refuse newer ones
  * `:task` - the task module name as a string
  * `:status` - `:completed`, `:budget_exhausted` (stopped early, partial
    results) or `:aborted` (operational failure, e.g. the trace handler
    was detached)
  * `:fingerprint` - everything that identifies the configuration under
    test (see `Nous.Eval.Fingerprint`)
  * `:dataset_hash` - content hash of the dataset that ran
  * `:k` / `:seed` - samples per case and the base seed
  * `:budget` - the configured limits and what was spent
  * `:samples` - `[Nous.Eval.Sample.t()]`
  * `:summary` - aggregate metrics computed from the samples
  * `:metadata` - free-form (e.g. git sha, CI job)

# `status`

```elixir
@type status() :: :completed | :budget_exhausted | :aborted
```

# `t`

```elixir
@type t() :: %Nous.Eval.Run{
  budget: map(),
  dataset_hash: String.t() | nil,
  fingerprint: map(),
  finished_at: DateTime.t() | nil,
  id: String.t(),
  k: pos_integer(),
  metadata: map(),
  samples: [Nous.Eval.Sample.t()],
  schema_version: pos_integer(),
  seed: integer() | nil,
  started_at: DateTime.t() | nil,
  status: status(),
  summary: map(),
  task: String.t() | nil
}
```

# `schema_version`

```elixir
@spec schema_version() :: pos_integer()
```

The record format version this release writes.

---

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