paper-with-me

Papers

CodexGraph: Bridging Large Language Models and Code Repositories via Code Graph Databases

2024-08-07 · Xiangyan Liu, Bo Lan, Zhiyuan Hu, Yang Liu, Zhicheng Zhang, Fei Wang, Michael Shieh, Wenmeng Zhou

Large Language Models (LLMs) excel in stand-alone code tasks like HumanEval and MBPP, but struggle with handling entire code repositories. This challenge has prompted research on enhancing LLM-codebase interaction at a repository scale. Current solutions rely on similarity-based retrieval or manual tools and APIs, each with notable drawbacks. Similarity-based retrieval often has low recall in complex tasks, while manual tools and APIs are typically task-specific and require expert knowledge, reducing their generalizability across diverse code tasks and real-world applications. To mitigate these limitations, we introduce CodexGraph, a system that integrates LLM agents with graph database interfaces extracted from code repositories. By leveraging the structural properties of graph databases and the flexibility of the graph query language, CodexGraph enables the LLM agent to construct and execute queries, allowing for precise, code structure-aware context retrieval and code navigation. We assess CodexGraph using three benchmarks: CrossCodeEval, SWE-bench, and EvoCodeBench. Additionally, we develop five real-world coding applications. With a unified graph database schema, CodexGraph demonstrates competitive performance and potential in both academic and real-world environments, showcasing its versatility and efficacy in software engineering. Our application demo: https://github.com/modelscope/modelscope-agent/tree/master/apps/codexgraph_agent.

📄 PDF Abstract BibTeX arXiv:2408.03910

Code (1)

modelscope/modelscope-agent 공식 구현

Tasks

HumanEvalmbppRetrieval

Similar Papers 제목 키워드 기반

YABLoCo: Yet Another Benchmark for Long Context Code Generation

2025-05-07 · Aidar Valeev, Roman Garaev, Vadim Lomshakov, Irina Piontkovskaya 외

Large Language Models demonstrate the ability to solve various programming tasks, including code generation. Typically, the performance of LLMs is measured on benchmarks with small or medium-sized context windows of thou…

Code Generation

DevEval: A Manually-Annotated Code Generation Benchmark Aligned with Real-World Code Repositories

2024-05-30 · Jia Li, Ge Li, YunFei Zhao, Yongmin Li 외

How to evaluate the coding abilities of Large Language Models (LLMs) remains an open question. We find that existing benchmarks are poorly aligned with real-world code repositories and are insufficient to evaluate the co…

Code Generation

CLD²: Language Documentation Meets Natural Language Processing for Revitalising Endangered Languages

2021-11-16 · ACL ARR November 2021 11 · Anonymous

Language revitalisation should not be understood as a direct outcome of language documentation, which is mainly focused on the creation of language repositories. Natural language processing (NLP) offers the potential to …

CLD² Language Documentation Meets Natural Language Processing for Revitalising Endangered Languages

2022-05-01 · ComputEL (ACL) 2022 5 · Roberto Zariquiey, Arturo Oncevay, Javier Vera

Language revitalisation should not be understood as a direct outcome of language documentation, which is mainly focused on the creation of language repositories. Natural language processing (NLP) offers the potential to …

EvoCodeBench: An Evolving Code Generation Benchmark Aligned with Real-World Code Repositories

2024-03-31 · Jia Li, Ge Li, Xuanming Zhang, Yihong Dong 외

How to evaluate Large Language Models (LLMs) in code generation is an open question. Existing benchmarks demonstrate poor alignment with real-world code repositories and are insufficient to evaluate the coding abilities …

Code Generation