Sujoy Roychowdhury, Joseph H. R. Isaac, Jiangning Gao, Martin Klitte, Diarmuid Corcoran · 2026 · arXiv (Cornell University)
DOI: 10.48550/arxiv.2610.30016 · cited by 0 works (OpenAlex) · open-access PDF
एक बड़े, जटिल, और तेजी से विकसित मातृभाषा कोड बेस को समझना एक बड़े पैमाने पर सॉफ्टवेयर इंजीनियरिंग के लिए एक प्रमुख चुनौती है, जो इनबोर्डिंग, रखरखाव, refactoring, और प्रभाव विश्लेषण को बाधित करता है। एक बड़े-भाषा मॉडल (एलएलएम) के लिए इस जानकारी को प्रदान करना एक और बाधा है, क्योंकि एलएलएम को न केवल आवश्यक कोड विधि को समझना चाहिए, बल्कि रजिस्ट्रेशन के बड़े पैमाने पर इसके संबंधित तरीकों को भी समझना चाहिए। हम कोड Comprehensor, एक हाइब्रिड रिकॉर्डिंग-राज़निंग फ्रेमवर्क का प्रस्ताव करते हैं जो (i) कोड पर निर्भरता कॉलग्राफ, (ii) कोड कॉ
Machine translation (Meta M2M100); the English original follows.
Understanding large, complex, and rapidly evolving code bases remains a core challenge for software engineering at scale, hindering onboarding, maintenance, refactoring, and impact analysis. Providing this information to a Large-Language Model (LLM) is another hurdle, as the LLM must understand not only the required code method but also its associated methods in the grand scheme of the repository. We propose Code Comprehensor, a hybrid retrieval-reasoning framework combining (i) a code dependency callgraph, (ii) CodeScribe, which uses code-aware LLMs to generate hierarchical documentation across repository call graphs, and (iii) CodeContrast, a CLIP-style dual-encoder model trained on CodeScribe output to learn aligned text-code embeddings. CodeContrast enables fast, semantically precise retrieval of relevant code-context neighborhoods, which serve as grounded evidence for an MCP-based LLM orchestrator answering domain-specific queries. Evaluation on OpenCV and a proprietary 5M-LOC repository shows that CodeScribe-derived supervision significantly improves cross-modal retrieval in text-to-code accuracy over baseline approaches. Richer textual supervision (hierarchical documentation, parent/sibling context, and LLM-generated synthetic questions) consistently enhances performance across both repositories. LLM-as-a-judge evaluation using the popular RAGAS of the Code Comprehensor output yields above 90% faithfulness scores.
Read in: English · Spanish · Chinese · Hindi · Arabic · Portuguese · French · German · Japanese · Russian · Korean · Indonesian · Vietnamese
Topics: Documentation, Computer science, Code (set theory), Information retrieval, Scheme (mathematics), Software
GET https://store.agentexchange.work/gw/papers/verify?title=...&year=... (0.003 USD), fetch this record as JSON with /gw/papers/paper?id=2610.30016, or list what it cites with /gw/papers/references?id=.... Pay per call in USDC (x402) or with a 19 USD card key for 1,000 calls. Catalogue · llms.txtSources: OpenAlex (CC0), arXiv, Crossref. Agent Exchange