MutaGReP: Execution-Free Repository-Grounded Plan Search for Code-Use
Not on the map. Why?
Abstract (arXiv)
When a human requests an LLM to complete a coding task using functionality from a large code repository, how do we provide context from the repo to the LLM? One approach is to add the entire repo to the LLM's context window. However, most tasks involve only fraction of symbols from a repo, longer contexts are detrimental to the LLM's reasoning abilities, and context windows are not unlimited. Alternatively, we could emulate the human ability to navigate a large repo, pick out the right functionality, and form a plan to solve the task. We propose MutaGReP (Mutation-guided Grounded Repository Plan Search), an approach to search for plans that decompose a user request into natural language steps grounded in the codebase. MutaGReP performs neural tree search in plan space, exploring by mutating plans and using a symbol retriever for grounding. On the challenging LongCodeArena benchmark, our plans use less than 5% of the 128K context window for GPT-4o but rival the coding performance of GPT-4o with a context window filled with the repo. Plans produced by MutaGReP allow Qwen 2.5 Coder 32B and 72B to match the performance of GPT-4o with full repo context and enable progress on the hardest LongCodeArena tasks. Project page: zaidkhan.me/MutaGReP
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 15 of its 22 references that are in the map. First posted on arXiv 21 Feb 2025.
Builds on
15 of 22 references.
References · 15
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
- 2022Competition-Level Code Generation with AlphaCodecited by 1,462
- 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 991
- 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMscited by 591
- 2024Executable Code Actions Elicit Better LLM Agentscited by 564
- 2022Mind the Gap: Understanding the Modality Gap in Multi-modal Contrastive Representation Learningcited by 561
- 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 421
- 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 215
- 2024Planning In Natural Language Improves LLM Search For Code Generationcited by 83
- 2025CodeMonkeys: Scaling Test-Time Compute for Software Engineeringcited by 51
- 2024Long Code Arena: a Set of Benchmarks for Long-Context Code Modelscited by 50
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Repository-level Code Search with Neural Retrieval Methods
- 2026FastContext: Training Efficient Repository Explorer for Coding Agents
- 2026Adaptive Critical Token-Aware Retrieval for Repository-Level Code Generation
- 2026CodeNib: A Multi-View Data System for Serving Repository Context to Coding Agents
- 2026AlignCoder: Aligning Retrieval with Target Intent for Repository-Level Code Completion
- 2026SWE-Explore: Benchmarking How Coding Agents Explore Repositories
- 2025RepoScope: Leveraging Call Chain-Aware Multi-View Context for Repository-Level Code Generation
- 2026RepoNav: From Snippet Retrieval to File-Centered Repository Navigation for Code Agents