SZZBench: Controlled Git Histories with Explicit Oracles for Diagnosing SZZ Implementations
Abstract
The SZZ algorithm traces a bug-fixing commit back to the commits that introduced the bug. Its labels underlie defect-prediction data sets and many mining software repositories studies. SZZ implementations are mostly evaluated against oracles mined from real projects. Such oracles are realistic, but each case mixes the history factors that make an implementation succeed or fail, and an aggregate score cannot show why. We present SZZBench, a tool that shows why: it generates ordinary Git repositories from declarative scenarios with explicit oracles, scores the predictions of any SZZ implementation under declared evaluation policies, and reads each result against 26 naive baselines, such as always answering the second commit. SZZBench also checks the declarations of new scenarios, such as the tier, against the results of the naive baselines. Currently, SZZBench ships 279 scenarios in 17 categories and adapters for four SZZ tools. Running these tools in nine configurations without changing their code, we find that PyDriller passes 161 scenarios and a rule that always answers the second commit passes 160, yet only 97 scenarios are passed by both: the two succeed on different scenarios, which the number of passed scenarios hides and the per-scenario results reveal. SZZBench is available at https://github.com/higolab/SZZBench.
Create a lesson
Metadata
- Comments
- 5 pages, 1 figure, 2 tables
Related papers
Jailbreaks Are Global or Regional? A Controlled Study of Scale and Geolocation Effects on LLM Safety Verification
Shared title terminologycs.SEAnidipta Pal
Git History Is a Pangenome: Repetition in Code Training Corpora and What Deduplication Removes, Keeps and Misses
Shared title terminologycs.SESaurabh Chopra
Schema-Validated LLM Workflows: A Benchmark Protocol and Comparative Evaluation Across Six Python Implementations
Shared title terminologycs.SESidney Shapiro, Sanad Al-Khatib, Aurora Pinzón Arzola et al.
OmegaHyper: Explicit-State HyperLTL Model Checking on an omega-Automaton Diet
Shared title terminologycs.SEHugo Pacheco
stable-envs-v1: Fast and Reproducible Environments with Controllable Variations
Shared title terminologycs.SESami BuGhanem, Francesco Capuano, Ahitagni Das et al.
Formal Analysis of a Fault-Tolerant Extension of the ROSACE Flight Controller
Shared title terminologycs.SEMarco Bozzano, Alessandro Cimatti, Moussa Fall et al.