|
--- |
|
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: 39179172.94935603 |
|
num_examples: 13184 |
|
- name: test |
|
num_bytes: 39039502.05064397 |
|
num_examples: 13137 |
|
download_size: 27557712 |
|
dataset_size: 78218675 |
|
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. --> |
|
|
|
**Repository:** [More Information Needed]\ |
|
**Paper [optional]:** [More Information Needed]\ |
|
**Demo [optional]:** [More Information Needed] |
|
|
|
<!-- ## Uses --> |
|
|
|
<!-- Address questions around how the dataset is intended to be used. --> |
|
|
|
<!-- ### Direct Use --> |
|
|
|
<!-- This section describes suitable use cases for the dataset. --> |
|
|
|
<!-- [More Information Needed] --> |
|
|
|
<!-- ### Out-of-Scope Use |
|
|
|
<!-- This section addresses misuse, malicious use, and uses that the dataset will not work well for. --> |
|
|
|
<!-- [More Information Needed] --> |
|
|
|
<!-- ## Dataset Structure --> |
|
|
|
<!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. --> |
|
|
|
<!-- [More Information Needed] |
|
|
|
## Dataset Creation --> --> |
|
|
|
<!-- ### Curation Rationale |
|
--> |
|
<!-- Motivation for the creation of this dataset. --> |
|
|
|
<!-- [More Information Needed] --> |
|
|
|
<!-- ### Source Data --> |
|
|
|
<!-- This section describes the source data (e.g. news text and headlines, social media posts, translated sentences, ...). --> |
|
|
|
|
|
|
|
<!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, tools and libraries used, etc. --> |
|
|
|
<!-- [More Information Needed] |
|
|
|
#### Who are the source data producers? --> |
|
|
|
<!-- This section describes the people or systems who originally created the data. It should also include self-reported demographic or identity information for the source data creators if this information is available. --> |
|
|
|
<!-- [More Information Needed] |
|
|
|
### Annotations [optional] --> |
|
|
|
<!-- If the dataset contains annotations which are not part of the initial data collection, use this section to describe them. --> |
|
|
|
<!-- #### Annotation process --> |
|
|
|
<!-- This section describes the annotation process such as annotation tools used in the process, the amount of data annotated, annotation guidelines provided to the annotators, interannotator statistics, annotation validation, etc. --> |
|
|
|
<!-- [More Information Needed] |
|
|
|
#### Who are the annotators? --> |
|
|
|
<!-- This section describes the people or systems who created the annotations. --> |
|
|
|
<!-- [More Information Needed] |
|
|
|
#### Personal and Sensitive Information --> |
|
|
|
<!-- State whether the dataset contains data that might be considered personal, sensitive, or private (e.g., data that reveals addresses, uniquely identifiable names or aliases, racial or ethnic origins, sexual orientations, religious beliefs, political opinions, financial or health data, etc.). If efforts were made to anonymize the data, describe the anonymization process. --> |
|
|
|
<!-- [More Information Needed] |
|
|
|
## Bias, Risks, and Limitations --> |
|
|
|
<!-- This section is meant to convey both technical and sociotechnical limitations. --> |
|
|
|
<!-- [More Information Needed] |
|
|
|
### Recommendations --> |
|
|
|
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. --> |
|
|
|
<!-- Users should be made aware of the risks, biases and limitations of the dataset. More information needed for further recommendations. --> |
|
|
|
<!-- ## Citation [optional] --> |
|
|
|
<!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. --> |
|
|
|
<!-- **BibTeX:** --> |
|
|
|
<!-- [More Information Needed] --> |
|
|
|
<!-- **APA:** --> |
|
|
|
<!-- [More Information Needed] --> |
|
|
|
<!-- ## Glossary [optional] --> |
|
|
|
<!-- If relevant, include terms and calculations in this section that can help readers understand the dataset or dataset card. --> |
|
|
|
<!-- [More Information Needed] |
|
|
|
## More Information [optional] |
|
|
|
[More Information Needed] |
|
|
|
## Dataset Card Authors [optional] |
|
|
|
[More Information Needed] |
|
|
|
## Dataset Card Contact |
|
|
|
[More Information Needed] --> --> |