calibrate_judge
Compare an LLM judge's verdicts against ground truth to measure agreement and detect systematic over-crediting bias.
Instructions
Check an LLM judge against ground truth on a labelled slice. Pass aligned booleans: the judge's verdicts and the known-correct answers. Returns agreement and whether the judge's errors lean one direction (over-crediting = the length/self-preference failure mode).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | Your metering key — any stable string identifying you; it tracks your free-tier calls and prepaid credit balance. | |
| judge_caught | Yes | The judge's per-item verdicts, as aligned booleans (True = judge marked it correct/caught). | |
| truth_caught | Yes | The known-correct answers, aligned 1:1 with judge_caught (True = actually correct/caught). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| biased | No | True if the judge's errors lean one direction. | |
| verdict | No | ||
| direction | No | ||
| over_credits | No | ||
| under_credits | No | ||
| agreement_rate | No |