Skip to main content
zenodoopen

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

<p>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&nbsp;we searched for projects with dependencies to either <a href="https://numpy.org/">NumPy</a>&nbsp;or <a href="https://flask.palletsprojects.com/en/2.0.x/">Flask</a>. Furthermore, only projects with dependencies to <a href="http://mypy-lang.org/">mypy</a>&nbsp;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.<br> 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&nbsp;two columns with the URL to the GitHub repository and the used&nbsp;commit hash. Thus, it is possible to download the dataset using shell or python&nbsp;scripts, for example, the pipeline provided by <a href="https://github.com/saltudelft/many-types-4-py-dataset">ManyTypes4Py</a>&nbsp;can be used.<br> 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.&nbsp;</p>

ShareScore

40/100

Overall dataset sharing score

Score breakdown

These five areas show where the dataset supports — or may limit — practical reuse.

Stewardship
8
Harmonization
4
Access
16
Reuse readiness
8
Engagement
4

Topics