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.
Patent No.:
Date of Patent:
Mar. 04, 2025
Filed:
Mar. 21, 2023
Microsoft Technology Licensing, Llc., Redmond, WA (US);
Spandan Garg, Redmond, WA (US);
Neelakantan Sundaresan, Bellevue, WA (US);
Roshanak Zilouchian Moghaddam, Kirkland, WA (US);
Microsoft Technology Licensing, LLC., Redmond, WA (US);
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.