Nous.Eval.Store.RunSummary (nous v0.21.1)

Copy Markdown View Source

The listing view of a stored Nous.Eval.Run: everything except the samples and their traces, plus the sample count.

Nous.Eval.Store.list_runs/2 returns these so a listing never decodes traces. Fetch the full run with Nous.Eval.Store.get_run/2.

Summary

Functions

The summary of run.

Types

t()

@type t() :: %Nous.Eval.Store.RunSummary{
  dataset_hash: String.t() | nil,
  finished_at: DateTime.t() | nil,
  id: String.t(),
  k: pos_integer(),
  metadata: map(),
  sample_count: non_neg_integer(),
  schema_version: pos_integer(),
  seed: integer() | nil,
  started_at: DateTime.t() | nil,
  status: Nous.Eval.Run.status(),
  summary: map(),
  task: String.t() | nil
}

Functions

from_run(run)

@spec from_run(Nous.Eval.Run.t()) :: t()

The summary of run.