Beyond "What to Retrieve": Uncertainty in Retrieval-Augmented Code Generation
27 Jul · Chandan Kumar Sah, Li Zhang, Xiaoli Lian · arXiv:2607.24884
Repository-level code generation relies on heterogeneous evidence whose relevance, compatibility, and completeness are inherently uncertain. Similar-code examples, repository context, and project-specific APIs may provide complementary information, but can also introduce noisy, redundant, or conflicting signals. Existing retrieval-augmented approaches primarily optimize retrieval relevance without explicitly…