Aludel.Evals.SuiteRun (aludel v0.1.18)

Copy Markdown View Source

Schema for tracking suite execution results.

Records the outcome of running a test suite against a specific prompt version and provider, storing individual test results and summary counts.

Summary

Functions

Changeset for creating or updating a suite run.

Types

t()

@type t() :: %Aludel.Evals.SuiteRun{
  __meta__: term(),
  avg_cost_usd: term(),
  avg_latency_ms: term(),
  failed: term(),
  id: term(),
  inserted_at: term(),
  passed: term(),
  prompt_version: term(),
  prompt_version_id: term(),
  provider: term(),
  provider_id: term(),
  results: term(),
  suite: term(),
  suite_id: term(),
  updated_at: term()
}

Functions

changeset(suite_run, attrs)

@spec changeset(t(), map()) :: Ecto.Changeset.t()

Changeset for creating or updating a suite run.

Validates that suite_id, prompt_version_id, and provider_id are present.