Aludel.Evals.Suite (aludel v0.1.18)

Copy Markdown View Source

Schema for evaluation test suites.

A suite groups test cases together for a specific prompt, allowing systematic testing across multiple scenarios.

Summary

Functions

Changeset for creating or updating a suite.

Types

t()

@type t() :: %Aludel.Evals.Suite{
  __meta__: term(),
  id: term(),
  inserted_at: term(),
  name: term(),
  project: term(),
  project_id: term(),
  prompt: term(),
  prompt_id: term(),
  suite_runs: term(),
  test_cases: term(),
  updated_at: term()
}

Functions

changeset(suite, attrs)

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

Changeset for creating or updating a suite.

Validates that name and prompt_id are present.