five

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

收藏
Zenodo2020-07-15 更新2026-05-25 收录
下载链接:
https://zenodo.org/record/2529947
下载链接
链接失效反馈
官方服务:
资源简介:
This dataset contains pairs &lt;code changes, commit message&gt; from top 1000-2000 Java projects in GitHub via GitHub Developer API. The structure of files is as follows: &lt;repository-id&gt;.&lt;repository-name&gt;/ # Each directory contains commits of one project. &lt;commit-id&gt;.&lt;commit-sha&gt;/ # Each directory contains one commit information, and<br> # the commit-sha is the primary key of this commit in GitHub. <br> # The children in this directory have 3 types: the file<br> # "commit_msg", multiple directories "&lt;filename&gt;", and the file<br> # "error". commit_msg # This file contains one line, representing the commit<br> # message. &lt;filename&gt;/ # The name of this directory is the changed file name. patch # The code diffs of this &lt;filename&gt;, describing<br> # which lines are added and which lines are<br> # removed with some same lines context. &lt;filename&gt;/ patch error # This file contains the error message when crawling<br> # from GitHub. If this file exists, the directories<br> # &lt;filename&gt; will not exist.

本数据集包含通过GitHub开发者API(GitHub Developer API)获取的GitHub平台上排名1000至2000的Java项目的<代码变更,提交消息>配对样本。 其文件结构如下: <repository-id>.<repository-name>/ # 每个目录对应一个项目的全部提交记录。 <commit-id>.<commit-sha>/ # 每个目录包含一条提交的详细信息,其中commit-sha为该提交在GitHub中的主键。该目录下的子项分为三类:文件commit_msg、多个名为<filename>的目录,以及文件error。 commit_msg # 该文件仅包含一行内容,即为该提交的提交消息。 <filename>/ # 该目录的名称为发生变更的文件名。 patch # 该文件存储该变更文件的代码差异,描述了新增、删除的代码行及部分上下文一致的代码行。 <filename>/ patch error # 该文件存储从GitHub爬取数据时产生的错误信息。若存在该文件,则不会存在名为<filename>的目录。
提供机构:
Zenodo
创建时间:
2019-01-02
二维码
社区交流群
二维码
科研交流群
商业服务