AdaptivePaste: Code Adaptation through Learning Semantics-aware Variable Usage Representations
Published in arXiv (Cornell University) • May 23, 2022
NobleIDNI8P44W62R37S77
Authors:,,
Xiaoyu Liu
Jinu Jang
Neel Sundaresan
Abstract
In software development, it is common for programmers to copy-paste or port code snippets and then adapt them to their use case. This scenario motivates the code adaptation task -- a variant of program repair which aims to adapt variable identifiers in a pasted snippet of code to the surrounding, pr...
Finding related papers...
Discussions
(0)No comments yet
Be the first to share your thoughts!