CodeJudge: Evaluating Code Generation with Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have shown promising performance in code generation. However, how to reliably evaluate code generated by LLMs remains an unresolved problem. This paper presents CodeJudge, a code evaluation framework that leverages LLMs to evaluate the semantic correctness of generated code without the need for test cases. We investigate different ways to guide the LLM in performing "slow thinking" to arrive at an in-depth and reliable evaluation. We experimented with four LLMs as evaluators on four code generation datasets and five programming languages. The results show that CodeJudge significantly outperformed existing methods in most settings. Furthermore, compared with a SOTA GPT-3.5-based code evaluation method, CodeJudge achieved better results even when using a much smaller model, Llama-3-8B-Instruct. Our code and datasets are available on GitHub https://github.com/VichyTong/CodeJudge.
Key facts. Cited by 41 papers in the map (data through 7 Oct 2026). Builds on 20 of its 37 references that are in the map. First posted on arXiv 3 Oct 2024.
Builds on
20 of 37 references.
References · 20
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,205
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2023ChatEval: Towards Better LLM-based Evaluators through Multi-Agent Debatecited by 724
- 2021BARTScore: Evaluating Generated Text as Text Generationcited by 719
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
- 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-Xcited by 294
- 2022Towards a Unified Multi-Dimensional Evaluator for Text Generationcited by 264
8 more
- 2022Grounded Copilot: How Programmers Interact with Code-Generating Modelscited by 216
- 2019SPoC: Search-based Pseudocode to Codecited by 176
- 2018Learning to Mine Aligned Code and Natural Language Pairs from Stack Overflowcited by 165
- 2023CodeBERTScore: Evaluating Code Generation with Pretrained Models of Codecited by 101
- 2023PanGu-Coder2: Boosting Large Language Models for Code with Ranking Feedbackcited by 69
- 2022Out of the BLEU: how should we assess quality of the Code Generation models?cited by 65
- 2023ICE-Score: Instructing Large Language Models to Evaluate Codecited by 50
- 2019Does BLEU Score Work for Code Migration?cited by 49
Built on by
Citing papers per year: 2024: 1; 2025: 27; 2026: 13.
41 papers.
Sort:
By area:
- 2025ResearchCodeBench: Benchmarking LLMs on Implementing Novel Machine Learning Research Codecited by 34
- 2025MCTS-Judge: Test-Time Scaling in LLM-as-a-Judge for Code Correctness Evaluationcited by 32
- 2025CodeJudgeBench: Benchmarking LLM-as-a-Judge for Coding Taskscited by 32
- 2024Code Comprehension then Auditing for Unsupervised LLM Evaluationcited by 31
- 2025KramaBench: A Benchmark for AI Systems on Data-to-Insight Pipelines over Data Lakescited by 30
- 2025LMR-BENCH: Evaluating LLM Agent's Ability on Reproducing Language Modeling Researchcited by 29
- 2025Safety Aware Task Planning via Large Language Models in Roboticscited by 24
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
- 2025Rethinking the Evaluation of Secure Code Generationcited by 10
- 2025How Diversely Can Language Models Solve Problems? Exploring the Algorithmic Diversity of Model-Generated Codecited by 9
- 2025Evaluating Text Creativity across Diverse Domains: A Dataset and Large Language Model Evaluatorcited by 9
- 2026DevBench: A Realistic, Developer-Informed Benchmark for Code Generation Modelscited by 8
29 more
- 2025CodeVisionary: An Agent-based Framework for Evaluating Large Language Models in Code Generationcited by 6
- 2025Flex-Judge: Text-Only Reasoning Unleashes Zero-Shot Multimodal Evaluatorscited by 6
- 2026ISO-Bench: Can Coding Agents Optimize Real-World Inference Workloads?cited by 6
- 2025Human-AI Experience in Integrated Development Environments: A Systematic Literature Reviewcited by 5
- 2025The Debugging Decay Index: Rethinking Debugging Strategies for Code LLMscited by 5
- 2025Uncovering Systematic Failures of LLMs in Verifying Code Against Natural Language Specificationscited by 5
- 2025Turning the Spell Around: Lightweight Alignment Amplification via Rank-One Safety Injectioncited by 5
- 2025Abstain and Validate: A Dual-LLM Policy for Reducing Noise in Agentic Program Repaircited by 5
- 2025Evaluate-and-Purify: Fortifying Code Language Models Against Adversarial Attacks Using LLM-as-a-Judgecited by 4
- 2025Chain-of-Code Collapse: Reasoning Failures in LLMs via Adversarial Prompting in Code Generationcited by 4
- 2026Are LLMs Reliable Code Reviewers? Systematic Overcorrection in Requirement Conformance Judgementcited by 4
- 2026Agentic Code Reasoningcited by 4
- 2025Bridging LLM-Generated Code and Requirements: Reverse Generation technique and SBC Metric for Developer Insightscited by 3
- 2025Human-In-The-Loop Software Development Agents: Challenges and Future Directionscited by 3
- 2025Multicalibration for LLM-based Code Generationcited by 2
- 2026Rethinking Latency Denial-of-Service: Attacking the LLM Serving Framework, Not the Modelcited by 2
- 2026When AI Reviews Its Own Code: Recursive Self-Training Collapse in Code LLMscited by 2
- 2025CODE-DITING: A Reasoning-Based Metric for Functional Alignment in Code Evaluationcited by 1
- 2025Is It Time To Treat Prompts As Code? A Multi-Use Case Study For Prompt Optimization Using DSPycited by 1
- 2026ReasoningLens: Hierarchical Visualization and Diagnostic Auditing for Large Reasoning Modelscited by 1
- 2025FLOW-BENCH: Towards Conversational Generation of Enterprise Workflowscited by 0
- 2025Embedding Alignment in Code Generation for Audiocited by 0
- 2025Learning Bug Context for PyTorch-to-JAX Translation with LLMscited by 0
- 2026Mechanism-Faithful Queueing Simulation Model Translation with Large Language Model Supportcited by 0
- 2026CriterAlign: Criterion-Centric Rationale Alignment for Code Preference Judgingcited by 0
- 2026Code-MUE: Measuring Code LLMs' Uncertainty through Execution-based Semantic Interaction Graphscited by 0
- 2026Agentic coding without the cloud: evaluating open-weight large language models on longitudinal data preparation taskscited by 0
- 2026Interpreting and Steering for Safe and Correct Code Generationcited by 0
- 2026AG-CoT: Verified Algorithmic Traces for LLM Program Synthesis on Clifford Circuitscited by 0
- 2026AG-CoT: Verified Algorithmic Traces for LLM Program Synthesis on Clifford Circuits27 Sep 2026
- 2026Interpreting and Steering for Safe and Correct Code Generation30 Aug 2026
- 2026Agentic coding without the cloud: evaluating open-weight large language models on longitudinal data preparation tasks23 Jul 2026
- 2026Code-MUE: Measuring Code LLMs' Uncertainty through Execution-based Semantic Interaction Graphs14 Jul 2026
- 2026When AI Reviews Its Own Code: Recursive Self-Training Collapse in Code LLMs26 Jun 2026
- 2026ReasoningLens: Hierarchical Visualization and Diagnostic Auditing for Large Reasoning Models22 Jun 2026
- 2026CriterAlign: Criterion-Centric Rationale Alignment for Code Preference Judging19 May 2026
- 2026Agentic Code Reasoning2 Mar 2026
- 2026Are LLMs Reliable Code Reviewers? Systematic Overcorrection in Requirement Conformance Judgement28 Feb 2026
- 2026ISO-Bench: Can Coding Agents Optimize Real-World Inference Workloads?23 Feb 2026
- 2026Rethinking Latency Denial-of-Service: Attacking the LLM Serving Framework, Not the Model8 Feb 2026
- 2026DevBench: A Realistic, Developer-Informed Benchmark for Code Generation Models17 Jan 2026
29 more
- 2026Mechanism-Faithful Queueing Simulation Model Translation with Large Language Model Support10 Jan 2026
- 2025Multicalibration for LLM-based Code Generation9 Dec 2025
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025Learning Bug Context for PyTorch-to-JAX Translation with LLMs10 Oct 2025
- 2025Abstain and Validate: A Dual-LLM Policy for Reducing Noise in Agentic Program Repair3 Oct 2025
- 2025Turning the Spell Around: Lightweight Alignment Amplification via Rank-One Safety Injection28 Aug 2025
- 2025Uncovering Systematic Failures of LLMs in Verifying Code Against Natural Language Specifications17 Aug 2025
- 2025Embedding Alignment in Code Generation for Audio7 Aug 2025
- 2025CodeJudgeBench: Benchmarking LLM-as-a-Judge for Coding Tasks14 Jul 2025
- 2025Is It Time To Treat Prompts As Code? A Multi-Use Case Study For Prompt Optimization Using DSPy4 Jul 2025
- 2025The Debugging Decay Index: Rethinking Debugging Strategies for Code LLMs23 Jun 2025
- 2025LMR-BENCH: Evaluating LLM Agent's Ability on Reproducing Language Modeling Research19 Jun 2025
- 2025Chain-of-Code Collapse: Reasoning Failures in LLMs via Adversarial Prompting in Code Generation8 Jun 2025
- 2025KramaBench: A Benchmark for AI Systems on Data-to-Insight Pipelines over Data Lakes6 Jun 2025
- 2025ResearchCodeBench: Benchmarking LLMs on Implementing Novel Machine Learning Research Code2 Jun 2025
- 2025CODE-DITING: A Reasoning-Based Metric for Functional Alignment in Code Evaluation26 May 2025
- 2025Evaluating Text Creativity across Diverse Domains: A Dataset and Large Language Model Evaluator25 May 2025
- 2025Flex-Judge: Text-Only Reasoning Unleashes Zero-Shot Multimodal Evaluators24 May 2025
- 2025FLOW-BENCH: Towards Conversational Generation of Enterprise Workflows16 May 2025
- 2025Evaluate-and-Purify: Fortifying Code Language Models Against Adversarial Attacks Using LLM-as-a-Judge28 Apr 2025
- 2025Human-In-The-Loop Software Development Agents: Challenges and Future Directions25 Apr 2025
- 2025CodeVisionary: An Agent-based Framework for Evaluating Large Language Models in Code Generation18 Apr 2025
- 2025Safety Aware Task Planning via Large Language Models in Robotics19 Mar 2025
- 2025Rethinking the Evaluation of Secure Code Generation18 Mar 2025
- 2025Human-AI Experience in Integrated Development Environments: A Systematic Literature Review8 Mar 2025
- 2025How Diversely Can Language Models Solve Problems? Exploring the Algorithmic Diversity of Model-Generated Code2 Mar 2025
- 2025MCTS-Judge: Test-Time Scaling in LLM-as-a-Judge for Code Correctness Evaluation18 Feb 2025
- 2025Bridging LLM-Generated Code and Requirements: Reverse Generation technique and SBC Metric for Developer Insights11 Feb 2025
- 2024Code Comprehension then Auditing for Unsupervised LLM Evaluation4 Oct 2024
- 2025LMR-BENCH: Evaluating LLM Agent's Ability on Reproducing Language Modeling Researchcited by 29
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
- 2025CodeVisionary: An Agent-based Framework for Evaluating Large Language Models in Code Generationcited by 6
- 2026ISO-Bench: Can Coding Agents Optimize Real-World Inference Workloads?cited by 6
- 2025Abstain and Validate: A Dual-LLM Policy for Reducing Noise in Agentic Program Repaircited by 5
- 2025Human-In-The-Loop Software Development Agents: Challenges and Future Directionscited by 3
- 2026Agentic coding without the cloud: evaluating open-weight large language models on longitudinal data preparation taskscited by 0
- 2026Agentic coding without the cloud: evaluating open-weight large language models on longitudinal data preparation tasks23 Jul 2026
- 2026ISO-Bench: Can Coding Agents Optimize Real-World Inference Workloads?23 Feb 2026
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025Abstain and Validate: A Dual-LLM Policy for Reducing Noise in Agentic Program Repair3 Oct 2025
- 2025LMR-BENCH: Evaluating LLM Agent's Ability on Reproducing Language Modeling Research19 Jun 2025
- 2025Human-In-The-Loop Software Development Agents: Challenges and Future Directions25 Apr 2025
- 2025CodeVisionary: An Agent-based Framework for Evaluating Large Language Models in Code Generation18 Apr 2025
- 2025MCTS-Judge: Test-Time Scaling in LLM-as-a-Judge for Code Correctness Evaluationcited by 32
- 2025Safety Aware Task Planning via Large Language Models in Roboticscited by 24
- 2025Flex-Judge: Text-Only Reasoning Unleashes Zero-Shot Multimodal Evaluatorscited by 6
- 2025Chain-of-Code Collapse: Reasoning Failures in LLMs via Adversarial Prompting in Code Generationcited by 4
- 2026Agentic Code Reasoningcited by 4
- 2025CODE-DITING: A Reasoning-Based Metric for Functional Alignment in Code Evaluationcited by 1
- 2026ReasoningLens: Hierarchical Visualization and Diagnostic Auditing for Large Reasoning Modelscited by 1
- 2026ReasoningLens: Hierarchical Visualization and Diagnostic Auditing for Large Reasoning Models22 Jun 2026
- 2026Agentic Code Reasoning2 Mar 2026
- 2025Chain-of-Code Collapse: Reasoning Failures in LLMs via Adversarial Prompting in Code Generation8 Jun 2025
- 2025CODE-DITING: A Reasoning-Based Metric for Functional Alignment in Code Evaluation26 May 2025
- 2025Flex-Judge: Text-Only Reasoning Unleashes Zero-Shot Multimodal Evaluators24 May 2025
- 2025Safety Aware Task Planning via Large Language Models in Robotics19 Mar 2025
- 2025MCTS-Judge: Test-Time Scaling in LLM-as-a-Judge for Code Correctness Evaluation18 Feb 2025
- 2025ResearchCodeBench: Benchmarking LLMs on Implementing Novel Machine Learning Research Codecited by 34
- 2025CodeJudgeBench: Benchmarking LLM-as-a-Judge for Coding Taskscited by 32
- 2024Code Comprehension then Auditing for Unsupervised LLM Evaluationcited by 31
- 2025KramaBench: A Benchmark for AI Systems on Data-to-Insight Pipelines over Data Lakescited by 30
- 2025Rethinking the Evaluation of Secure Code Generationcited by 10
- 2025How Diversely Can Language Models Solve Problems? Exploring the Algorithmic Diversity of Model-Generated Codecited by 9
- 2025Evaluating Text Creativity across Diverse Domains: A Dataset and Large Language Model Evaluatorcited by 9
- 2026DevBench: A Realistic, Developer-Informed Benchmark for Code Generation Modelscited by 8
- 2025Human-AI Experience in Integrated Development Environments: A Systematic Literature Reviewcited by 5
- 2025The Debugging Decay Index: Rethinking Debugging Strategies for Code LLMscited by 5
- 2025Uncovering Systematic Failures of LLMs in Verifying Code Against Natural Language Specificationscited by 5
- 2025Evaluate-and-Purify: Fortifying Code Language Models Against Adversarial Attacks Using LLM-as-a-Judgecited by 4
12 most cited of 22 All 22 (JSON)
- 2026AG-CoT: Verified Algorithmic Traces for LLM Program Synthesis on Clifford Circuits27 Sep 2026
- 2026Interpreting and Steering for Safe and Correct Code Generation30 Aug 2026
- 2026Code-MUE: Measuring Code LLMs' Uncertainty through Execution-based Semantic Interaction Graphs14 Jul 2026
- 2026Are LLMs Reliable Code Reviewers? Systematic Overcorrection in Requirement Conformance Judgement28 Feb 2026
- 2026DevBench: A Realistic, Developer-Informed Benchmark for Code Generation Models17 Jan 2026
- 2026Mechanism-Faithful Queueing Simulation Model Translation with Large Language Model Support10 Jan 2026
- 2025Multicalibration for LLM-based Code Generation9 Dec 2025
- 2025Learning Bug Context for PyTorch-to-JAX Translation with LLMs10 Oct 2025
- 2025Uncovering Systematic Failures of LLMs in Verifying Code Against Natural Language Specifications17 Aug 2025
- 2025Embedding Alignment in Code Generation for Audio7 Aug 2025
- 2025CodeJudgeBench: Benchmarking LLM-as-a-Judge for Coding Tasks14 Jul 2025
- 2025The Debugging Decay Index: Rethinking Debugging Strategies for Code LLMs23 Jun 2025
12 newest of 22 All 22 (JSON)