# `GEPA.Strategies.CandidateSelector.CurrentBest`
[🔗](https://github.com/nshkrdotcom/gepa_ex/blob/v0.3.0/lib/gepa/strategies/candidate_selector.ex#L73)

Greedy selector - always picks the highest-scoring program.

Uses exploitation without exploration. Good for final refinement phase.

# `best_candidate_idx`

```elixir
@spec best_candidate_idx(GEPA.State.t()) :: GEPA.Types.program_idx()
```

Return the index of the best-scoring program using average score and coverage.

# `select`

```elixir
@spec select(GEPA.State.t(), :rand.state() | nil) ::
  {GEPA.Types.program_idx(), :rand.state()}
```

---

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