Large Language Models are Few-shot Testers: Exploring LLM-based General Bug Reproduction
Not on the map. Why?
Cited by 44 in LLM agents and tool use, but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
Many automated test generation techniques have been developed to aid developers with writing tests. To facilitate full automation, most existing techniques aim to either increase coverage, or generate exploratory inputs. However, existing test generation techniques largely fall short of achieving more semantic objectives, such as generating tests to reproduce a given bug report. Reproducing bugs is nonetheless important, as our empirical study shows that the number of tests added in open source repositories due to issues was about 28% of the corresponding project test suite size. Meanwhile, due to the difficulties of transforming the expected program semantics in bug reports into test oracles, existing failure reproduction techniques tend to deal exclusively with program crashes, a small subset of all bug reports. To automate test generation from general bug reports, we propose LIBRO, a framework that uses Large Language Models (LLMs), which have been shown to be capable of performing code-related tasks. Since LLMs themselves cannot execute the target buggy code, we focus on post-processing steps that help us discern when LLMs are effective, and rank the produced tests according to their validity. Our evaluation of LIBRO shows that, on the widely studied Defects4J benchmark, LIBRO can generate failure reproducing test cases for 33% of all studied cases (251 out of 750), while suggesting a bug reproducing test in first place for 149 bugs. To mitigate data contamination, we also evaluate LIBRO against 31 bug reports submitted after the collection of the LLM training data terminated: LIBRO produces bug reproducing tests for 32% of the studied bug reports. Overall, our results show LIBRO has the potential to significantly enhance developer efficiency by automatically generating tests from bug reports.
Key facts. Cited by 110 papers in the map (data through 7 Oct 2026). First posted on arXiv 23 Sep 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 1; 2023: 18; 2024: 27; 2025: 36; 2026: 28.
110 papers.
Sort:
By area:
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
- 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 400
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
- 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 225
- 2023ClassEval: A Manually-Crafted Benchmark for Evaluating LLMs on Class-level Code Generationcited by 166
- 2024SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agentscited by 129
- 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Futurecited by 85
- 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agentscited by 77
- 2023Improving Code Generation by Training with Natural Language Feedbackcited by 75
- 2023Automatic Semantic Augmentation of Language Model Prompts (for Code Summarization)cited by 72
- 2023Emotionally Numb or Empathetic? Evaluating How LLMs Feel Using EmotionBenchcited by 54
- 2023Bias Testing and Mitigation in LLM-based Code Generationcited by 53
38 more
- 2025On the Use of Agentic Coding: An Empirical Study of Pull Requests on GitHubcited by 53
- 2023Evaluating Instruction-Tuned Large Language Models on Code Comprehension and Generationcited by 49
- 2024You Name It, I Run It: An LLM Agent to Execute Tests of Arbitrary Projectscited by 45
- 2023Look Before You Leap: An Exploratory Study of Uncertainty Measurement for Large Language Modelscited by 40
- 2024LeDex: Training LLMs to Better Self-Debug and Explain Codecited by 39
- 2024SOEN-101: Code Generation by Emulating Software Process Models Using Large Language Model Agentscited by 34
- 2024Exploring Autonomous Agents through the Lens of Large Language Models: A Reviewcited by 30
- 2024Large Language Models as Test Case Generators: Performance Evaluation and Enhancementcited by 27
- 2025Otter: Generating Tests from Issues to Validate SWE Patchescited by 24
- 2024MECD: Unlocking Multi-Event Causal Discovery in Video Reasoningcited by 23
- 2025QualityFlow: An Agentic Workflow for Program Synthesis Controlled by LLM Quality Checkscited by 22
- 2023Is AI the better programming partner? Human-Human Pair Programming vs. Human-AI pAIr Programmingcited by 20
- 2025Agentic Bug Reproduction for Effective Automated Program Repair at Googlecited by 20
- 2022LLMEffiChecker: Understanding and Testing Efficiency Degradation of Large Language Modelscited by 16
- 2023From Commit Message Generation to History-Aware Commit Message Completioncited by 16
- 2025Understanding Automated Program Repair Agents Through the Lens of Traceability: An Empirical Studycited by 16
- 2023Autonomous Large Language Model Agents Enabling Intent-Driven Mobile GUI Testingcited by 15
- 2025CSR-Bench: Benchmarking LLM Agents in Deployment of Computer Science Research Repositoriescited by 15
- 2023Towards Generating Functionally Correct Code Edits from Natural Language Issue Descriptionscited by 14
- 2025CoCoEvo: Co-Evolution of Programs and Test Cases to Enhance Code Generationcited by 14
- 2023Towards Autonomous Testing Agents via Conversational Large Language Modelscited by 13
- 2024Studying LLM Performance on Closed- and Open-source Datacited by 11
- 2025Towards Transparent and Incentive-Compatible Collaboration in Decentralized LLM Multi-Agent Systems: A Blockchain-Driven Approachcited by 11
- 2025FusionFactory: Fusing LLM Capabilities with Multi-LLM Log Datacited by 10
- 2024NaviQAte: Functionality-Guided Web Application Navigationcited by 9
- 2023Code Representation Pre-training with Complements from Program Executionscited by 8
- 2024A System for Automated Unit Test Generation Using Large Language Models and Assessment of Generated Test Suitescited by 8
- 2025Challenges in Testing Large Language Model Based Software: A Faceted Taxonomycited by 8
- 2026LLMLOOP: Improving LLM-Generated Code and Tests through Automated Iterative Feedback Loopscited by 8
- 2023Assessing Evaluation Metrics for Neural Test Oracle Generationcited by 7
- 2024Retrieval-Augmented Test Generation: How Far Are We?cited by 7
- 2025Validating Network Protocol Parsers with Traceable RFC Document Interpretationcited by 7
- 2025InfCode: Adversarial Iterative Refinement of Tests and Patches for Reliable Software Issue Resolutioncited by 7
- 2023Can Large Language Models Discern Evidence for Scientific Hypotheses? Case Studies in the Social Sciencescited by 6
- 2024An Insight into Security Code Review with LLMs: Capabilities, Obstacles, and Influential Factorscited by 6
- 2025Evaluating LLM-Based Regression Test Generationcited by 6
- 2025REFINE: Enhancing Program Repair Agents through Context-Aware Patch Refinementcited by 6
- 2025Agentic Software Issue Resolution with Large Language Models: A Surveycited by 6
50 most cited of 110 All 110 (JSON)
- 2026Groundability, Not Scale Alone: When Weak Reviewers Can Audit Strong Coding Agents1 Oct 2026
- 2026WitnessGym: Benchmarking Coding Agents on the Construction of Bug Witnesses29 Sep 2026
- 2026Test-Driven Approaches to Software Engineering with Large Language Models: A Survey of Phases, Tasks, and Agent Skills10 Sep 2026
- 2026XAgent: eXecution-guided Agentic AI for Effective Localization and Resolution of GitHub Issues9 Sep 2026
- 2026ExecCritic: Learn to Test, Test to Improve for Coding Agents8 Sep 2026
- 2026Coupling Planning with Episodic Memory in LLM Agents for Software Issue Resolution7 Aug 2026
- 2026Validation Evidence in LLM Repair Agents: How Much of What Passes Actually Tests the Bug?30 Jul 2026
- 2026Beyond Fail-to-Pass: Iterative Hardening of Co-Generated Bug Reproduction Tests and Fixes22 Jul 2026
- 2026ReProAgent: Tool-Augmented Multi-Stage Agentic Generation of Bug Reproduction Tests from Issue Reports10 Jul 2026
- 2026SCATE: Learning to Supervise Coding Agents for Cost-Effective Test Generation9 Jul 2026
- 2026SWE-Doctor: Guiding Software Engineering Agents with Runtime Diagnosis from Multi-Faceted Bug Reproduction Tests1 Jul 2026
- 2026Accuracy and Satisfaction in Multi-Turn LLM Dialogues for NFR Assessment23 Jun 2026
38 more
- 2026PBT-Bench: Benchmarking AI Agents on Property-Based Testing13 May 2026
- 2026Empowering Autonomous Debugging Agents with Efficient Dynamic Analysis27 Apr 2026
- 2026Evaluating LLM-Based Goal Extraction in Requirements Engineering: Prompting Strategies and Their Limitations24 Apr 2026
- 2026Enhancing Large Language Models with Retrieval Augmented Generation for Software Testing and Inspection Automation16 Apr 2026
- 2026AI-Assisted Unit Test Writing and Test-Driven Code Refactoring: A Case Study3 Apr 2026
- 2026LLMLOOP: Improving LLM-Generated Code and Tests through Automated Iterative Feedback Loops24 Mar 2026
- 2026ATTest: Agent-Driven Tensor Testing for Deep Learning Library Modules15 Feb 2026
- 2026Compiling Large Multi-Modal Requirement Documents into Runnable Software Systems: From an Agentic Test-Driven Perspective14 Feb 2026
- 2026SolAgent: A Specialized Multi-Agent Framework for Solidity Code Generation30 Jan 2026
- 2026SWE-Spot: Building Small Repo-Experts with Repository-Centric Learning29 Jan 2026
- 2026Dynamic Cogeneration of Bug Reproduction Test in Agentic Program Repair27 Jan 2026
- 2026TAM-Eval: Evaluating LLMs for Automated Unit Test Maintenance26 Jan 2026
- 2026SWE-Tester: Training Open-Source LLMs for Issue Reproduction in Real-World Repositories20 Jan 2026
- 2026RM -RF: Reward Model for Run-Free Unit Test Evaluation19 Jan 2026
- 2026SWaRL: Safeguard Code Watermarking via Reinforcement Learning5 Jan 2026
- 2026The New Compiler Stack: A Survey on the Synergy of LLMs and Compilers5 Jan 2026
- 2025From Correctness to Collaboration: Toward a Human-Centered Framework for Evaluating AI Agent Behavior in Software Engineering29 Dec 2025
- 2025Agentic Software Issue Resolution with Large Language Models: A Survey24 Dec 2025
- 2025AutoBaxBuilder: Bootstrapping Code Security Benchmarking24 Dec 2025
- 2025Imitation Game: Reproducing Deep Learning Bugs Leveraging an Intelligent Agent17 Dec 2025
- 2025Progressive Code Integration for Abstractive Bug Report Summarization29 Nov 2025
- 2025InfCode: Adversarial Iterative Refinement of Tests and Patches for Reliable Software Issue Resolution20 Nov 2025
- 2025PEFA-AI: Advancing Open-source LLMs for RTL generation using Progressive Error Feedback Agentic-AI6 Nov 2025
- 2025Feature-Guided Analysis of Neural Networks: A Replication Study28 Oct 2025
- 2025TDFlow: Agentic Workflows for Test Driven Development27 Oct 2025
- 2025Past, Present, and Future of Bug Tracking in the Generative AI Era9 Oct 2025
- 2025REFINE: Enhancing Program Repair Agents through Context-Aware Patch Refinement4 Oct 2025
- 2025Large Language Models for Software Testing: A Research Roadmap29 Sep 2025
- 2025Towards Transparent and Incentive-Compatible Collaboration in Decentralized LLM Multi-Agent Systems: A Blockchain-Driven Approach20 Sep 2025
- 2025On the Use of Agentic Coding: An Empirical Study of Pull Requests on GitHub18 Sep 2025
- 2025SIExVulTS: Sensitive Information Exposure Vulnerability Detection System using Transformer Models and Static Analysis26 Aug 2025
- 2025Experimental Analysis of Productive Interaction Strategy with ChatGPT: User Study on Function and Project-level Code Generation Tasks6 Aug 2025
- 2025DSBC : Data Science task Benchmarking with Context engineering31 Jul 2025
- 2025AutoCodeSherpa: Symbolic Explanations in AI Coding Agents30 Jul 2025
- 2025FusionFactory: Fusing LLM Capabilities with Multi-LLM Log Data14 Jul 2025
- 2025Fuzzing: Randomness? Reasoning! Efficient Directed Fuzzing via Large Language Models30 Jun 2025
- 2025Leveraging GPT-4 for Vulnerability-Witnessing Unit Test Generation13 Jun 2025
- 2025Understanding Automated Program Repair Agents Through the Lens of Traceability: An Empirical Study10 Jun 2025
50 newest of 110 All 110 (JSON)
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
- 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 400
- 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 225
- 2024SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agentscited by 129
- 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Futurecited by 85
- 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agentscited by 77
- 2025On the Use of Agentic Coding: An Empirical Study of Pull Requests on GitHubcited by 53
- 2024You Name It, I Run It: An LLM Agent to Execute Tests of Arbitrary Projectscited by 45
- 2024SOEN-101: Code Generation by Emulating Software Process Models Using Large Language Model Agentscited by 34
- 2024Exploring Autonomous Agents through the Lens of Large Language Models: A Reviewcited by 30
- 2025QualityFlow: An Agentic Workflow for Program Synthesis Controlled by LLM Quality Checkscited by 22
- 2025Agentic Bug Reproduction for Effective Automated Program Repair at Googlecited by 20
12 most cited of 44 All 44 (JSON)
- 2026Groundability, Not Scale Alone: When Weak Reviewers Can Audit Strong Coding Agents1 Oct 2026
- 2026WitnessGym: Benchmarking Coding Agents on the Construction of Bug Witnesses29 Sep 2026
- 2026Test-Driven Approaches to Software Engineering with Large Language Models: A Survey of Phases, Tasks, and Agent Skills10 Sep 2026
- 2026XAgent: eXecution-guided Agentic AI for Effective Localization and Resolution of GitHub Issues9 Sep 2026
- 2026ExecCritic: Learn to Test, Test to Improve for Coding Agents8 Sep 2026
- 2026Coupling Planning with Episodic Memory in LLM Agents for Software Issue Resolution7 Aug 2026
- 2026Validation Evidence in LLM Repair Agents: How Much of What Passes Actually Tests the Bug?30 Jul 2026
- 2026ReProAgent: Tool-Augmented Multi-Stage Agentic Generation of Bug Reproduction Tests from Issue Reports10 Jul 2026
- 2026SCATE: Learning to Supervise Coding Agents for Cost-Effective Test Generation9 Jul 2026
- 2026SWE-Doctor: Guiding Software Engineering Agents with Runtime Diagnosis from Multi-Faceted Bug Reproduction Tests1 Jul 2026
- 2026PBT-Bench: Benchmarking AI Agents on Property-Based Testing13 May 2026
- 2026Empowering Autonomous Debugging Agents with Efficient Dynamic Analysis27 Apr 2026
12 newest of 44 All 44 (JSON)
- 2025AutoBaxBuilder: Bootstrapping Code Security Benchmarkingcited by 4
- 2025AutoBaxBuilder: Bootstrapping Code Security Benchmarking24 Dec 2025
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
- 2023ClassEval: A Manually-Crafted Benchmark for Evaluating LLMs on Class-level Code Generationcited by 166
- 2023Improving Code Generation by Training with Natural Language Feedbackcited by 75
- 2023Automatic Semantic Augmentation of Language Model Prompts (for Code Summarization)cited by 72
- 2023Emotionally Numb or Empathetic? Evaluating How LLMs Feel Using EmotionBenchcited by 54
- 2023Bias Testing and Mitigation in LLM-based Code Generationcited by 53
- 2023Evaluating Instruction-Tuned Large Language Models on Code Comprehension and Generationcited by 49
- 2023Look Before You Leap: An Exploratory Study of Uncertainty Measurement for Large Language Modelscited by 40
- 2024LeDex: Training LLMs to Better Self-Debug and Explain Codecited by 39
- 2024Large Language Models as Test Case Generators: Performance Evaluation and Enhancementcited by 27
- 2025Otter: Generating Tests from Issues to Validate SWE Patchescited by 24
- 2023Is AI the better programming partner? Human-Human Pair Programming vs. Human-AI pAIr Programmingcited by 20
12 most cited of 60 All 60 (JSON)
- 2026Beyond Fail-to-Pass: Iterative Hardening of Co-Generated Bug Reproduction Tests and Fixes22 Jul 2026
- 2026Accuracy and Satisfaction in Multi-Turn LLM Dialogues for NFR Assessment23 Jun 2026
- 2026Evaluating LLM-Based Goal Extraction in Requirements Engineering: Prompting Strategies and Their Limitations24 Apr 2026
- 2026AI-Assisted Unit Test Writing and Test-Driven Code Refactoring: A Case Study3 Apr 2026
- 2026LLMLOOP: Improving LLM-Generated Code and Tests through Automated Iterative Feedback Loops24 Mar 2026
- 2026TAM-Eval: Evaluating LLMs for Automated Unit Test Maintenance26 Jan 2026
- 2026SWE-Tester: Training Open-Source LLMs for Issue Reproduction in Real-World Repositories20 Jan 2026
- 2026RM -RF: Reward Model for Run-Free Unit Test Evaluation19 Jan 2026
- 2026SWaRL: Safeguard Code Watermarking via Reinforcement Learning5 Jan 2026
- 2026The New Compiler Stack: A Survey on the Synergy of LLMs and Compilers5 Jan 2026
- 2025Progressive Code Integration for Abstractive Bug Report Summarization29 Nov 2025
- 2025InfCode: Adversarial Iterative Refinement of Tests and Patches for Reliable Software Issue Resolution20 Nov 2025
12 newest of 60 All 60 (JSON)