scimeatlas

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

On the Impacts of Contexts on Repository-Level Code Generation

Nam Le Hai, Dung Manh Nguyen, Nghi D. Q. Bui

NAACL 2025Large language models › Agents, code and mathapproach: Code generation benchmarksopen problems in this approach53 citations (OpenAlex)

Hanoi University of Science and Technology · FPT Software AI Center

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

12measured effects
9improved
1no clear effect
2hurt

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 changedWhereMeasuredEffect
use full dependency context instead of medium or small context (ablation)pretrained and instruction-tuned code LLMs · RepoExecpass@1: CodeLlama-13b-Python 38.65 (full) vs 35.66 (small) vs 32.96 (medium)Improved
use small context instead of medium context (BasePrompt) (ablation)CodeLlama-13b-Python · RepoExecpass@1: 32.96 -> 35.66Improved
add multi-round debugging with error logs (3 rounds)GPT-3.5 · RepoExecpass@1: 27.04 -> 41.97Improved
add multi-round debugging with error logs (3 rounds)WizardCoder · RepoExecpass@1: 34.37 -> 42.54Improved
add multi-round debugging with error logs (3 rounds)CodeLlama-13b-Python · RepoExecpass@1: 39.44 -> 39.44No clear effect
instruction-tune on dependency dataset (DepIT)StarCoder · RepoExec (full context)DIR: 58.67 -> 69.80Improved
instruction-tune on dependency dataset (DepIT)CodeLlama-13b-Python · RepoExec (full context)pass@1: 38.65 -> 38.85Improved
instruction-tune on dependency dataset (DepIT)phi-2 · RepoExec (small context)DIR: 44.54 -> 70.30Improved
use pretrained model instead of instruction-tuned model (BasePrompt) (ablation)code LLMs of similar size · RepoExecpass@k: e.g. CodeLlama-13b-Python 38.65 vs CodeLlama-13b-Instruct 28.56 pass@1Improved
use InstructPrompt instead of BasePrompt (ablation)GPT-3.5 · RepoExec (full context)DIR: 63.59 -> 40.55Hurt
add coverage enhancement to test generation (ablation)RepoExec tests · RepoExecline coverage: 92.46 -> 96.25Improved
add coverage enhancement to test generation (ablation)code LLMs · RepoExecpass@1: drop of over 5%Hurt

Open problems in code generation benchmarks

Do code benchmarks and methods hold beyond Python, small test sets and leaked data?

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