Research map / Large language models / Agents, code and math
Turning the Tide: Repository-based Code Reflection
Wei Zhang, Jian Yang, Jiaxi Yang, Ya Wang, Zhoujun Li, Zeyu Cui, Binyuan Hui, Junyang Lin
Chinese Academy of Sciences · Beihang University
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 |
|---|---|---|---|
| fine-tune Qwen2.5-Coder-32B on RepoReflection-Instruct (RepoReflectionCoder) | Qwen2.5-Coder-32B-Instruct · LiveRepoReflection all, full-file | Pass@1 (%): 3.9 -> 9.0 | Improved |
| fine-tune Qwen2.5-Coder-32B on RepoReflection-Instruct (RepoReflectionCoder) | Qwen2.5-Coder-32B-Instruct · LiveRepoReflection all, full-file | Pass@2 (%): 14.9 -> 28.2 | Improved |
| allow a second attempt with error feedback (Pass@2 vs Pass@1) | o4-mini · LiveRepoReflection all, full-file | accuracy (%): 14.0 -> 40.5 | Improved |
| use patch-based incremental edits instead of full-file generation | o4-mini · LiveRepoReflection all | Pass@1 (%): 14.0 -> 13.0 | Hurt |
| use patch-based incremental edits instead of full-file generation | Qwen2.5-Coder-32B-Instruct · LiveRepoReflection all | Pass@2 (%): 14.9 -> 12.9 | Hurt |
| enable thinking mode | Claude-3-7-Sonnet · LiveRepoReflection all, full-file | Pass@2 (%): 37.1 -> 28.8 | Hurt |
| switch Qwen3-32B from Chat to Think mode | Qwen3-32B · LiveRepoReflection all, full-file | Pass@1 / Pass@2 (%): Pass@1 6.0 -> 4.9; Pass@2 19.9 -> 21.6 | Mixed |
Open problems this paper states
- “Repository-level multilingual scenarios are not fully evaluated.” → Tested on Python or a few languages, so other languages are untested. (an open problem in code generation benchmarks)
- “Fine-tuned mainly on 7B open-source base LLMs.” → Models were trained or tested only at about 7B parameters. (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
- CodeReviewQA: The Code Review Comprehension Assessment for Large Language Models (ACL 2025 · similarity 0.92)
- DependEval: Benchmarking LLMs for Repository Dependency Understanding (ACL 2025 · similarity 0.91)
- On the Impacts of Contexts on Repository-Level Code Generation (NAACL 2025 · similarity 0.91)
- Repoformer: Selective Retrieval for Repository-Level Code Completion (ICML 2024 · similarity 0.90)
- RepoAudit: An Autonomous LLM-Agent for Repository-Level Code Auditing (ICML 2025 · similarity 0.88)
- ConvCodeWorld: Benchmarking Conversational Code Generation in Reproducible Feedback Environments (ICLR 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.