source{d} Datasets

source{d} datasets for source code analysis and machine learning on source code (ML on Code).

This repository contains all the needed tools and scripts to reproduce the datasets, as well as the academic papers they may relate to.

Available datasets

Public Git Archive

  • Size: 6TB

  • Description: 260k+ top-bookmarked repositories from GitHub, consisting of 136M+ files and ~28 billion lines of code.

Programming Language Identifiers

Code duplicates

Pull Request review comments

  • Size: 1.5GB

  • Description: 25.3 million GitHub PR review comments since January 2015 till December 2018.

Commit messages

  • Size: 46GB

  • Description: 1.3 billion GitHub commit messages till March 2019.

Structural commit features

DockerHub Metadata

  • Size: 1.4GB

  • Description: 1.46 million Docker image configuration and manifest files on DockerHub fetched in June 2019.

DockerHub Packages

  • Size: 15GB

  • Description: 419092 analyzed Docker images: lists of native, Python and Node packages on DockerHub fetched in summer 2019.


  • Typos

  • Size: 1MB

  • Description: 7375 typos in source code identifier names found in GitHub repositories.


Contributions are very welcome, please see and code of conduct.


The tools and scripts are licensed under Apache 2.0, see