paper-with-me

Papers

ManyTypes4Py: A Benchmark Python Dataset for Machine Learning-based Type Inference

2021-04-10 · Amir M. Mir, Evaldas Latoskinas, Georgios Gousios

In this paper, we present ManyTypes4Py, a large Python dataset for machine learning (ML)-based type inference. The dataset contains a total of 5,382 Python projects with more than 869K type annotations. Duplicate source code files were removed to eliminate the negative effect of the duplication bias. To facilitate training and evaluation of ML models, the dataset was split into training, validation and test sets by files. To extract type information from abstract syntax trees (ASTs), a lightweight static analyzer pipeline is developed and accompanied with the dataset. Using this pipeline, the collected Python projects were analyzed and the results of the AST analysis were stored in JSON-formatted files. The ManyTypes4Py dataset is shared on zenodo and its tools are publicly available on GitHub.

📄 PDF Abstract BibTeX arXiv:2104.04706

Code (1)

saltudelft/many-types-4-py-dataset 공식 구현

Tasks

BIG-bench Machine LearningVocal Bursts Type Prediction

Similar Papers 제목 키워드 기반

ManyTypes4TypeScript: A Comprehensive TypeScript Dataset for Sequence-Based Type Inference

2022-10-17 · International Conference on Mining Software Repositories 2022 10 · Kevin Jesse, Premkumar T. Devanbu

In this paper, we present ManyTypes4TypeScript, a very large corpus for training and evaluating machine-learning models for sequence-based type inference in TypeScript. The dataset includes over 9 million type annotat…

Type prediction

Automated Type Annotation in Python Using Large Language Models

2025-08-01 · Varun Bharti, Shashwat Jha, Dhruv Kumar, Pankaj Jalote arxiv

Type annotations in Python enhance maintainability and error detection. However, generating these annotations manually is error prone and requires extra effort. Traditional automation approaches like static analysis, mac…

Cross-Domain Evaluation of a Deep Learning-Based Type Inference System

2022-08-19 · Bernd Gruner, Tim Sonnekalb, Thomas S. Heinze, Clemens-Alexander Brust

Optional type annotations allow for enriching dynamic programming languages with static typing features like better Integrated Development Environment (IDE) support, more precise program analysis, and early detection and…

Domain AdaptationUnsupervised Domain AdaptationVocal Bursts Type Prediction

Learning Type Inference for Enhanced Dataflow Analysis

2023-10-01 · Lukas Seidel, Sedick David Baker Effendi, Xavier Pinho, Konrad Rieck 외

Statically analyzing dynamically-typed code is a challenging endeavor, as even seemingly trivial tasks such as determining the targets of procedure calls are non-trivial without knowing the types of objects at compile ti…

Type prediction

TypyBench: Evaluating LLM Type Inference for Untyped Python Repositories

2025-07-28 · Honghua Dong, Jiacheng Yang, Xun Deng, Yuhe Jiang 외 arxiv

Type inference for dynamic languages like Python is a persistent challenge in software engineering. While large language models (LLMs) have shown promise in code understanding, their type inference capabilities remain un…