Skip to content

Decision Metrics

Every Bipkit evaluation returns standardized certainty metrics designed to let your application make safe, deterministic control-flow decisions.

Metric Type Range Meaning
request_id string eval_01... Time-ordered public identifier for logging, feedback, and Decision Provenance Ledger lookups.
probability float 0.0 – 1.0 Calibrated posterior probability for a candidate (or noul probability for binary checks).
confidence_tier string "high", "medium", "low" Categorical certainty band summarizing whether the decision is safe to auto-execute or should be reviewed/escalated.
confidence_index float 0.0 – 1.0 Continuous certainty score reflecting calibrated decision strength.
margin float 0.0 – 1.0 Separation between the top choice and the runner-up ($P_1 - P_2$). High margin means clear winner separation.
uncertainty_entropy float 0.0 – 1.0 Normalized Shannon entropy across candidates. 0.0 indicates complete sharpness; values near 1.0 indicate flat ambiguity.
latency_ms float > 0 Server-side engine evaluation time in milliseconds.

See the Decision-Safety & Escalation Guide for recommended production thresholds and fallback policies.