SZZBench: Controlled Git Histories with Explicit Oracles for Diagnosing SZZ Implementations
Yoshiki Higo, Inase Kondo, Masanari Kondo, Yasutaka Kamei
Key points
From the paper's conclusion- 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.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- BenchChecker: Assessing the Credibility of Bug-Fixing Benchmarks for LLMsarXiv · 2026
- Decided or Open? Comparing Program Repair Techniques When Patch Correctness Is UnknownarXiv · 2026
- Do Coverage and Mutation Scores of LLM-Generated Test Suites Correlate with Their Effectiveness? (Replicability Study)Proceedings of the ACM on software engineering. · 2026
- SWE-at-Scale: Scalable Issue Synthesis from Historical Bug FixesarXiv · 2026
- Not All Correct Fixes Run Alike: An Empirical Study of Patch Performance in Repository-Level Issue ResolutionarXiv · 2026
- From Software History to Executable Regression Tasks: A System for Evaluating Software AgentsarXiv · 2026