# `GEPA.Adapters.Confidence.Scoring`
[🔗](https://github.com/nshkrdotcom/gepa_ex/blob/v0.3.0/lib/gepa/adapters/confidence/scoring.ex#L1)

Confidence-aware scoring strategies for `GEPA.Adapters.Confidence`.

Each strategy receives whether the prediction is correct and the **joint
logprob** for the target field.  Logprobs are converted to probabilities via
`exp(logprob)` before confidence penalties are applied.

# `strategy`

```elixir
@type strategy() :: struct() | module()
```

# `clamp01`

```elixir
@spec clamp01(number()) :: float()
```

# `describe`

```elixir
@spec describe(strategy()) :: String.t()
```

# `probability`

```elixir
@spec probability(number() | nil) :: float() | nil
```

# `score`

```elixir
@spec score(strategy(), boolean(), number() | nil) :: float()
```

---

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