Research map / Large language models / Agents, code and math
CODEMENV: Benchmarking Large Language Models on Code Migration
Keyuan Cheng, Xudong Shen, Yihao Yang, Tengyue Wang, Yang Cao, Muhammad Asif Ali, Hanbin Wang, Lijie Hu, Di Wang
South China University of Technology · Peking University · Provable Responsible AI and Data Analytics (PRADA) Lab · King Abdullah University of Science and Technology
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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| switch migration direction from Old2New to New2Old (ablation) | GPT-4o · CodeMEnv Task 3 Python (easy) | pass@1: 43.84 -> 31.60 | Hurt |
| switch migration direction from Old2New to New2Old (ablation) | GPT-4o · CodeMEnv Task 3 Python (hard) | pass@1: 26.83 -> 22.94 | Hurt |
| make the task hard (multiple incompatible functions) instead of easy (ablation) | general LLMs · CodeMEnv Task 1 locating | accuracy: Qwen2.5-Coder-7B: 15.71 on Python (hard) | Hurt |
| ask for change details (Task 2) instead of locating functions (Task 1) (ablation) | six general LLMs · CodeMEnv | accuracy: 59.76 -> 33.96 (averages) | Hurt |
| allow five attempts instead of one (ablation) | LLMs, Old2New · CodeMEnv Task 3 Python (easy) | pass: 33.56 -> 45.5 (average pass@1 -> pass@5) | Improved |
| allow five attempts instead of one (ablation) | LLMs, New2Old · CodeMEnv Task 3 Python (hard) | pass: 12.77 -> 17.30 (average pass@1 -> pass@5) | No clear effect |
| use GPT-Turbo-3.5 for migration despite top Task-1 score | GPT-Turbo-3.5 · CodeMEnv Task 3 Old2New hard | pass@1: 7.32 | Hurt |
| use code-specialized models instead of general ones on Old2New easy | Code Llama-34B vs GPT-4o · CodeMEnv Task 3 Python (easy) | pass@1: 43.84 -> 35.62 | Hurt |
Open problems this paper states
- “Covers only two programming languages, Python and Java.” → Tested on Python or a few languages, so other languages are untested. (an open problem in software engineering agents)
- “Benchmark is relatively small, especially the Java dataset, and Java makes rigorous unit tests hard to establish.” → Benchmarks are small, with only 100 to a few hundred tasks. (an open problem in software engineering agents)
Open problems in software engineering agents
Do coding-agent results hold beyond Python, small benchmarks and LLM judges?
- Tested on Python or a few languages, so other languages are untested. · 20 papers state it
- Benchmarks are small, with only 100 to a few hundred tasks. · 14 papers state it
- Scores depend on an LLM judge that may not match human judgment. · 11 papers state it
Closest papers by meaning
- Multi-LCB: Extending LiveCodeBench to Multiple Programming Languages (ICLR 2026 · similarity 0.90)
- LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code (ICLR 2025 · similarity 0.89)
- CodeSync: Synchronizing Large Language Models with Dynamic Code Evolution at Scale (ICML 2025 · similarity 0.89)
- Mercury: A Code Efficiency Benchmark for Code Large Language Models (NeurIPS 2024 · similarity 0.88)
- SWE-bench: Can Language Models Resolve Real-world Github Issues? (ICLR 2024 · similarity 0.88)
- EffiBench-X: A Multi-Language Benchmark for Measuring Efficiency of LLM-Generated Code (NeurIPS 2025 · similarity 0.88)
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.