Pith. sign in

REVIEW 4 cited by

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

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2209.11515 v3 pith:UZQNSJ7B submitted 2022-09-23 cs.SE

classification cs.SE
keywords testlibroreportstestsreproducingtechniquesexistinggeneration
verification ladder T0 review T1 audit T2 compute T3 formal

Signed reviews

No signed human review yet.

0 comments
read the original abstract

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.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 4 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Sakura: An Approach for Generating Complex Tests from Natural Language Test Descriptions

    cs.SE 2026-05 unverdicted novelty 7.0 of 10

    Sakura is a multi-agent system that generates structurally complex tests from NL descriptions, achieving 50-78% higher compilability and 38-66% higher coverage overlap than baselines on 1,464 scenarios from 20 Apache ...

  2. Coupling Planning with Episodic Memory in LLM Agents for Software Issue Resolution

    cs.SE 2026-08 conditional novelty 6.0 of 10

    Coupling a hierarchical phase planner with episodic memory lets an LLM repair agent hold onto its diagnosis and recover from failed edits, resolving 5.0pp more SWE-bench Verified issues.

  3. kAgent: An execution-guided crash resolution agent for the Linux kernel

    cs.SE 2025-04 reject novelty 6.0 of 10

    An LLM agent with execution-trace-guided hypothesis generation resolves about 65% of fuzzed Linux kernel crashes when told which file to fix, but most of its 'fixed' crashes are resolved by deleting or bypassing code.

  4. SemAgent: A Semantics Aware Program Repair Agent

    cs.SE 2025-06 conditional novelty 5.0 of 10

    SemAgent, a workflow-based repair agent using execution, issue, and code semantics, reports solving 134 of 300 SWE-bench Lite issues (44.66%).

Pith tools