Research map / Large language models / Agents, code and math
Can Language Models Replace Programmers for Coding? REPOCOD Says `Not Yet'
Shanchao Liang, Nan Jiang, Yiran Hu, Lin Tan
Purdue University
Read the paperPlace an idea next to itCheck your own paper ↗
11measured effects
5improved
2no clear effect
4hurt
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 |
|---|---|---|---|
| Evaluate ten LLMs on RepoCod | GPT-4o (best model) · RepoCod | pass@1: 27.4 best under realistic retrieval; 28.6 with RAG-Dense-oracle | Hurt |
| Add retrieved or file context versus no context (ablation) | GPT-4o · RepoCod | pass@1: 11.3 -> 27.3 (RAG-BM25) | Improved |
| Use oracle retrieval (canonical solution as query) instead of RAG-Dense (ablation) | GPT-4o · RepoCod | pass@1: 27.0 -> 28.6 | No clear effect |
| Provide callees (target dependencies) instead of RAG-Dense context (ablation) | GPT-4o · RepoCod | pass@1: 27.0 -> 22.8 | Hurt |
| Higher retrieval recall (0.5-1) of target function dependencies (ablation) | GPT-4o with RAG-BM25 · RepoCod | pass@1: 20.3 -> 41.1 | Improved |
| Low recall (0, 0.5] versus zero recall (ablation) | GPT-4o with RAG-BM25 · RepoCod | pass@1: 20.3 -> 16.4 | No clear effect |
| Use current-file context instead of RAG for commercial models (ablation) | DeepSeek-V2.5 · RepoCod | pass@1: 20.7 -> 27.0 | Improved |
| Use current-file instead of RAG for open-source CodeLlama and DeepSeekCoder (ablation) | CodeLlama-7B · RepoCod | pass@1: 10.7 -> 5.7 | Hurt |
| Larger model within same family (ablation) | CodeLlama / DeepSeekCoder · RepoCod | pass@1: DeepSeekCoder 14.1 -> 17.1 (Dense) | Improved |
| Increase task context complexity (to repository-level) (ablation) | GPT-4o · RepoCod | pass@1: Self-contained 44.6 vs Repo-level 12.9 (Dense) | Hurt |
| Optimized test collection (only relevant tests) | RepoCod evaluation · execution time | hours: 216.9 -> 22.6 hours | Improved |
Open problems this paper states
- “Data comes from only 11 repositories, a small subset of possible Python repositories.” → Benchmarks are small, with a few dozen to a few hundred problems. (an open problem in code generation benchmarks)
Open problems in code generation benchmarks
Do code benchmarks and methods hold beyond Python, small test sets and leaked data?
- Tested on Python or a few languages, so other languages are untested. · 25 papers state it
- Benchmarks are small, with a few dozen to a few hundred problems. · 14 papers state it
- Iterative or multi-step methods cost more tokens, latency and compute. · 12 papers state it
Closest papers by meaning
- SWE-bench: Can Language Models Resolve Real-world Github Issues? (ICLR 2024 · similarity 0.88)
- RepoBench: Benchmarking Repository-Level Code Auto-Completion Systems (ICLR 2024 · similarity 0.88)
- LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code (ICLR 2025 · similarity 0.88)
- Mercury: A Code Efficiency Benchmark for Code Large Language Models (NeurIPS 2024 · similarity 0.87)
- EvoCodeBench: An Evolving Code Generation Benchmark with Domain-Specific Evaluations (NeurIPS 2024 · similarity 0.87)
- Repoformer: Selective Retrieval for Repository-Level Code Completion (ICML 2024 · similarity 0.87)
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.