liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Automated Software Bug Reproduction with Large Language Model based Agent
Linköping University, Department of Computer and Information Science, Software and Systems.
2025 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

Debugging is essential for maintaining reliable software systems. However, it is often a time‑consuming process constrained by the manual effort required to both reproduce reported bugs and reduce the action sequences that trigger them. This thesis asks how effectively large language model (LLM)–based agents can autonomously reproduce industrial control software bugs and minimise their Steps to Reproduce (S2R), and how agent architecture and tool access shape this capability. Three agent architectures are evaluated: one Single‑Agent mode and two multi‑agent modes (Producer–Reviewer and Orchestrator–Workers). These are tested under controlled conditions that vary tool access (a restricted shell‑primitive set versus an unrestricted command‑line interface) on a real‑world dataset of industrial control software bug reports whose S2Rs are augmented with injected redundant steps. Experimental results indicate that the Single Agent achieves the highest reproduction success, stronger S2R minimisation, and lower runtime than the multi‑agent variants. Specifically, both the Single Agent and Producer–Reviewer reproduce 55.56% of bugs, while Orchestrator–Workers reproduces 44.44%. When reproduction succeeds, the best‑performing agent removes an average of 90% of injected redundant steps, producing substantially shorter and clearer reproduction sequences. Across all architectures, unrestricted command execution outperforms curated shell‑primitive tools in both reproduction success and minimisation quality. Overall, the findings demonstrate that LLM‑driven agents can autonomously reproduce real industrial bugs and simplify the action sequences required to trigger them, and that architectural simplicity outperforms more complex multi‑agent coordination for this task. This unified treatment of reproduction and reduction informs practical design choices for autonomous debugging in industrial test environments.

Place, publisher, year, edition, pages
2025. , p. 49
Keywords [en]
Autonomous agents, Large language models (LLMs), Agent architectures, Tool-augmented AI, Multi-agent coordination, Software debugging automation, Bug reproduction
National Category
Software Engineering
Identifiers
URN: urn:nbn:se:liu:diva-220662ISRN: LIU-IDA/LITH-EX-A--25/119--SEOAI: oai:DiVA.org:liu-220662DiVA, id: diva2:2030627
External cooperation
Atlas Copco
Subject / course
Computer Engineering
Supervisors
Examiners
Available from: 2026-01-21 Created: 2026-01-21 Last updated: 2026-01-21Bibliographically approved

Open Access in DiVA

fulltext(2978 kB)85 downloads
File information
File name FULLTEXT01.pdfFile size 2978 kBChecksum SHA-512
ab2eaa63d55c47b0623a3a5b90120f1aca02d405df813a326f1e1baddd708ec9d417ea0276a4d1b99209c48b8d74f6c06492ba09ae41a3bb692ce31f27f68cba
Type fulltextMimetype application/pdf

By organisation
Software and Systems
Software Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 85 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 3249 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf