The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Jul. 09, 2024

Filed:

Mar. 24, 2022
Applicant:

Microsoft Technology Licensing, Llc., Redmond, WA (US);

Inventors:

Miltiadis Allamanis, Cambridge, GB;

Shengyu Fu, Redmond, WA (US);

Xiaoyu Liu, Sammamish, WA (US);

Neelakantan Sundaresan, Bellevue, WA (US);

Alexey Svyatkovskiy, Bellevue, WA (US);

Assignee:
Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 8/51 (2018.01); G06F 8/41 (2018.01); G06F 8/53 (2018.01); G06N 3/08 (2023.01); G06F 16/901 (2019.01); G06F 40/279 (2020.01); G06F 40/284 (2020.01); G06F 40/30 (2020.01); G06N 3/0455 (2023.01); G06N 20/00 (2019.01);
U.S. Cl.
CPC ...
G06F 8/51 (2013.01); G06N 3/08 (2013.01); G06F 8/41 (2013.01); G06F 8/433 (2013.01); G06F 16/9027 (2019.01); G06F 40/279 (2020.01); G06F 40/284 (2020.01); G06F 40/30 (2020.01); G06N 3/0455 (2023.01); G06N 20/00 (2019.01);
Abstract

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.


Find Patent Forward Citations

Loading…