Invention Grant
- Patent Title: Neural code completion via re-ranking
-
Application No.: US16900993Application Date: 2020-06-15
-
Publication No.: US11307831B2Publication Date: 2022-04-19
- Inventor: Miltiadis Allamanis , Shengyu Fu , Xiaoyu Liu , Neelakantan Sundaresan , Alexey Svyatkovskiy
- Applicant: MICROSOFT TECHNOLOGY LICENSING, LLC.
- Applicant Address: US WA Redmond
- Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC.
- Current Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC.
- Current Assignee Address: US WA Redmond
- Main IPC: G06F8/33
- IPC: G06F8/33 ; G06N3/04 ; G06F8/35 ; G06F8/30

Abstract:
A code completion system uses neural components to rank the unordered list of code completion candidates generated from an existing static analyzer. The candidates represent the next sequence of tokens likely to complete a partially-formed program element as a developer is typing in a software development tool. A re-ranking component generates a ranked order of the candidates based on a context embedding of the code context and candidate embeddings of the candidates, where both embeddings are based a common token encoding.
Public/Granted literature
- US20210279042A1 NEURAL CODE COMPLETION VIA RE-RANKING Public/Granted day:2021-09-09
Information query