Datasets:
File size: 7,347 Bytes
222631a 39070ef 222631a 39070ef 222631a 2566aa4 222631a 2566aa4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 |
---
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: 39772539.62553094
num_examples: 11761
- name: test
num_bytes: 30776584.756565426
num_examples: 12021
download_size: 23878160
dataset_size: 70549124.38209637
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] --> --> |