Code adaptation through deep learning
AssigneeMicrosoft Technology Licensing, LLC
InventorsMiltiadis ALLAMANIS, Shengyu FU, Xiaoyu LIU, Neelakantan SUNDARESAN, Alexey SVYATKOVSKIY
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Technology Licensing, LLC
InventorsMiltiadis ALLAMANIS, Shengyu FU, Xiaoyu LIU, Neelakantan SUNDARESAN, Alexey SVYATKOVSKIY
Estimating the term…
A code adaptation mechanism automatically integrates the variable names of a pasted source code snippet into variable names defined in a pre-existing partial source code program. The variable names from the pasted source code snippet are replaced with anonymized values. A deep learning model predicts the most likely variable name from the pre-existing partial source code program to replace each anonymized value. The deep learning model is trained on numerous variable usage patterns from various source code programs to learn to predict the most likely mapping of an undefined variable name from the pasted source code snippet to a variable name in the pre-existing partial source code program thereby generating a syntactically and semantically correct program.
A system comprising:
A method comprising:
One or more hardware storage devices that store instructions that are executable by one or more processors to cause the one or more processors to:
Dependencies are inferred from the claim text.