Merged, but Did It Fix the Issue? Using LLMs to Link GitHub Issues to Their Fixes
Abstract
A GitHub issue can link to several pull requests (PRs), and even a merged PR may not fix it. Benchmarks for coding agents need the PR that fixed each issue, or need to know that none did. We labeled 1,051 issues from 699 repositories and compared six non-LLM methods with eleven LLM setups. Closing keywords such as "Fixes #N" were precise but missed about a third of fixes. Picking any merged PR never recognized that no PR was the fix. The strongest LLM setups had similar overall accuracy (92-93%) and found merged fixes at similar rates. They differed when PRs were merged but none fixed the issue: Claude Sonnet 5 answered "no fix" correctly on 88% of these issues and Qwen3-4B on 53%. Sonnet was significantly better than every model we ran locally, and changing the open models' cut-off did not reach it. Within one model family, this ability grew with model size. At the estimated rate of such issues, Sonnet would keep about a quarter fewer wrong reference fixes than Qwen3-4B, but reject more real ones. Most open models also over-applied a prompt exception needed for only 1% of fixes. We release the labels, model outputs, and 6,785 model-produced labels.
Create a lesson
Metadata
- Comments
- 8 pages, 3 figures, 7 tables
Related papers
Measuring an Autonomous Issue-to-Merge Pipeline in Production: Cost, Autonomy, and What the Instrumentation Missed
Shared title terminologycs.SEVěnceslav Chumchal, Jakub Koněrza, Jan Kočí
Comparing Humans and LLMs in Software Engineering Research
Shared title terminologycs.SEMarc Herrmann, Tolga Çakır, Michael Mircea et al.
FineCR: A Fine-Grained Benchmark for Evaluating LLMs on Raising Code Review and its Resolution
Shared title terminologycs.SETaufiqul Islam Khan, Shaowei Wang, Haoxiang Zhang et al.
J2KMigBench: Evaluating LLMs on Java-to-Kotlin Migration in Real-World Repositories
Shared title terminologycs.SEMoshood A. Fakorede, Marcoantoni Rubio-Gonzalez, Umar Farooq
Replay-Based Merge for Delta-Based Consistency Management in Multi-Model Development
Shared title terminologycs.SERazieh Dehghani, Arne Lange, Martin Armbruster et al.
Which Link Should I Look At First?: Automated Link Ranking in Code Reviews
Shared title terminologycs.SEPanya Trakoolgerntong, Arus Thienmee, Patsathorn Chadbantern et al.