Published January 11, 2022 | Version 0.1

CrossDomainTypes4Py: A Python Dataset for Cross-Domain Evaluation of Type Inference Systems

  • 1. German Aerospace Center (DLR)
  • 2. German Aerospace Center (DLR), Cooperative University Gera-Eisenach

Description

This dataset contains python repositories mined on GitHub on January 20, 2021. It allows a cross-domain evaluation of type inference systems. For this purpose, it consists of two sub-datasets, each containing only projects from the web or scientific calculation domain, respectively. Therefore we searched for projects with dependencies to either NumPy or Flask. Furthermore, only projects with dependencies to mypy were considered, because this should ensure that at least parts of the projects have type annotations. These can be used later as ground truth. Further details about the dataset will be described in an upcoming paper, as soon as it is published it will be linked here.
The dataset consists of two files for the two sub-datasets. The web domain dataset contains 3129 repositories and the scientific calculation domain dataset contains 4783 repositories. The files have two columns with the URL to the GitHub repository and the used commit hash. Thus, it is possible to download the dataset using shell or python scripts, for example, the pipeline provided by ManyTypes4Py can be used.
If repositories do not exist anymore or are private, you can contact us via the following email address: bernd.gruner@dlr.de. We have a backup of all repositories and will be happy to help you. 

Files

Files (703.8 kB)

Name Size Download all
md5:e3dbdd73c2ded6d7c2b80641a728daee
424.8 kB Download
md5:c6771490a40b9730d0e5d192362621a7
278.9 kB Download