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

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 opensource 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

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.62
Citations
4
Primary Topic
Scientific Computing and Data Management
Type
article
Field-Weighted Citation Impact
16.68
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

和美 石渡, Kai Chen, Chang Gao, Difan Zou et al.
4 citations
Scientific Computing and Data Management
16.68
article

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

和美 石渡, Kai Chen, Chang Gao, Difan Zou, Bowen Li, Chengxing Xie, Wai Hung Lam
article en
4 citations

Abstract

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 opensource 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

Openalex Percentile: Top 1%
Scientific Computing and Data Management
16.68
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

SWE-Fixer: Training Open-Source LLMs for Effective and Efficient GitHub Issue Resolution — 和美 石渡, Kai Chen, et al. · (2025) | TGRS Research Map | TGRS