mlsanityData to 7 Oct 2026

Large Language Models are Few-shot Testers: Exploring LLM-based General Bug Reproduction

arXiv 2209.11515 ↗First posted 23 Sep 2022cs.SEcited by 110

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

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 1; 2023: 18; 2024: 27; 2025: 36; 2026: 28.

110 papers.

Sort:

By area:

  1. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
  2. 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 400
  3. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
  4. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 225
  5. 2023ClassEval: A Manually-Crafted Benchmark for Evaluating LLMs on Class-level Code Generationcited by 166
  6. 2024SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agentscited by 129
  7. 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Futurecited by 85
  8. 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
  9. 2023Improving Code Generation by Training with Natural Language Feedbackcited by 75
  10. 2023Automatic Semantic Augmentation of Language Model Prompts (for Code Summarization)cited by 72
  11. 2023Emotionally Numb or Empathetic? Evaluating How LLMs Feel Using EmotionBenchcited by 54
  12. 2023Bias Testing and Mitigation in LLM-based Code Generationcited by 53
38 more
  1. 2025On the Use of Agentic Coding: An Empirical Study of Pull Requests on GitHubcited by 53
  2. 2023Evaluating Instruction-Tuned Large Language Models on Code Comprehension and Generationcited by 49
  3. 2024You Name It, I Run It: An LLM Agent to Execute Tests of Arbitrary Projectscited by 45
  4. 2023Look Before You Leap: An Exploratory Study of Uncertainty Measurement for Large Language Modelscited by 40
  5. 2024LeDex: Training LLMs to Better Self-Debug and Explain Codecited by 39
  6. 2024SOEN-101: Code Generation by Emulating Software Process Models Using Large Language Model Agentscited by 34
  7. 2024Exploring Autonomous Agents through the Lens of Large Language Models: A Reviewcited by 30
  8. 2024Large Language Models as Test Case Generators: Performance Evaluation and Enhancementcited by 27
  9. 2025Otter: Generating Tests from Issues to Validate SWE Patchescited by 24
  10. 2024MECD: Unlocking Multi-Event Causal Discovery in Video Reasoningcited by 23
  11. 2025QualityFlow: An Agentic Workflow for Program Synthesis Controlled by LLM Quality Checkscited by 22
  12. 2023Is AI the better programming partner? Human-Human Pair Programming vs. Human-AI pAIr Programmingcited by 20
  13. 2025Agentic Bug Reproduction for Effective Automated Program Repair at Googlecited by 20
  14. 2022LLMEffiChecker: Understanding and Testing Efficiency Degradation of Large Language Modelscited by 16
  15. 2023From Commit Message Generation to History-Aware Commit Message Completioncited by 16
  16. 2025Understanding Automated Program Repair Agents Through the Lens of Traceability: An Empirical Studycited by 16
  17. 2023Autonomous Large Language Model Agents Enabling Intent-Driven Mobile GUI Testingcited by 15
  18. 2025CSR-Bench: Benchmarking LLM Agents in Deployment of Computer Science Research Repositoriescited by 15
  19. 2023Towards Generating Functionally Correct Code Edits from Natural Language Issue Descriptionscited by 14
  20. 2025CoCoEvo: Co-Evolution of Programs and Test Cases to Enhance Code Generationcited by 14
  21. 2023Towards Autonomous Testing Agents via Conversational Large Language Modelscited by 13
  22. 2024Studying LLM Performance on Closed- and Open-source Datacited by 11
  23. 2025Towards Transparent and Incentive-Compatible Collaboration in Decentralized LLM Multi-Agent Systems: A Blockchain-Driven Approachcited by 11
  24. 2025FusionFactory: Fusing LLM Capabilities with Multi-LLM Log Datacited by 10
  25. 2024NaviQAte: Functionality-Guided Web Application Navigationcited by 9
  26. 2023Code Representation Pre-training with Complements from Program Executionscited by 8
  27. 2024A System for Automated Unit Test Generation Using Large Language Models and Assessment of Generated Test Suitescited by 8
  28. 2025Challenges in Testing Large Language Model Based Software: A Faceted Taxonomycited by 8
  29. 2026LLMLOOP: Improving LLM-Generated Code and Tests through Automated Iterative Feedback Loopscited by 8
  30. 2023Assessing Evaluation Metrics for Neural Test Oracle Generationcited by 7
  31. 2024Retrieval-Augmented Test Generation: How Far Are We?cited by 7
  32. 2025Validating Network Protocol Parsers with Traceable RFC Document Interpretationcited by 7
  33. 2025InfCode: Adversarial Iterative Refinement of Tests and Patches for Reliable Software Issue Resolutioncited by 7
  34. 2023Can Large Language Models Discern Evidence for Scientific Hypotheses? Case Studies in the Social Sciencescited by 6
  35. 2024An Insight into Security Code Review with LLMs: Capabilities, Obstacles, and Influential Factorscited by 6
  36. 2025Evaluating LLM-Based Regression Test Generationcited by 6
  37. 2025REFINE: Enhancing Program Repair Agents through Context-Aware Patch Refinementcited by 6
  38. 2025Agentic Software Issue Resolution with Large Language Models: A Surveycited by 6

50 most cited of 110 All 110 (JSON)