GitBugs: Bug Reports for Duplicate Detection, Retrieval Augmented Generation, and More
Avinash Patil
TL;DR
GitBugs addresses limitations in existing bug-report resources by compiling a large-scale, up-to-date corpus of over 150,000 reports from nine open-source projects across GitHub, Bugzilla, and Jira. It standardizes metadata, provides train/test splits for duplicate detection, and includes project-level analytics and reproducible artifacts, enabling tasks such as duplicate detection, bug triaging, resolution time prediction, and retrieval-augmented generation. The paper situates GitBugs against prior datasets, demonstrates its data collection pipeline, and presents a Cassandra case study covering forecasting, classification, time-to-fix prediction, topic modeling, STL decomposition, and a RAG workflow. The dataset aims to facilitate reproducible benchmarking, cross-project research, and practical tooling for software maintenance and automation.
Abstract
Bug reports provide critical insights into software quality, yet existing datasets often suffer from limited scope, outdated content, or insufficient metadata for machine learning. To address these limitations, we present GitBugs-a comprehensive and up-to-date dataset comprising over 150,000 bug reports from nine actively maintained open-source projects, including Firefox, Cassandra, and VS Code. GitBugs aggregates data from Github, Bugzilla and Jira issue trackers, offering standardized categorical fields for classification tasks and predefined train/test splits for duplicate bug detection. In addition, it includes exploratory analysis notebooks and detailed project-level statistics, such as duplicate rates and resolution times. GitBugs supports various software engineering research tasks, including duplicate detection, retrieval augmented generation, resolution prediction, automated triaging, and temporal analysis. The openly licensed dataset provides a valuable cross-project resource for benchmarking and advancing automated bug report analysis. Access the data and code at https://github.com/av9ash/gitbugs/.
