paper-with-me

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 annotations, across 13,953 projects and 539,571 files. The dataset is approximately 10x larger than analogous type inference datasets for Python, and is the largest available for TypeScript. We also provide API access to the dataset, which can be integrated into any tokenizer and used with any state-of-the-art sequence-based model. Finally, we provide analysis and performance results for state-of-the-art code-specific models, for baselining. ManyTypes4TypeScript is available on Huggingface, Zenodo, and CodeXGLUE.

📄 PDF Abstract BibTeX

Code (1)

🤗 kevinjesse/graphcodebert-MT4TS 공식 구현

Tasks

Type prediction

Similar Papers 제목 키워드 기반

SODA: a TypeScript/JavaScript Library for Visualizing Biological Sequence Annotation

2022-05-12 · Jack W. Roddy, George T. Lesica, Travis J. Wheeler

We present SODA, a lightweight and open-source visualization library for biological sequence annotations that enables straightforward development of flexible, dynamic, and interactive web graphics. SODA is implemented in…

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

Learning Type Annotation: Is Big Data Enough?

2021-08-18 · ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering 2021 8 · Kevin Jesse, Premkumar T. Devanbu, Toufique Ahmed

TypeScript is a widely used optionally-typed language where developers can adopt “pay as you go” typing: they can add types as desired, and benefit from static typing. The “type annotation tax” or manual effort require…

Inductive Bias

Learning the Error Patterns of Language Models

2026-05-27 · Jinwoo Kim, Taylor Berg-KirkPatrick, Loris D'Antoni arxiv

When generating outputs for domains with specific validity constraints (e.g., a program should compile), LLMs often fail in a small number of focused ways: for example, by using Python function names when generating Type…

Type Prediction With Program Decomposition and Fill-in-the-Type Training

2023-05-25 · Federico Cassano, Ming-Ho Yee, Noah Shinn, Arjun Guha 외

TypeScript and Python are two programming languages that support optional type annotations, which are useful but tedious to introduce and maintain. This has motivated automated type prediction: given an untyped program, …

PredictionType prediction