# `GEPA.StopCondition.MaxCalls`
[🔗](https://github.com/nshkrdotcom/gepa_ex/blob/v0.3.0/lib/gepa/stop_condition.ex#L319)

Stops after a maximum number of metric evaluations.

This is the most common stop condition for budgeting optimization runs.

# `t`

```elixir
@type t() :: %GEPA.StopCondition.MaxCalls{max_calls: non_neg_integer()}
```

# `new`

```elixir
@spec new(non_neg_integer()) :: t()
```

---

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