|
--- |
|
dataset_info: |
|
features: |
|
- name: status |
|
dtype: string |
|
- name: repo_name |
|
dtype: string |
|
- name: repo_url |
|
dtype: string |
|
- name: issue_id |
|
dtype: int64 |
|
- name: updated_files |
|
dtype: string |
|
- name: title |
|
dtype: string |
|
- name: body |
|
dtype: string |
|
- name: issue_url |
|
dtype: string |
|
- name: pull_url |
|
dtype: string |
|
- name: before_fix_sha |
|
dtype: string |
|
- name: after_fix_sha |
|
dtype: string |
|
- name: report_datetime |
|
dtype: timestamp[ns, tz=UTC] |
|
- name: language |
|
dtype: string |
|
- name: commit_datetime |
|
dtype: timestamp[us, tz=UTC] |
|
splits: |
|
- name: train |
|
num_bytes: 28712037 |
|
num_examples: 10191 |
|
- name: test |
|
num_bytes: 24291772 |
|
num_examples: 10445 |
|
download_size: 19375255 |
|
dataset_size: 53003809 |
|
configs: |
|
- config_name: default |
|
data_files: |
|
- split: train |
|
path: data/train-* |
|
- split: test |
|
path: data/test-* |
|
language: |
|
- en |
|
tags: |
|
- code |
|
- bugs |
|
- patch |
|
size_categories: |
|
- 10K<n<100K |
|
--- |
|
|
|
<p align="center"> |
|
<img src="https://cdn-uploads.huggingface.co/production/uploads/6458f0063b81018d6b956833/G2RJogC33EgUT7lcdrTHC.png" alt="image/png"> |
|
</p> |
|
|
|
# Dataset Card for Dataset Name |
|
|
|
BeetleBox |
|
|
|
## Dataset Details |
|
|
|
The BeetleBox dataset is a comprehensive multi-language, multi-project dataset designed for bug localization research. It includes 26,321 bugs from 29 projects, covering five major programming languages: Java, Python, C++, JavaScript, and Go. The dataset was meticulously curated to ensure accuracy, with a manual analysis revealing an incorrect ground truth rate of only 0.06%. |
|
### Dataset Description |
|
|
|
The BeetleBox dataset is a substantial multi-language, multi-project dataset specifically compiled for bug localization research. It features 26,321 bugs from 29 projects across five widely used programming languages: Java, Python, C++, JavaScript, and Go. This dataset was carefully curated to maintain accuracy, with a manual analysis revealing an incorrect ground truth rate of only 0.06%. The dataset includes detailed information for each bug report, such as the bug's status, repository name, repository URL, issue ID, a list of files updated during the fix, the bug report's title, body, pull request URL, issue URL, SHA values before and after the fix, and the dates and times of both the bug report and the fixing commit. |
|
The dataset was gathered from popular repositories on GitHub based on their star ratings and recent updates, ensuring active and well-maintained projects. Each repository's closed issues and corresponding fixing pull requests were linked using predefined GitHub keywords, and issues linked to multiple pull requests were filtered to ensure only a single, merged pull request was included. |
|
|
|
|
|
#### Dataset Statistics |
|
|
|
| Language | Train | Test | |
|
|:----------:|:-----:|:-----:| |
|
| C++ | 3,868 | 4,783 | |
|
| Go | 758 | 400 | |
|
| Java | 3,369 | 2,270 | |
|
| JavaScript | 1,974 | 3,085 | |
|
| Python | 3,215 | 2,599 | |
|
|
|
|
|
#### Key Features |
|
- **Multi-Language:** Covers five major programming languages. |
|
- **Multi-Project:** Includes data from 29 different projects. |
|
- **High Accuracy:** Maintains a low incorrect ground truth rate of 0.06%. |
|
- **Detailed Metadata:** Provides extensive details for each bug report. |
|
|
|
|
|
<!-- - **Curated by:** [More Information Needed] |
|
- **Language(s) (NLP):** [More Information Needed] |
|
- **License:** [More Information Needed] --> |
|
<!-- |
|
### Dataset Sources [optional] |
|
|
|
<!-- Provide the basic links for the dataset. --> |
|
|
|
### Dataset Sources |
|
|
|
**Repository:** [https://zenodo.org/records/15122980](https://zenodo.org/records/15122980) |
|
**Paper:** [BLAZE: Cross-Language and Cross-Project Bug Localization via Dynamic Chunking and Hard Example Learning](http://dx.doi.org/10.1109/TSE.2025.3579574) |
|
**Demo & Usage:** Code, usage instructions, and model details are available in the repository. |
|
|
|
#### Citation |
|
|
|
```bibtex |
|
@article{Chakraborty2025, |
|
title = {BLAZE: Cross-Language and Cross-Project Bug Localization via Dynamic Chunking and Hard Example Learning}, |
|
ISSN = {2326-3881}, |
|
url = {http://dx.doi.org/10.1109/TSE.2025.3579574}, |
|
DOI = {10.1109/TSE.2025.3579574}, |
|
journal = {IEEE Transactions on Software Engineering}, |
|
publisher = {Institute of Electrical and Electronics Engineers (IEEE)}, |
|
author = {Chakraborty, Partha and Alfadel, Mahmoud and Nagappan, Meiyappan}, |
|
year = {2025}, |
|
pages = {1--14} |
|
} |
|
|