# `Jidoka.Eval.Run`
[🔗](https://github.com/agentjido/jidoka/blob/v0.9.0/lib/jidoka/eval/run.ex#L1)

Result of running a `Jidoka.Eval.Case`.

# `assertion`

```elixir
@type assertion() :: %{
  :name =&gt; atom(),
  :status =&gt; :passed | :failed,
  optional(:expected) =&gt; term(),
  optional(:actual) =&gt; term()
}
```

# `status`

```elixir
@type status() :: :passed | :failed | :error
```

# `t`

```elixir
@type t() :: %Jidoka.Eval.Run{
  assertions: [map()],
  case_id: binary(),
  error: nil | nil | any(),
  metadata: map(),
  observations: map(),
  result: nil | nil | term(),
  status: (:passed | :failed) | :error
}
```

# `new`

```elixir
@spec new(keyword() | map()) :: {:ok, t()} | {:error, term()}
```

Builds an evaluation run from keyword or map attributes.

# `new!`

```elixir
@spec new!(keyword() | map()) :: t()
```

Builds an evaluation run and raises if the attributes are invalid.

# `schema`

```elixir
@spec schema() :: Zoi.schema()
```

Returns the Zoi schema for an evaluation run.

# `statuses`

```elixir
@spec statuses() :: [status()]
```

Returns the possible evaluation run statuses.

---

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