CodeJudgeBench: Benchmarking LLM-as-a-Judge for Coding Tasks
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
- 2017Attention Is All You Needcited by 60,361
- 2023GPT-4 Technical Reportcited by 18,396
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2025Qwen3 Technical Reportcited by 8,820
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2022Emergent Abilities of Large Language Modelscited by 2,512
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
38 more
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,986
- 2022Competition-Level Code Generation with AlphaCodecited by 1,462
- 2024A Survey on LLM-as-a-Judgecited by 1,423
- 2023Teaching Large Language Models to Self-Debugcited by 988
- 2023BloombergGPT: A Large Language Model for Financecited by 939
- 2024Phi-4 Technical Reportcited by 711
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
- 2024Prometheus 2: An Open Source Language Model Specialized in Evaluating Other Language Modelscited by 446
- 2022CodeT: Code Generation with Generated Testscited by 384
- 2023JudgeLM: Fine-tuned Large Language Models are Scalable Judgescited by 367
- 2025Demystifying Long Chain-of-Thought Reasoning in LLMscited by 326
- 2024Humans or LLMs as the Judge? A Study on Judgement Biasescited by 323
- 2024JudgeBench: A Benchmark for Evaluating LLM-based Judgescited by 318
- 2023PandaLM: An Automatic Evaluation Benchmark for LLM Instruction Tuning Optimizationcited by 316
- 2023FinGPT: Open-Source Financial Large Language Modelscited by 253
- 2024RM-Bench: Benchmarking Reward Models of Language Models with Subtlety and Stylecited by 176
- 2023Generative Judge for Evaluating Alignmentcited by 169
- 2025RM-R1: Reward Modeling as Reasoningcited by 154
- 2024LLM Critics Help Catch LLM Bugscited by 147
- 2024SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agentscited by 133
- 2023Self-planning Code Generation with Large Language Modelscited by 124
- 2023PentestGPT: An LLM-empowered Automatic Penetration Testing Toolcited by 97
- 2025ACECODER: Acing Coder RL via Automated Test-Case Synthesiscited by 93
- 2024How to Evaluate Reward Models for RLHFcited by 88
- 2025AceReason-Nemotron: Advancing Math and Code Reasoning through Reinforcement Learningcited by 87
- 2024Automated Unit Test Improvement using Large Language Models at Metacited by 75
- 2024Self-Taught Evaluatorscited by 72
- 2025Can LLMs Replace Human Evaluators? An Empirical Study of LLM-as-a-Judge in Software Engineeringcited by 67
- 2023CritiqueLLM: Towards an Informative Critique Generation Model for Evaluation of Large Language Model Generationcited by 66
- 2024RMB: Comprehensively Benchmarking Reward Models in LLM Alignmentcited by 61
- 2024CodeUltraFeedback: An LLM-as-a-Judge Dataset for Aligning Large Language Models to Coding Preferencescited by 57
- 2023ICE-Score: Instructing Large Language Models to Evaluate Codecited by 52
- 2024Code Repair with LLMs gives an Exploration-Exploitation Tradeoffcited by 51
- 2025CodeMonkeys: Scaling Test-Time Compute for Software Engineeringcited by 51
- 2025CodeContests+: High-Quality Test Case Generation for Competitive Programmingcited by 46
- 2023A Comprehensive Analysis of the Effectiveness of Large Language Models as Automatic Dialogue Evaluatorscited by 45
- 2024CodeJudge: Evaluating Code Generation with Large Language Modelscited by 44
- 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
Citing papers per year: 2025: 9; 2026: 24.
33 papers.
Sort:
By area:
- 2025Automatic Failure Attribution and Critical Step Prediction Method for Multi-Agent Systems Based on Causal Inferencecited by 18
- 2025Incentivizing Agentic Reasoning in LLM Judges via Tool-Integrated Reinforcement Learningcited by 17
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 15
- 2026DevBench: A Realistic, Developer-Informed Benchmark for Code Generation Modelscited by 8
- 2025SciML Agents: Write the Solver, Not the Solutioncited by 6
- 2026Secure Code Generation via Online Reinforcement Learning with Vulnerability Reward Modelcited by 6
- 2025Foundational Automatic Evaluators: Scaling Multi-Task Generative Evaluator Training for Reasoning-Centric Domainscited by 5
- 2026SWE-Cycle: Benchmarking Code Agents across the Complete Issue Resolution Cyclecited by 5
- 2026Scaling Large Reasoning Models beyond Human Supervision: A Path toward Superintelligencecited by 5
- 2025Gistify! Codebase-Level Understanding via Runtime Executioncited by 4
- 2026Bias in the Loop: Auditing LLM-as-a-Judge for Software Engineeringcited by 4
- 2026Self Improvement via Fast Tree-searchcited by 4
21 more
- 2025PDE-SHARP: PDE Solver Hybrids through Analysis and Refinement Passescited by 3
- 2026CodeCircuit: Toward Inferring LLM-Generated Code Correctness via Attribution Graphscited by 3
- 2026SLMJury: Can Small Language Models Judge as Well as Large Ones?cited by 3
- 2026ProactiveBench: Benchmarking Proactiveness in Multimodal Large Language Modelscited by 2
- 2025Benchmarking Code LLM-as-a-Judge via Constrained Perturbation and Calibrationcited by 1
- 2026Simple Role Assignment is Extraordinarily Effective for Safety Alignmentcited by 1
- 2026Comparing Developer and LLM Biases in Code Evaluationcited by 1
- 2026How Trustworthy Are LLM-as-Judge Ratings for Interpretive Responses? Implications for Qualitative Research Workflowscited by 1
- 2026Themis: Training Robust Multilingual Code Reward Models for Flexible Multi-Criteria Scoringcited by 1
- 2026ReMedi: Reasoner for Medical Clinical Predictioncited by 1
- 2025AI-Driven Decision-Making System for Hiring Processcited by 0
- 2026Making Bias Non-Predictive: Training Robust LLM Reasoning via Reinforcement Learningcited by 0
- 2026From Feelings to Metrics: Understanding and Formalizing How Users Vibe-Test LLMscited by 0
- 2026OpsLLM: Construction of Large Language Model for Software Operations with Multi-stage Learningcited by 0
- 2026PYTHALAB-MERA: Validation-Grounded Memory, Retrieval, and Acceptance Control for Frozen-LLM Coding Agentscited by 0
- 2026CriterAlign: Criterion-Centric Rationale Alignment for Code Preference Judgingcited by 0
- 2026AutoSG: LLM-Driven Solver Generation Solely from Task Prompts for Expensive Optimizationcited by 0
- 2026SynCity 3000: Bootstrapping Scene-Scale 3D Diffusioncited by 0
- 2026DAREBench: Deployment-Aware and Reliable Evaluation of Models as Agentscited by 0
- 2026When Is a Multi-Agent Code Judge Actually Grounded? Two Label-Free Measurements, and a Judge That Declines to Guesscited by 0
- 2026Beyond the Verdict: Agentic Code Judging with Verifiable Feedbackcited by 0
- 2026Beyond the Verdict: Agentic Code Judging with Verifiable Feedback13 Oct 2026
- 2026When Is a Multi-Agent Code Judge Actually Grounded? Two Label-Free Measurements, and a Judge That Declines to Guess23 Sep 2026
- 2026Self Improvement via Fast Tree-search17 Sep 2026
- 2026DAREBench: Deployment-Aware and Reliable Evaluation of Models as Agents5 Sep 2026
- 2026Scaling Large Reasoning Models beyond Human Supervision: A Path toward Superintelligence31 Aug 2026
- 2026SynCity 3000: Bootstrapping Scene-Scale 3D Diffusion6 Jul 2026
- 2026SLMJury: Can Small Language Models Judge as Well as Large Ones?5 Jun 2026
- 2026AutoSG: LLM-Driven Solver Generation Solely from Task Prompts for Expensive Optimization25 May 2026
- 2026CriterAlign: Criterion-Centric Rationale Alignment for Code Preference Judging19 May 2026
- 2026SWE-Cycle: Benchmarking Code Agents across the Complete Issue Resolution Cycle13 May 2026
- 2026PYTHALAB-MERA: Validation-Grounded Memory, Retrieval, and Acceptance Control for Frozen-LLM Coding Agents8 May 2026
- 2026ReMedi: Reasoner for Medical Clinical Prediction2 May 2026
21 more
- 2026Themis: Training Robust Multilingual Code Reward Models for Flexible Multi-Criteria Scoring1 May 2026
- 2026Bias in the Loop: Auditing LLM-as-a-Judge for Software Engineering18 Apr 2026
- 2026From Feelings to Metrics: Understanding and Formalizing How Users Vibe-Test LLMs15 Apr 2026
- 2026OpsLLM: Construction of Large Language Model for Software Operations with Multi-stage Learning6 Apr 2026
- 2026Comparing Developer and LLM Biases in Code Evaluation25 Mar 2026
- 2026ProactiveBench: Benchmarking Proactiveness in Multimodal Large Language Models19 Mar 2026
- 2026How Trustworthy Are LLM-as-Judge Ratings for Interpretive Responses? Implications for Qualitative Research Workflows9 Mar 2026
- 2026Secure Code Generation via Online Reinforcement Learning with Vulnerability Reward Model7 Feb 2026
- 2026CodeCircuit: Toward Inferring LLM-Generated Code Correctness via Attribution Graphs6 Feb 2026
- 2026Making Bias Non-Predictive: Training Robust LLM Reasoning via Reinforcement Learning2 Feb 2026
- 2026Simple Role Assignment is Extraordinarily Effective for Safety Alignment20 Jan 2026
- 2026DevBench: A Realistic, Developer-Informed Benchmark for Code Generation Models17 Jan 2026
- 2025Benchmarking Code LLM-as-a-Judge via Constrained Perturbation and Calibration23 Dec 2025
- 2025AI-Driven Decision-Making System for Hiring Process17 Dec 2025
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025PDE-SHARP: PDE Solver Hybrids through Analysis and Refinement Passes31 Oct 2025
- 2025Gistify! Codebase-Level Understanding via Runtime Execution30 Oct 2025
- 2025Incentivizing Agentic Reasoning in LLM Judges via Tool-Integrated Reinforcement Learning27 Oct 2025
- 2025Foundational Automatic Evaluators: Scaling Multi-Task Generative Evaluator Training for Reasoning-Centric Domains20 Oct 2025
- 2025SciML Agents: Write the Solver, Not the Solution12 Sep 2025
- 2025Automatic Failure Attribution and Critical Step Prediction Method for Multi-Agent Systems Based on Causal Inference10 Sep 2025
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 15
- 2025SciML Agents: Write the Solver, Not the Solutioncited by 6
- 2026SWE-Cycle: Benchmarking Code Agents across the Complete Issue Resolution Cyclecited by 5
- 2025Gistify! Codebase-Level Understanding via Runtime Executioncited by 4
- 2026Self Improvement via Fast Tree-searchcited by 4
- 2026PYTHALAB-MERA: Validation-Grounded Memory, Retrieval, and Acceptance Control for Frozen-LLM Coding Agentscited by 0
- 2026DAREBench: Deployment-Aware and Reliable Evaluation of Models as Agentscited by 0
- 2026When Is a Multi-Agent Code Judge Actually Grounded? Two Label-Free Measurements, and a Judge That Declines to Guesscited by 0
- 2026When Is a Multi-Agent Code Judge Actually Grounded? Two Label-Free Measurements, and a Judge That Declines to Guess23 Sep 2026
- 2026Self Improvement via Fast Tree-search17 Sep 2026
- 2026DAREBench: Deployment-Aware and Reliable Evaluation of Models as Agents5 Sep 2026
- 2026SWE-Cycle: Benchmarking Code Agents across the Complete Issue Resolution Cycle13 May 2026
- 2026PYTHALAB-MERA: Validation-Grounded Memory, Retrieval, and Acceptance Control for Frozen-LLM Coding Agents8 May 2026
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025Gistify! Codebase-Level Understanding via Runtime Execution30 Oct 2025
- 2025SciML Agents: Write the Solver, Not the Solution12 Sep 2025
- 2025Incentivizing Agentic Reasoning in LLM Judges via Tool-Integrated Reinforcement Learningcited by 17
- 2026Scaling Large Reasoning Models beyond Human Supervision: A Path toward Superintelligencecited by 5
- 2026Themis: Training Robust Multilingual Code Reward Models for Flexible Multi-Criteria Scoringcited by 1
- 2026ReMedi: Reasoner for Medical Clinical Predictioncited by 1
- 2026Making Bias Non-Predictive: Training Robust LLM Reasoning via Reinforcement Learningcited by 0
- 2026Beyond the Verdict: Agentic Code Judging with Verifiable Feedbackcited by 0
- 2026Beyond the Verdict: Agentic Code Judging with Verifiable Feedback13 Oct 2026
- 2026Scaling Large Reasoning Models beyond Human Supervision: A Path toward Superintelligence31 Aug 2026
- 2026ReMedi: Reasoner for Medical Clinical Prediction2 May 2026
- 2026Themis: Training Robust Multilingual Code Reward Models for Flexible Multi-Criteria Scoring1 May 2026
- 2026Making Bias Non-Predictive: Training Robust LLM Reasoning via Reinforcement Learning2 Feb 2026
- 2025Incentivizing Agentic Reasoning in LLM Judges via Tool-Integrated Reinforcement Learning27 Oct 2025
- 2025Automatic Failure Attribution and Critical Step Prediction Method for Multi-Agent Systems Based on Causal Inferencecited by 18
- 2026DevBench: A Realistic, Developer-Informed Benchmark for Code Generation Modelscited by 8
- 2025Foundational Automatic Evaluators: Scaling Multi-Task Generative Evaluator Training for Reasoning-Centric Domainscited by 5
- 2026Bias in the Loop: Auditing LLM-as-a-Judge for Software Engineeringcited by 4
- 2025PDE-SHARP: PDE Solver Hybrids through Analysis and Refinement Passescited by 3
- 2026CodeCircuit: Toward Inferring LLM-Generated Code Correctness via Attribution Graphscited by 3
- 2026SLMJury: Can Small Language Models Judge as Well as Large Ones?cited by 3
- 2025Benchmarking Code LLM-as-a-Judge via Constrained Perturbation and Calibrationcited by 1
- 2026Comparing Developer and LLM Biases in Code Evaluationcited by 1
- 2026How Trustworthy Are LLM-as-Judge Ratings for Interpretive Responses? Implications for Qualitative Research Workflowscited by 1
- 2025AI-Driven Decision-Making System for Hiring Processcited by 0
- 2026From Feelings to Metrics: Understanding and Formalizing How Users Vibe-Test LLMscited by 0
12 most cited of 15 All 15 (JSON)
- 2026SynCity 3000: Bootstrapping Scene-Scale 3D Diffusion6 Jul 2026
- 2026SLMJury: Can Small Language Models Judge as Well as Large Ones?5 Jun 2026
- 2026AutoSG: LLM-Driven Solver Generation Solely from Task Prompts for Expensive Optimization25 May 2026
- 2026Bias in the Loop: Auditing LLM-as-a-Judge for Software Engineering18 Apr 2026
- 2026From Feelings to Metrics: Understanding and Formalizing How Users Vibe-Test LLMs15 Apr 2026
- 2026OpsLLM: Construction of Large Language Model for Software Operations with Multi-stage Learning6 Apr 2026
- 2026Comparing Developer and LLM Biases in Code Evaluation25 Mar 2026
- 2026How Trustworthy Are LLM-as-Judge Ratings for Interpretive Responses? Implications for Qualitative Research Workflows9 Mar 2026
- 2026CodeCircuit: Toward Inferring LLM-Generated Code Correctness via Attribution Graphs6 Feb 2026
- 2026DevBench: A Realistic, Developer-Informed Benchmark for Code Generation Models17 Jan 2026
- 2025Benchmarking Code LLM-as-a-Judge via Constrained Perturbation and Calibration23 Dec 2025
- 2025AI-Driven Decision-Making System for Hiring Process17 Dec 2025
12 newest of 15 All 15 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025CodeCriticBench: A Holistic Code Critique Benchmark for Large Language Models
- 2026Beyond Output Correctness: Benchmarking and Evaluating Large Language Model Reasoning in Coding Tasks
- 2025Cross-Task Benchmarking and Evaluation of General-Purpose and Code-Specific Large Language Models ↗
- 2026CodeEval: A pedagogical approach for targeted evaluation of code-trained Large Language Models
- 2025MCTS-Judge: Test-Time Scaling in LLM-as-a-Judge for Code Correctness Evaluation
- 2025LLM-as-a-Judge for Software Engineering: Literature Review, Vision, and the Road Ahead ↗
- 2026JudgeArena: A Unified Framework for Reproducible LLM-Judge Evaluation
- 2025CodeElo: Benchmarking Competition-level Code Generation of LLMs with Human-comparable Elo Ratings