Kevin Jesse

dblp:250/2929 · DBLP profile ↗
← Back
2ranked-venue papers in the field
2as first author
2since 2021 · last 2023
0000-0003-0484-1766ORCID · corroborated

Domains — venue-derived; a paper can count in several

Other / Interdisciplinary · 2 (2 first)
YearPublicationVenuePosition
2023 Large Language Models and Simple, Stupid Bugs
abstract
With the advent of powerful neural language models, AI-based systems to assist developers in coding tasks are becoming widely available; Copilot is one such system. Copilot uses Codex, a large language model (LLM), to complete code conditioned on a preceding "prompt". Codex, however, is trained on public GitHub repositories, viz., on code that may include bugs and vulnerabilities. Previous studies [1], [2] show Codex reproduces vulnerabilities seen in training. In this study, we examine how prone Codex is to generate an interesting bug category, single statement bugs, commonly referred to as simple, stupid bugs or SStuBs in the MSR community. We find that Codex and similar LLMs do help avoid some SStuBs, but do produce known, verbatim SStuBs as much as 2x as likely than known, verbatim correct code. We explore the consequences of the Codex generated SStuBs and propose avoidance strategies that suggest the possibility of reducing the production of known, verbatim SStubs, and increase the possibility of producing known, verbatim fixes.
Kevin Jesse, Toufique Ahmed, Premkumar T. Devanbu, Emily Morgan
MSR1
2022 ManyTypes4TypeScript: A Comprehensive TypeScript Dataset for Sequence-Based Type Inference
abstract
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 Type-Script. 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.
Kevin Jesse, Premkumar T. Devanbu
MSR1