# `Aludel.Evals.SuitePolicy`
[🔗](https://github.com/ccarvalho-eng/aludel/blob/main/lib/aludel/evals/suite_policy.ex#L1)

Immutable version of a quality policy attached to an evaluation suite.

Creating a new policy produces the next suite-local version. Existing suite
runs keep their policy association so retries and exports use the same
evaluation contract that was active when the run started.

# `t`

```elixir
@type t() :: %Aludel.Evals.SuitePolicy{
  __meta__: term(),
  definition: term(),
  id: term(),
  inserted_at: term(),
  suite: term(),
  suite_id: term(),
  suite_runs: term(),
  updated_at: term(),
  version: term()
}
```

# `changeset`

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

Builds a changeset for a versioned suite policy.

---

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