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:
Mar. 04, 2025

Filed:

Mar. 21, 2023
Applicant:

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

Inventors:

Spandan Garg, Redmond, WA (US);

Neelakantan Sundaresan, Bellevue, WA (US);

Roshanak Zilouchian Moghaddam, Kirkland, WA (US);

Assignee:
Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 11/36 (2006.01); G06F 8/35 (2018.01); G06F 8/36 (2018.01); G06F 11/3668 (2025.01);
U.S. Cl.
CPC ...
G06F 11/3692 (2013.01); G06F 8/35 (2013.01); G06F 8/36 (2013.01); G06F 11/3668 (2013.01);
Abstract

A pre-trained neural code generation model generates repair code for a method containing a performance bug given a prompt including a code transformation instruction. The code transformation instruction guides the model on how to predict the repair code when the model has not been fine-tuned for the repair code task. The code transformation instruction is retrieved from abstract bug patterns derived from historical performance bug fixes found in commits to a source code repository. The augmentation of the code transformation instruction in the prompt to the pre-trained neural code generation model provides the model with a hint on how the repair code may be generated based on similar performance bug fixes.


Find Patent Forward Citations

Loading…