|国家预印本平台
首页|Prometheus: Unified Knowledge Graphs for Issue Resolution in Multilingual Codebases

Prometheus: Unified Knowledge Graphs for Issue Resolution in Multilingual Codebases

Prometheus: Unified Knowledge Graphs for Issue Resolution in Multilingual Codebases

来源:Arxiv_logoArxiv
英文摘要

Language model (LM) agents, such as SWE-agent and OpenHands, have made progress toward automated issue resolution. However, existing approaches are often limited to Python-only issues and rely on pre-constructed containers in SWE-bench with reproduced issues, restricting their applicability to real-world and work for multi-language repositories. We present Prometheus, designed to resolve real-world issues beyond benchmark settings. Prometheus is a multi-agent system that transforms an entire code repository into a unified knowledge graph to guide context retrieval for issue resolution. Prometheus encodes files, abstract syntax trees, and natural language text into a graph of typed nodes and five general edge types to support multiple programming languages. Prometheus uses Neo4j for graph persistence, enabling scalable and structured reasoning over large codebases. Integrated by the DeepSeek-V3 model, Prometheus resolves 28.67% and 13.7% of issues on SWE-bench Lite and SWE-bench Multilingual, respectively, with an average API cost of $0.23 and $0.38 per issue. Prometheus resolves 10 unique issues not addressed by prior work and is the first to demonstrate effectiveness across seven programming languages. Moreover, it shows the ability to resolve real-world GitHub issues in the LangChain and OpenHands repositories. We have open-sourced Prometheus at: https://github.com/Pantheon-temple/Prometheus

He Ye、Zimin Chen、Yue Pan、Siyu Lu、Jiayi Xu、Claire Le Goues、Martin Monperrus

计算技术、计算机技术

He Ye,Zimin Chen,Yue Pan,Siyu Lu,Jiayi Xu,Claire Le Goues,Martin Monperrus.Prometheus: Unified Knowledge Graphs for Issue Resolution in Multilingual Codebases[EB/OL].(2025-07-26)[2025-08-10].https://arxiv.org/abs/2507.19942.点此复制

评论