# `SystemOneDSL.Prepared`
[🔗](https://github.com/boxxxie/jev_dsl/blob/v1.0.0/lib/system_one_dsl/prepared.ex#L1)

Compile-time prepared evaluation contract holding normalized `ReqLLM.Evaluation`
question maps and a deterministic SHA-256 `fingerprint`.

# `t`

```elixir
@type t() :: %SystemOneDSL.Prepared{
  fingerprint: String.t(),
  questions: %{optional(atom() | String.t()) =&gt; map()}
}
```

# `compute_fingerprint`

```elixir
@spec compute_fingerprint(map()) :: String.t()
```

Computes a deterministic SHA-256 hex fingerprint for a normalized questions map.

# `prepare`

```elixir
@spec prepare([SystemOneDSL.Question.t()] | keyword() | map()) ::
  {:ok, t()} | {:error, SystemOneDSL.Error.t()}
```

Normalizes a list of `%SystemOneDSL.Question{}` structs (or keyword/map of question maps)
into a `%SystemOneDSL.Prepared{}` struct with a deterministic SHA-256 `fingerprint`.

# `prepare!`

```elixir
@spec prepare!([SystemOneDSL.Question.t()] | keyword() | map()) :: t()
```

Same as `prepare/1`, but raises `SystemOneDSL.Error` on invalid questions.

---

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