mlsanityData to 14 Oct 2026

Bias in the Loop: Auditing LLM-as-a-Judge for Software Engineering

arXiv 2604.16790 ↗First posted 18 Apr 2026cs.SE cs.AIcited by 4

Not on the map. Why?

Abstract (arXiv)

Large Language Models are increasingly used as judges to evaluate code artifacts when exhaustive human review or executable test coverage is unavailable. LLM-judge is increasingly relevant in agentic software engineering workflows, where it can help rank candidate solutions and guide patch selection. While attractive for scale, current practice lacks a principled account of reliability and bias: repeated evaluations of the same case can disagree; small prompt edits can swing outcomes; and seemingly semantics-preserving, human-equivalent perturbations may elicit divergent verdicts. This paper studies LLM-as-a-Judge for code through a measurement-first lens. We analyze two pointwise judging regimes across code generation, code repair task, and test generation, and we systematically probe prompt-induced biases. Our study considers difficulty levels for repeated runs and controlled prompt interventions that isolate one presentation cue at a time, and it evaluates judges using consistency and sensitivity to bias. We find that judge decisions are highly sensitive to prompt biases even when the underlying code snippet is unchanged. Across all three tasks, several biases systematically shift preferences toward the option favored by the prompt, improving accuracy when that option aligns with the gold answer but substantially reducing it otherwise. In some settings, these effects are large enough to change task-level conclusions and alter relative model rankings. These findings show that reported judge performance may reflect prompt artifacts rather than stable assessment ability, posing a direct threat to the validity and reproducibility of code evaluation. We therefore argue that LLM-as-a-Judge studies should report bias sensitivity alongside accuracy and incorporate explicit controls to support more trustworthy model comparison in software engineering.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 25 of its 35 references that are in the map. First posted on arXiv 18 Apr 2026.

Builds on

25 of 35 references.

References · 25

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  3. 2024A Survey on Large Language Models for Code Generationcited by 658
  4. 2024From Crowdsourced Data to High-Quality Benchmarks: Arena-Hard and BenchBuilder Pipelinecited by 500
  5. 2024LLMs-as-Judges: A Comprehensive Survey on LLM-based Evaluation Methodscited by 465
  6. 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 336
  7. 2025WebThinker: Empowering Large Reasoning Models with Deep Research Capabilitycited by 335
  8. 2024JudgeBench: A Benchmark for Evaluating LLM-based Judgescited by 318
  9. 2024Judging the Judges: Evaluating Alignment and Vulnerabilities in LLMs-as-Judgescited by 205
  10. 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 178
  11. 2024SWE-Search: Enhancing Software Agents with Monte Carlo Tree Search and Iterative Refinementcited by 132
  12. 2025Can LLMs Replace Human Evaluators? An Empirical Study of LLM-as-a-Judge in Software Engineeringcited by 67
13 more
  1. 2023A Survey on Large Language Models for Software Engineeringcited by 59
  2. 2023ICE-Score: Instructing Large Language Models to Evaluate Codecited by 52
  3. 2025Agentic Software Engineering: Foundational Pillars and a Research Roadmapcited by 41
  4. 2025CodeJudgeBench: Benchmarking LLM-as-a-Judge for Coding Taskscited by 33
  5. 2024CodeJudge-Eval: Can Large Language Models be Good Judges in Code Understanding?cited by 30
  6. 2024Bias Unveiled: Investigating Social Bias in LLM-Generated Codecited by 25
  7. 2026Agentic Rubrics as Contextual Verifiers for SWE Agentscited by 25
  8. 2025PatchPilot: A Cost-Efficient Software Engineering Agent with Early Attempts on Formal Verificationcited by 22
  9. 2025Don't Judge Code by Its Cover: Exploring Biases in LLM Judges for Code Evaluationcited by 18
  10. 2025On the Effectiveness of LLM-as-a-judge for Code Generation and Summarizationcited by 18
  11. 2025From Code to Courtroom: LLMs as the New Software Judgescited by 16
  12. 2025Social Bias Benchmark for Generation: A Comparison of Generation and QA-Based Evaluationscited by 16
  13. 2025Efficiency vs. Alignment: Investigating Safety and Fairness Risks in Parameter-Efficient Fine-Tuning of LLMscited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025LLM-as-a-Judge for Software Engineering: Literature Review, Vision, and the Road Ahead ↗
  2. 2026On the risk of coding before testing: An empirical study on LLM-based test generation workflow
  3. 2025Artificial or Just Artful? Do LLMs Bend the Rules in Programming? ↗
  4. 2026Autorubric: A Unifying Framework for Rubric-Based LLM Evaluation on Non-Verifiable Tasks
  5. 2025Evaluating Scoring Bias in LLM-as-a-Judge
  6. 2026LLM-as-a-Judge Is Not an Oracle: Why Self-Improving Agents Need Deterministic Guardrails
  7. 2025An Empirical Study of LLM-as-a-Judge: How Design Choices Impact Evaluation Reliability
  8. 2026Rethinking the Value of Agent-Generated Tests for LLM-Based Software Engineering Agents