Research indexDataset
BugCatcher-Data
Shaopeng
Zenodo (CERN European Organization for Nuclear Research)20 Dec 2024Open access
NobleIDark:/48914/w1/20260525/E7FDB1B6DOI10.5281/zenodo.14536733
BugCatcher-Data
Shaopeng · Zenodo (CERN European Organization for Nuclear Research) · 2024
NobleIDark:/48914/w1/20260525/E7FDB1B6DOI10.5281/zenodo.14536733
Free to read at the publisher
You can read the abstract here, or the full text at the publisher.
Abstract
Bug datasets play a vital role in advancing software engineering tasks, including bug detection, fault localization, and automated program repair. These datasets enable the development of more accurate algorithms, facilitate efficient fault identification, and drive the creation of reliable automated repair tools. However, the manual collection and curation of such data are labor-intensive and prone to inconsistency, which limits scalability and reliability. Current datasets often fail to provide detailed and accurate information, particularly regarding bug types, descriptions, and classifications, reducing their utility in diverse research and practical applications. To address these challenges, we introduce BugCatcher, a comprehensive approach for constructing large-scale, high-quality bug datasets. BugCatcher begins by enhancing PR-Issue linking mechanisms, extending data collection to 12 programming languages over a decade, and ensuring accurate linkage between pull requests and issues. It employs a two-stage filtering process, BugCurator, to refine data quality, and utilizes large language models with Zero-shot Chain-of-Thought prompting to generate precise bug types and detailed descriptions. Furthermore, BugCatcher incorporates a robust classification framework, fine-tuning models for improved categorization. The resulting dataset, BugCatcher-Data, includes 243,265 bug-fix entries with comprehensive fields such as code diffs, bug locations, detailed descriptions, and classifications, serving as a substantial resource for advancing software engineering research and practices.