Code Monkey home page Code Monkey logo

bugs-dot-jar's Introduction

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.

bugs-dot-jar's People

Contributors

bugs-dot-jar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.