GEPA.Adapters.Confidence.Scoring.Threshold (GEPA v0.3.0)

Copy Markdown View Source

Scores a correct answer as 1.0 only when confidence probability is greater than or equal to threshold; otherwise 0.0.

Summary

Types

t()

@type t() :: %GEPA.Adapters.Confidence.Scoring.Threshold{threshold: float()}

Functions

describe(strategy)

new(opts \\ [])

@spec new(keyword() | map()) :: t()

score(strategy, correct, logprob)