Research map / Large language models / Agents, code and math
CodeJudge: Evaluating Code Generation with Large Language Models
Huazhong University of Science and Technology · Purdue University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
This paper tried a common change: Chain-of-thought prompting
add chain-of-thought prompting · HumanEval-X (avg of 5 languages) · accuracy (%): 81.63 -> 78.60 Hurt
What 2,675 accepted papers report for this change
- 1,683 improved
- 270 no clear effect
- 109 mixed
- 613 hurt
- AudioChat: Unified Audio Storytelling, Editing, and Understanding with Transfusion Forcing ICML 2026 · add structured chain-of-thought reasoning to the diffusion LLM · StoryGen-Eval editing · delta multiFLAM: 27.8 -> 11.7Improved
- Vision Language Models Cannot Reason About Physical Transformation ICML 2026 · add CoT prompt instead of Direct prompt · Number & Length · accuracy: F(3, 333) = 18.28Hurt
- VideoSEG-O3: A Multi-turn Reinforcement Learning Framework for Reasoning Video Object Segmentation ICML 2026 · Add CoT cold-start stage on top of SFT · Long-RVOS · J&F: 47.12 -> 51.82Improved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| provide reference code to the evaluator (ablation) | CodeJudge (GPT-3.5) · CoNaLa | Kendall tau: 0.538 -> 0.457 | Hurt |
| provide reference code to the evaluator (ablation) | CodeJudge (GPT-3.5) · HumanEval-X | Kendall tau: 0.502 -> 0.612 | Improved |
| provide reference code to the evaluator (ablation) | CodeJudge (GPT-3.5) · APPS | Kendall tau: 0.153 -> 0.354 | Improved |
| provide reference code to the evaluator (ablation) | CodeJudge (GPT-3.5) · BigCodeBench | accuracy (%): 54.56 -> 74.56 | Improved |
| use CodeJudge analyze-then-summarize instead of a vanilla binary-correctness prompt | GPT-3.5-Turbo-1106 evaluator · APPS | Kendall tau: 0.103 -> 0.354 | Improved |
| use CodeJudge instead of ICE-Score | GPT-3.5-Turbo-1106 evaluator · HumanEval-X | accuracy (%): 70.91 -> 80.56 | Improved |
| replace GPT-3.5 with Llama-3-70B-Instruct as evaluator | CodeJudge · HumanEval-X | Kendall tau: 0.612 -> 0.681 | Improved |
| add chain-of-thought prompting (ablation) | CodeJudge · HumanEval-X (avg of 5 languages) | accuracy (%): 81.63 -> 78.60 | Hurt |
| add few-shot examples (ablation) | CodeJudge · HumanEval-X (avg of 5 languages) | accuracy (%): 81.63 -> 77.84 | Hurt |
| add CoT and few-shot (ablation) | CodeJudge · HumanEval-X (avg of 5 languages) | accuracy (%): 81.63 -> 77.27 | Hurt |
| evaluate on harder benchmarks (APPS, BigCodeBench) vs HumanEval-X | all evaluation methods · APPS / BigCodeBench | Kendall tau: 0.612 -> 0.354 (APPS) for CodeJudge | Hurt |
Later papers that compared with this method
1 later accepted paper reports CodeJudge as a baseline in their results tables; 1 of them report a better number on most of the results they share with it.
- Nested-Refinement Metamorphosis: Reflective Evolution for Efficient Optimization of Networking Problems (ACL 2025 · better on 1 of 1 shared result)
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in execution-based code verification
Can execution-based code verification be trusted beyond Python, small benchmarks and the tests it relies on?
- Evaluated on Python or one other language only. · 17 papers state it
- Only a few models were tested, and larger ones were left out. · 16 papers state it
- Passing the tests does not show the code is correct. · 15 papers state it
Closest papers by meaning
- How efficient is LLM-generated code? A rigorous & high-standard benchmark (ICLR 2025 · similarity 0.92)
- EvoCodeBench: An Evolving Code Generation Benchmark with Domain-Specific Evaluations (NeurIPS 2024 · similarity 0.90)
- Can LLM Replace Stack Overflow? A Study on Robustness and Reliability of Large Language Model Code Generation (AAAI 2024 · similarity 0.90)
- LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code (ICLR 2025 · similarity 0.90)
- Unsupervised Evaluation of Code LLMs with Round-Trip Correctness (ICML 2024 · similarity 0.90)
- CodeMMLU: A Multi-Task Benchmark for Assessing Code Understanding & Reasoning Capabilities of CodeLLMs (ICLR 2025 · similarity 0.90)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.