jevguard_calibrate
Detect ambiguous or low-confidence predictions by evaluating probability distributions across answers, flagging cases where top probability is below 0.40 or the gap between top and runner-up is under 0.15.
Instructions
Evaluates probability distributions across answers to identify ambiguity, low confidence (top_prob < 0.40), and flat distributions (dispersion_gap < 0.15).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answers | Yes | Dictionary mapping question names to answers with probabilities or confidence values. | |
| min_top_prob | No | Minimum confidence threshold for top choice (default: 0.40). | |
| min_dispersion_gap | No | Minimum probability gap between top choice and runner up (default: 0.15). | |
| noul_uncertainty_margin | No | Uncertainty margin around 0.50 boundary for noul probabilities (default: 0.12). |