Know Before Fix: QA-Driven Repository Knowledge Acquisition for Software Issue Resolution
The DOI matches its DataCite record; 5 of the 5 references it cites were found in a registry or an index.
Abstract
LLM-based coding agents have significantly advanced automated software issue resolution, yet they remain highly prone to factual errors caused by insufficient repository understanding. Recent methods attempt to mitigate this limitation through pre-repair repository exploration; however, their fix-driven strategies explore repositories without identifying the agent's knowledge gaps, often yielding imprecise context that fails to bridge the underlying understanding deficit. In this paper, we propose ACQUIRE, a QA-driven framework for software issue resolution. Mirroring how experienced developers first comprehend unfamiliar code before attempting a fix, ACQUIRE explicitly acquires repository knowledge prior to repair. The framework decouples knowledge acquisition from patch generation through two stages: in the first stage, a Questioner and an Answerer collaborate to acquire structured repository knowledge, where the Questioner poses targeted questions and the Answerer produces evidence-grounded answers through autonomous exploration; in the second stage, the Resolver leverages the resulting QA knowledge to generate informed patches. By transforming implicit knowledge gaps into explicit, factually reliable understanding, ACQUIRE accelerates knowledge-intensive repair stages and enables more accurate resolution. Experiments on SWE-bench Verified demonstrate that ACQUIRE consistently outperforms representative pre-repair methods, raising Pass@1 by up to 4.4 percentage points with modest additional cost and time.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
CodeSearchNet Challenge: Evaluating the State of Semantic Code Search
Husain, H., Wu, H.-H., Gazit, T., Allamanis, M., & Brockschmidt, M. (2019) · arXiv · doi:10.48550/arxiv.1909.09436 · Cited by 483 · cited 1×
“Repository-level QA has evolved from semantic code search benchmarks such as CodeSearchNet and CoSQA+, which align natural-language intents with code snippets [51], [52].”
SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolution
Li, H., Shi, Y., Lin, S., Gu, X., Lian, H., Wang, X., Jia, Y., Huang, T., & Wang, Q. (2025) · arXiv · doi:10.48550/arxiv.2507.23348 · Cited by 3
Self-citationSWE-QA: Can Language Models Answer Repository-level Code Questions?
Peng, W., Shi, Y., Wang, Y., Zhang, X., Shen, B., & Gu, X. (2025) · arXiv · doi:10.48550/arxiv.2509.14635 · Cited by 2
Self-citationSWE-Effi: Re-Evaluating Software AI Agent System Effectiveness Under Resource Constraints
Fan, Z., Vasilevski, K., Lin, D., Chen, B., Chen, Y., Zhong, Z., Zhang, J. M., He, P., & Hassan, A. E. (2025) · arXiv · doi:10.48550/arxiv.2509.09853
Agent KB: Leveraging Cross-Domain Experience for Agentic Problem Solving
Tang, X., Qin, T., Peng, T., Zhou, Z., Shao, D., Du, T., Wei, X., Xia, P., Wu, F., Zhu, H., et al. (2025) · arXiv · doi:10.48550/arxiv.2507.06229 · cited 1×
“Tools like SWE-Exp, EX-PEREPAIR, and Agent KB utilize historical experience, dual-memory designs, and shared knowledge bases to inform repair decisions [45]–[47].”
Cited by
Still being checked.
Metadata
- Authors
- Lin, H., Chen, S., Gu, X., Shi, Y., Pan, C., Ge, J., Li, M., Huang, J., Chuang, M., Shen, B., & Guan, H.
- Venue
- arXiv
- Publisher
- arXiv
- Published
- 2026
- arXiv
- 2607.11111
- References
- 5
- Type
- Preprint
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.