Nous.Eval.Run (nous v0.21.1)

Copy Markdown View Source

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)

Summary

Functions

The record format version this release writes.

Types

status()

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

t()

@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
}

Functions

schema_version()

@spec schema_version() :: pos_integer()

The record format version this release writes.