Skip to content
Bugs.jar: A Large-scale, Diverse Dataset of Bugs for Java Program Repair
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
accumulo @ e84e346
camel @ 1e67b67
commons-math @ 1266fe0
flink @ 47a6df2
jackrabbit-oak @ 75509f6
logging-log4j2 @ fc6be05
maven @ 9f80c71
wicket @ 66cd087 Modified README.md. Feb 7, 2018
.gitmodules
README.md Modified README.md. Feb 7, 2018

README.md

Bugs.jar: A Large-scale, Diverse Dataset of Bugs for Java Program Repair

How To Install

For the first time, you should clone this repository as well as its submodules:

$ git clone --recursive https://github.com/bugs-dot-jar/bugs-dot-jar.git

To update the dataset, don't forget to update the submodules as well:

$ git pull --recurse-submodules && git submodule update --recursive

Directory & File Structure

To browse a specific bug data, please go to one of the following project directories and select a branch starting with "bugs-dot-jar-". The branch names follow the format: "bugs-dot-jar_[JIRA Issue ID]_[Git commit ID of the fixed version]. Each branch in a project represents the buggy version corresponding to the JIRA Issue and also includes the bug report, the developer patch, and the test results under .bugs-dot-jar directory.

.
+-- accumulo
|   +-- .bugs-dot-jar
|       +-- bug-report.yml
|       +-- developer-patch.diff
|       +-- test-results.txt
|       +-- flaky-test-results.txt
+-- camel
|   +-- ...
+-- commons-math
|   +-- ...
+-- flink
|   +-- ...
+-- jackrabbit-oak
|   +-- ...
+-- logging-log4j2
|   +-- ...
+-- maven
|   +-- ...
+-- wicket
|   +-- ...
+-- README.md
+-- .gitmodules

For example, you can checkout the buggy version corresponding to the JIRA Issue ACCUMULO-1051 as follows:

$ cd accumulo
$ git branch -a | grep bugs-dot-jar_
  remotes/origin/bugs-dot-jar_ACCUMULO-1044_9396979b
  remotes/origin/bugs-dot-jar_ACCUMULO-1044_ea2f9856
  remotes/origin/bugs-dot-jar_ACCUMULO-1051_25cf3ccd
  remotes/origin/bugs-dot-jar_ACCUMULO-1120_474b2577
  ...
$ git checkout bugs-dot-jar_ACCUMULO-1051_25cf3ccd
Branch 'bugs-dot-jar_ACCUMULO-1051_25cf3ccd' set up to track remote branch 'bugs-dot-jar_ACCUMULO-1051_25cf3ccd' from 'origin'.
Switched to a new branch 'bugs-dot-jar_ACCUMULO-1051_25cf3ccd'
$ ls -a .bugs-dot-jar
.                      bug-report.yml         flaky-test-results.txt
..                     developer-patch.diff   test-results.txt

Disclamer

THIS SOFTWARE DATA SET IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTOR "AS IS." BY USING THE SOFTWARE DATA SET, YOU EXPRESSLY UNDERSTAND AND AGREE THAT, EXCEPT TO THE EXTENT PROHIBITED BY LAW, ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND/OR ANY WARRANTIES THAT THIS SOFTWARE DATA SET WILL BE ERROR FREE OR FREE OF HARMFUL COMPONENTS, ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE DATA SET, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

You understand and agree that you will not: 1) make false or misleading statements or representations regarding Fujitsu or Fujitsu products and services; 2) take on any obligation or responsibility, or make any representation, warranty, guarantee or endorsement to anyone on Fujitsu’s behalf (including, without limitation, any of our products or services); and that you will not state or imply that Fujitsu has developed, endorsed, reviewed or otherwise approved of any of your products. You agree that you will indemnify, defend and hold us harmless from and against any and all claims which may arise under or out of your use of the Software Data Set; your negligence or intentional misconduct; your products, or any integrations you develop, design, promote or distribute using the Software Data Set; any misrepresentations you make with respect to Fujitsu, or Fujitsu products or services.

You can’t perform that action at this time.