Expand description
Judge calibration: an eval whose workflow is a judge and whose expected
values are human labels. Every result is one (judge verdict, label) pair;
the report adds the confusion matrix, raw agreement, TPR, TNR and Cohen’s
kappa (raw agreement alone flatters a judge on imbalanced labels).
Structs§
- Calibration
Summary - How well the judge agrees with the labels.
Functions§
- calibrate
- Compare every result’s judge verdict with its label (
expected). - format_
calibration - The terminal block for a calibration summary.
- gate
- Apply the calibration thresholds (
min_kappa,min_tpr,min_tnr) to the gate. An undefined metric (no examples of a class) fails its threshold.