mlsanityData to 14 Oct 2026

CodeJudgeBench: Benchmarking LLM-as-a-Judge for Coding Tasks

arXiv 2507.10535 ↗First posted 14 Jul 2025cs.CL cs.AI cs.SEcited by 33

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) have significantly advanced the state-of-the-art in various coding tasks. Beyond directly answering user queries, LLMs can also serve as judges, assessing and comparing the quality of responses generated by other models. Such an evaluation capability is crucial both for benchmarking different LLMs and for improving response quality through response ranking. However, despite the growing adoption of the LLM-as-a-Judge paradigm, its effectiveness in coding scenarios remains underexplored due to the absence of dedicated benchmarks. To address this gap, we introduce CodeJudgeBench, a benchmark explicitly designed to evaluate the performance of LLM-as-a-Judge models across three critical coding tasks: code generation, code repair, and unit test generation. Through comprehensive benchmarking of 26 LLM-as-a-Judge models, we find that recent thinking models significantly outperform non-thinking models on our carefully designed code judging tasks. Notably, even relatively small thinking models, such as Qwen3-8B, can outperform specially trained LLM-as-a-Judge models up to 70B in size. Nevertheless, all models still exhibit significant randomness in their judgment of coding tasks. For pairwise judging tasks, simply changing the order in which responses are presented can substantially impact accuracy. In addition, when judging code and unit tests written by different LLMs, LLM-as-a-Judge models also show variance in performance. This sensitivity raises concerns about the reliability and consistency of LLM-as-a-Judge in coding scenarios. Lastly, we study optimal prompting strategies for LLM-as-a-Judge. We find that using pair-wise comparison outperforms scalar point-wise judging. Furthermore, retaining comments and reasoning in the full, unprocessed LLM response leads to improved judge performance.

Key facts. Cited by 33 papers in the map (data through 14 Oct 2026). Builds on 60 of its 78 references that are in the map. First posted on arXiv 14 Jul 2025.

Builds on

60 of 78 references.

References · 60

  1. 2017Attention Is All You Needcited by 60,361
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2022Training language models to follow instructions with human feedbackcited by 15,971
  4. 2024The Llama 3 Herd of Modelscited by 14,715
  5. 2025Qwen3 Technical Reportcited by 8,820
  6. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  7. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  8. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
  9. 2024Qwen2.5 Technical Reportcited by 4,942
  10. 2021Program Synthesis with Large Language Modelscited by 3,637
  11. 2022Emergent Abilities of Large Language Modelscited by 2,512
  12. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
38 more
  1. 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,986
  2. 2022Competition-Level Code Generation with AlphaCodecited by 1,462
  3. 2024A Survey on LLM-as-a-Judgecited by 1,423
  4. 2023Teaching Large Language Models to Self-Debugcited by 988
  5. 2023BloombergGPT: A Large Language Model for Financecited by 939
  6. 2024Phi-4 Technical Reportcited by 711
  7. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
  8. 2024Prometheus 2: An Open Source Language Model Specialized in Evaluating Other Language Modelscited by 446
  9. 2022CodeT: Code Generation with Generated Testscited by 384
  10. 2023JudgeLM: Fine-tuned Large Language Models are Scalable Judgescited by 367
  11. 2025Demystifying Long Chain-of-Thought Reasoning in LLMscited by 326
  12. 2024Humans or LLMs as the Judge? A Study on Judgement Biasescited by 323
  13. 2024JudgeBench: A Benchmark for Evaluating LLM-based Judgescited by 318
  14. 2023PandaLM: An Automatic Evaluation Benchmark for LLM Instruction Tuning Optimizationcited by 316
  15. 2023FinGPT: Open-Source Financial Large Language Modelscited by 253
  16. 2024RM-Bench: Benchmarking Reward Models of Language Models with Subtlety and Stylecited by 176
  17. 2023Generative Judge for Evaluating Alignmentcited by 169
  18. 2025RM-R1: Reward Modeling as Reasoningcited by 154
  19. 2024LLM Critics Help Catch LLM Bugscited by 147
  20. 2024SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agentscited by 133
  21. 2023Self-planning Code Generation with Large Language Modelscited by 124
  22. 2023PentestGPT: An LLM-empowered Automatic Penetration Testing Toolcited by 97
  23. 2025ACECODER: Acing Coder RL via Automated Test-Case Synthesiscited by 93
  24. 2024How to Evaluate Reward Models for RLHFcited by 88
  25. 2025AceReason-Nemotron: Advancing Math and Code Reasoning through Reinforcement Learningcited by 87
  26. 2024Automated Unit Test Improvement using Large Language Models at Metacited by 75
  27. 2024Self-Taught Evaluatorscited by 72
  28. 2025Can LLMs Replace Human Evaluators? An Empirical Study of LLM-as-a-Judge in Software Engineeringcited by 67
  29. 2023CritiqueLLM: Towards an Informative Critique Generation Model for Evaluation of Large Language Model Generationcited by 66
  30. 2024RMB: Comprehensively Benchmarking Reward Models in LLM Alignmentcited by 61
  31. 2024CodeUltraFeedback: An LLM-as-a-Judge Dataset for Aligning Large Language Models to Coding Preferencescited by 57
  32. 2023ICE-Score: Instructing Large Language Models to Evaluate Codecited by 52
  33. 2024Code Repair with LLMs gives an Exploration-Exploitation Tradeoffcited by 51
  34. 2025CodeMonkeys: Scaling Test-Time Compute for Software Engineeringcited by 51
  35. 2025CodeContests+: High-Quality Test Case Generation for Competitive Programmingcited by 46
  36. 2023A Comprehensive Analysis of the Effectiveness of Large Language Models as Automatic Dialogue Evaluatorscited by 45
  37. 2024CodeJudge: Evaluating Code Generation with Large Language Modelscited by 44
  38. 2025Evaluating Judges as Evaluators: The JETTS Benchmark of LLM-as-Judges as Test-Time Scaling Evaluatorscited by 44

50 most cited of 60 All 60 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 9; 2026: 24.

33 papers.

Sort:

By area:

  1. 2025Automatic Failure Attribution and Critical Step Prediction Method for Multi-Agent Systems Based on Causal Inferencecited by 18
  2. 2025Incentivizing Agentic Reasoning in LLM Judges via Tool-Integrated Reinforcement Learningcited by 17
  3. 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 15
  4. 2026DevBench: A Realistic, Developer-Informed Benchmark for Code Generation Modelscited by 8
  5. 2025SciML Agents: Write the Solver, Not the Solutioncited by 6
  6. 2026Secure Code Generation via Online Reinforcement Learning with Vulnerability Reward Modelcited by 6
  7. 2025Foundational Automatic Evaluators: Scaling Multi-Task Generative Evaluator Training for Reasoning-Centric Domainscited by 5
  8. 2026SWE-Cycle: Benchmarking Code Agents across the Complete Issue Resolution Cyclecited by 5
  9. 2026Scaling Large Reasoning Models beyond Human Supervision: A Path toward Superintelligencecited by 5
  10. 2025Gistify! Codebase-Level Understanding via Runtime Executioncited by 4
  11. 2026Bias in the Loop: Auditing LLM-as-a-Judge for Software Engineeringcited by 4
  12. 2026Self Improvement via Fast Tree-searchcited by 4
21 more
  1. 2025PDE-SHARP: PDE Solver Hybrids through Analysis and Refinement Passescited by 3
  2. 2026CodeCircuit: Toward Inferring LLM-Generated Code Correctness via Attribution Graphscited by 3
  3. 2026SLMJury: Can Small Language Models Judge as Well as Large Ones?cited by 3
  4. 2026ProactiveBench: Benchmarking Proactiveness in Multimodal Large Language Modelscited by 2
  5. 2025Benchmarking Code LLM-as-a-Judge via Constrained Perturbation and Calibrationcited by 1
  6. 2026Simple Role Assignment is Extraordinarily Effective for Safety Alignmentcited by 1
  7. 2026Comparing Developer and LLM Biases in Code Evaluationcited by 1
  8. 2026How Trustworthy Are LLM-as-Judge Ratings for Interpretive Responses? Implications for Qualitative Research Workflowscited by 1
  9. 2026Themis: Training Robust Multilingual Code Reward Models for Flexible Multi-Criteria Scoringcited by 1
  10. 2026ReMedi: Reasoner for Medical Clinical Predictioncited by 1
  11. 2025AI-Driven Decision-Making System for Hiring Processcited by 0
  12. 2026Making Bias Non-Predictive: Training Robust LLM Reasoning via Reinforcement Learningcited by 0
  13. 2026From Feelings to Metrics: Understanding and Formalizing How Users Vibe-Test LLMscited by 0
  14. 2026OpsLLM: Construction of Large Language Model for Software Operations with Multi-stage Learningcited by 0
  15. 2026PYTHALAB-MERA: Validation-Grounded Memory, Retrieval, and Acceptance Control for Frozen-LLM Coding Agentscited by 0
  16. 2026CriterAlign: Criterion-Centric Rationale Alignment for Code Preference Judgingcited by 0
  17. 2026AutoSG: LLM-Driven Solver Generation Solely from Task Prompts for Expensive Optimizationcited by 0
  18. 2026SynCity 3000: Bootstrapping Scene-Scale 3D Diffusioncited by 0
  19. 2026DAREBench: Deployment-Aware and Reliable Evaluation of Models as Agentscited by 0
  20. 2026When Is a Multi-Agent Code Judge Actually Grounded? Two Label-Free Measurements, and a Judge That Declines to Guesscited by 0
  21. 2026Beyond the Verdict: Agentic Code Judging with Verifiable Feedbackcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025CodeCriticBench: A Holistic Code Critique Benchmark for Large Language Models
  2. 2026Beyond Output Correctness: Benchmarking and Evaluating Large Language Model Reasoning in Coding Tasks
  3. 2025Cross-Task Benchmarking and Evaluation of General-Purpose and Code-Specific Large Language Models ↗
  4. 2026CodeEval: A pedagogical approach for targeted evaluation of code-trained Large Language Models
  5. 2025MCTS-Judge: Test-Time Scaling in LLM-as-a-Judge for Code Correctness Evaluation
  6. 2025LLM-as-a-Judge for Software Engineering: Literature Review, Vision, and the Road Ahead ↗
  7. 2026JudgeArena: A Unified Framework for Reproducible LLM-Judge Evaluation
  8. 2025CodeElo: Benchmarking Competition-level Code Generation of LLMs with Human-comparable Elo Ratings