CODE COMPLETION OF METHOD PARAMETERS WITH MACHINE LEARNING

A code completion tool uses machine learning models to more precisely predict the likelihood of the parameters of a method invocation. A score is computed for each candidate variable that is used to rank the viability of a variable as the intended parameter. The score is a weighted sum of a scope fa...

Full description

Saved in:
Bibliographic Details
Main Authors POESCHL, David, SUNDARESAN, Neelakantan, ZHANG, Shuo, FU, Shengyu, ZHAO, Ying
Format Patent
LanguageEnglish
French
German
Published 29.05.2024
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:A code completion tool uses machine learning models to more precisely predict the likelihood of the parameters of a method invocation. A score is computed for each candidate variable that is used to rank the viability of a variable as the intended parameter. The score is a weighted sum of a scope factor, an edit distance factor and a declaration proximity factor. The factors are based on a scope model, a method overload model, and a weight file trained offline on a training set of source code programs utilizing various method invocations.
Bibliography:Application Number: EP20190824066