Public constructors and evaluators for GEPA candidate acceptance policies.
The built-in policies compare aggregate candidate scores. Custom callbacks receive the complete before/after result context and must return a documented accept or reject decision.
Summary
Functions
Returns whether the policy accepts the proposed result.
Builds a custom acceptance policy.
Evaluates a policy and returns its normalized decision and detail.
Returns the built-in policy for a mutation or merge.
Types
Functions
Returns whether the policy accepts the proposed result.
Builds a custom acceptance policy.
Evaluates a policy and returns its normalized decision and detail.
@spec default(:mutation | :merge) :: policy()
Returns the built-in policy for a mutation or merge.