AutoRefine: Auto-Calibrating Code Judges from Workflow Outcomes
Not on the map. Why?
Abstract (arXiv)
LLM judges increasingly serve as quality gates for code changes that have no test oracle, but a judge prompt must be calibrated for its task and recalibrated as the system it judges evolves, while hand labels for the calibration are resource intensive and go stale. Development workflows emit outcome labels for free (tests pass or fail, changes land or are abandoned), but these labels are noisy. We present AutoRefine, a loop that rewrites a deployable judge's prompt to reproduce outcome labels, with an informed teacher that sees the judge's input plus the outcome, explains each label it keeps, and abstains when the outcome cannot be explained from what the judge sees. On a held-out dataset with an execution oracle, calibration raised chance-corrected agreement (Scott's π) from 0.36 to 0.60. On a deployed agent's outcome labels, with 25% flipped at random to introduce noise, the teacher set aside flipped textscfail labels at more than twice the rate of genuine ones, cutting overall label noise from 25% to 20%. Recalibrating that agent's judge using AutoRefine raised its agreement with merge/abandon outcomes on 17 independently held-out diffs from the current workflow (π 0.16 to 0.51); on 16 diffs from older workflows, the previous judge stayed ahead, illustrating the need for recalibration as the agent evolves. By abstaining, the teacher not only removes noisy labels but also flags changes whose outcome the judge's input cannot explain, telling a team when a judge needs better inputs rather than a better prompt.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 15 of its 21 references that are in the map. Submitted 6 Nov 2026.
Builds on
15 of 21 references.
References · 15
- 2015Distilling the Knowledge in a Neural Networkcited by 10,967
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 9,360
- 2023Large Language Models as Optimizerscited by 985
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 908
- 2024Justice or Prejudice? Quantifying Biases in LLM-as-a-Judgecited by 422
- 2017Snorkel: Rapid Training Data Creation with Weak Supervisioncited by 386
- 2024JudgeBench: A Benchmark for Evaluating LLM-based Judgescited by 364
- 2024LLMs instead of Human Judges? A Large Scale Empirical Study across 20 NLP Evaluation Taskscited by 276
- 2015Unifying distillation and privileged informationcited by 272
- 2024Who Validates the Validators? Aligning LLM-Assisted Evaluation of LLM Outputs with Human Preferencescited by 161
- 2023Calibrating LLM-Based Evaluatorcited by 60
- 2025Validating LLM-as-a-Judge Systems under Rating Indeterminacycited by 28
3 more
- 2019Early Prediction for Merged vs Abandoned Code Changes in Modern Code Reviewscited by 2
- 2026The Expert Validation Framework (EVF): Enabling Domain Expert Control in AI Engineeringcited by 1
- 2026Statistical Confidence in Functional Correctness: An Approach for AI Product Functional Correctness Evaluationcited by 1
Built on by
Not cited yet.