scimeatlas

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

LLMs are Brittle to Simple Code Transformations: Introducing CETBench – A Benchmark for Code-Equivalence Checking

Neeva Oza, Ishaan Govil, Parul Gupta, Dinesh Khandelwal, Dinesh Garg, Parag Singla

ACL 2026Large language models › Agents, code and mathapproach: Execution-based code verificationopen problems in this approach4 citations (OpenAlex)

Indian Institute of Technology Delhi · IBM

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

13measured effects
4improved
1no clear effect
8hurt

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 · CETBench perturbed · average accuracy: 56.6 -> 62.1 Improved

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
apply random code perturbations to the pairQwen2.5-Coder-7B-Instruct · CETBenchaverage accuracy: 80.6 -> 69.2Hurt
apply random code perturbations to the pairMistral-7B-Instruct-v0.3 · CETBenchaverage accuracy: 76.3 -> 56.6Hurt
apply random code perturbations to the pairDeepseek-coder-6.7b-instruct · CETBenchaverage accuracy: 50.6 -> 23.6Hurt
apply random code perturbations to the pairGPT-4o · CETBenchaverage accuracy: 84.9 -> 86.4No clear effect
apply perturbations to identical code pairs (id, semantic-non-preserving)Qwen2.5-Coder-7B-Instruct · CETBench id/npaccuracy: 100.0 -> 30.5Hurt
add chain-of-thought prompting (ablation)Mistral-7B-Instruct-v0.3 · CETBench perturbedaverage accuracy: 56.6 -> 62.1Improved
add chain-of-thought prompting (ablation)Deepseek-coder-6.7b-instruct · CETBench perturbedaverage accuracy: 23.6 -> 56.3Improved
add chain-of-thought prompting (ablation)GPT-4o · CETBench perturbedaverage accuracy: 86.4 -> 78.3Hurt
exclude variable-renaming perturbation from the test set (ablation)GPT-4o · CETBench perturbedaverage accuracy: 86.4 -> 84.7Hurt
fine-tune on 50:50 clean and perturbed pairsQwen2.5-Coder-7B-Instruct · CETBench perturbedaverage accuracy: 69.2 -> 84.2Improved
fine-tune on 50:50 clean and perturbed pairsDeepseek-coder-6.7b-instruct · CETBench perturbedaverage accuracy: 23.6 -> 84.8Improved
compare cross-lingual Java-Python pairs with monolingualQwen2.5-Coder-7B-Instruct · unperturbed pairsaverage accuracy: 80.6 -> 73.7Hurt

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