paper-with-me

홈 › Papers

SWE-Fixer: Training Open-Source LLMs for Effective and Efficient GitHub Issue Resolution

2025-01-09 · Chengxing Xie, Bowen Li, Chang Gao, He Du, Wai Lam, Difan Zou, Kai Chen

Large Language Models (LLMs) have demonstrated remarkable proficiency across a variety of complex tasks. One significant application of LLMs is in tackling software engineering challenges, particularly in resolving real-world tasks on GitHub by fixing code based on the issues reported by the users. However, many current approaches rely on proprietary LLMs, which limits reproducibility, accessibility, and transparency. The critical components of LLMs for addressing software engineering issues and how their capabilities can be effectively enhanced remain unclear. To address these challenges, we introduce SWE-Fixer, a novel open-source framework designed to effectively and efficiently resolve GitHub issues. SWE-Fixer comprises two essential modules: a code file retrieval module and a code editing module. The retrieval module employs BM25 along with a lightweight model to achieve coarse-to-fine file retrieval. Subsequently, the code editing module utilizes the other model to generate patches for the identified files. To mitigate the lack of publicly available datasets, we compile an extensive dataset that includes 110K GitHub issues along with their corresponding patches and train the two models of SWE-Fixer separately. We assess our approach on the SWE-Bench Lite and Verified benchmarks, achieving competitive performance among open-source models with scores of 22.0% and 30.2%. Furthermore, SWE-Fixer reaches state-of-the-art performance (24.7% on Lite and 32.8% on Verified) with PASS_TO_PASS (P2P) filtering. Additionally, our approach requires only two model calls per instance, making it significantly more efficient than existing methods. These results highlight the effectiveness of SWE-Fixer in real-world code-fixing scenarios. We will make our model, dataset, and code publicly available at https://github.com/InternLM/SWE-Fixer.

📄 PDF Abstract BibTeX arXiv:2501.05040

Code (2)

internlm/swe-fixer 공식 구현
jorge-martinez-gil/graphcodebert-feature-integration pytorch

Tasks

GitHub issue resolutionRetrieval

Similar Papers 제목 키워드 기반

Automating Android Build Repair: Bridging the Reasoning-Execution Gap in LLM Agents with Domain-Specific Tools

2025-10-09 · Ha Min Son, Huan Ren, Xin Liu, Zhe Zhao arxiv

Android is the largest mobile platform, yet automatically building applications remains a practical challenge. While Large Language Models (LLMs) show promise for code repair, their use for fixing Android build errors re…

Code Repair

CrashFixer: A crash resolution agent for the Linux kernel

2025-04-29 · Alex Mathai, Chenxi Huang, Suwei Ma, JiHwan Kim 외

Code large language models (LLMs) have shown impressive capabilities on a multitude of software engineering tasks. In particular, they have demonstrated remarkable utility in the task of code repair. However, common benc…

Code Repair

ParseFixer: An Agentic Framework for Document Parsing via Selective Multimodal Correction

2026-06-10 · LeKai Yu, Hao Liu, Kun Wang, Zhiran Li 외 arxiv

In this report, we present our third-place solution for the DataMFM Challenge Track 1: Document Parsing. This track requires models to recover structured Markdown documents from document page images while preserving text…

Bifixer and Bicleaner: two open-source tools to clean your parallel data

2020-11-01 · EAMT 2020 11 · Gema Ramírez-Sánchez, Jaume Zaragoza-Bernabeu, Marta Bañón, Sergio Ortiz Rojas

This paper shows the utility of two open-source tools designed for parallel data cleaning: Bifixer and Bicleaner. Already used to clean highly noisy parallel content from crawled multilingual websites, we evaluate their …

Machine TranslationTranslation

SWE-SQL: Illuminating LLM Pathways to Solve User SQL Issues in Real-World Applications

2025-06-23 · Jinyang Li, Xiaolong Li, Ge Qu, Per Jacobsson 외

Resolution of complex SQL issues persists as a significant bottleneck in real-world database applications. Current Large Language Models (LLMs), while adept at text-to-SQL translation, have not been rigorously evaluated …

Text to SQLText-To-SQL