scimeatlas

Research map / Large language models / Agents, code and math

CodeJudge: Evaluating Code Generation with Large Language Models

EMNLP 2024Large language models › Agents, code and mathapproach: Execution-based code verificationopen problems in this approach172 citations (OpenAlex)

Huazhong University of Science and Technology · Purdue University

Read the paperPlace an idea next to itCheck your own paper ↗

11measured effects
6improved
5hurt

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

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 changedWhereMeasuredEffect
provide reference code to the evaluator (ablation)CodeJudge (GPT-3.5) · CoNaLaKendall tau: 0.538 -> 0.457Hurt
provide reference code to the evaluator (ablation)CodeJudge (GPT-3.5) · HumanEval-XKendall tau: 0.502 -> 0.612Improved
provide reference code to the evaluator (ablation)CodeJudge (GPT-3.5) · APPSKendall tau: 0.153 -> 0.354Improved
provide reference code to the evaluator (ablation)CodeJudge (GPT-3.5) · BigCodeBenchaccuracy (%): 54.56 -> 74.56Improved
use CodeJudge analyze-then-summarize instead of a vanilla binary-correctness promptGPT-3.5-Turbo-1106 evaluator · APPSKendall tau: 0.103 -> 0.354Improved
use CodeJudge instead of ICE-ScoreGPT-3.5-Turbo-1106 evaluator · HumanEval-Xaccuracy (%): 70.91 -> 80.56Improved
replace GPT-3.5 with Llama-3-70B-Instruct as evaluatorCodeJudge · HumanEval-XKendall tau: 0.612 -> 0.681Improved
add chain-of-thought prompting (ablation)CodeJudge · HumanEval-X (avg of 5 languages)accuracy (%): 81.63 -> 78.60Hurt
add few-shot examples (ablation)CodeJudge · HumanEval-X (avg of 5 languages)accuracy (%): 81.63 -> 77.84Hurt
add CoT and few-shot (ablation)CodeJudge · HumanEval-X (avg of 5 languages)accuracy (%): 81.63 -> 77.27Hurt
evaluate on harder benchmarks (APPS, BigCodeBench) vs HumanEval-Xall evaluation methods · APPS / BigCodeBenchKendall tau: 0.612 -> 0.354 (APPS) for CodeJudgeHurt

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.

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?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy