Published January 2, 2019 | Version v1

Code diffs and commit messages from top1000-2000 Java projects in GitHub

Authors/Creators

  • 1. Anonymous

Description

This dataset contains pairs <code changes, commit message> from top 1000-2000 Java projects in GitHub via GitHub Developer API.

The structure of files is as follows:

  • <repository-id>.<repository-name>/       # Each directory contains commits of one project.
    • <commit-id>.<commit-sha>/          # Each directory contains one commit information, and
                                                         # the commit-sha is the primary key of this commit in GitHub. 
                                                         # The children in this directory have 3 types: the file
                                                         # "commit_msg", multiple directories "<filename>", and the file
                                                         # "error". 
      • commit_msg                           # This file contains one line, representing the commit
                                                     # message. 
      • <filename>/                            # The name of this directory is the changed file name.
        • patch                            # The code diffs of this <filename>, describing
                                              # which lines are added and which lines are
                                              # removed with some same lines context.
      • <filename>/
        • patch
      • error                                       # This file contains the error message when crawling
                                                      # from GitHub. If this file exists, the directories
                                                      # <filename> will not exist.                        

Files

commits.zip

Files (2.9 GB)

Name Size
md5:a0d21d2e0ffa5c02ecf0d3b94769bf12
2.9 GB Preview Download