Effective and Efficient Context Retrieval via Partial Dependency Graph for Repository-Level Code Generation
3 Aug · Zhongxin Liu, Zhonghao Jiang, Zhifan Ye +3 · arXiv:2608.01927
LLM-based repository-level code generation aims to generate code using the context available in a software repository, requiring LLMs to reason over complex code dependencies. Due to limited context windows and insufficient repository-specific understanding, LLMs typically rely on retrieval-augmented generation (RAG) to incorporate relevant code. Early RAG approaches primarily employ similarity-based retrieval,…