AI
How LLMs Judge AI-Coded Programs: A Study on Reliability and Limitations
New research reveals that large language models used to evaluate human-AI collaborative coding show variable reliability, with context and defect detection ability varying widely across models.
Researchers have developed a rubric-based framework for using large language models as judges in human-AI programming contests, uncovering significant insights about how these systems assess code quality and reliability. The study examined 15 participants working through 13 coding problems, generating 184 solution trajectories and 517 total attempts in a track run alongside a traditional programming competition.
Judge Design Matters More Than Expected#
The research reveals that seemingly small input choices dramatically reshape how LLM judges evaluate code. When researchers provided the full problem statement rather than just an identifier, the three judges dramatically reshuffled their rankings (rank correlation dropped to 0.26) and their accuracy improved substantially—ROC-AUC scores rose by 0.13 points on average, reaching up to 0.38. This suggests that judge design is a critical first-order variable rather than a minor implementation detail.
Schema Compliance Doesn't Guarantee Accuracy#
A second critical finding challenges conventional assumptions about how these systems operate. Even when LLMs report confidence scores across a continuous scale, the actual output is far more constrained than it appears. The judges generated as few as 8 distinct probability values from their assessments, leaving only 6 of 99 possible threshold values as genuinely distinct decision points. This quantization effect means the judges' apparent precision is largely illusory—they function more like coarse classifiers than nuanced probability estimators.
Model Differences Separate on Defect Detection#
When tested against their core task—identifying correct solutions—Claude and Gemini performed essentially equivalently (ROC-AUC scores of 0.70 vs 0.77). However, their ability to detect when injected defects broke working code diverged sharply: Claude caught subtle errors at 0.84 sensitivity while Gemini managed only 0.75. This decoupling suggests that accuracy and defect sensitivity are independent capabilities, and models excelling at one task may not excel at the other.

