Invention Grant
- Patent Title: Automated program repair tool
-
Application No.: US16897824Application Date: 2020-06-10
-
Publication No.: US11526424B2Publication Date: 2022-12-13
- Inventor: Shao Kun Deng , Neelakantan Sundaresan , Alexey Svyatkovskiy , Michele Tufano
- 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: G06F11/36
- IPC: G06F11/36 ; G06N20/00

Abstract:
An automated program repair tool utilizes a neural transformer model with attention to predict the contents of a bug repair in the context of source code having a bug of an identified bug type. The neural transformer model is trained on a large unsupervised corpus of source code using a span-masking denoising optimization objective, and fine-tuned on a large supervised dataset of triplets containing a bug-type annotation, software bug, and repair. The bug-type annotation is derived from an interprocedural static code analyzer. A bug type edit centroid is computed for each bug type and used in the inference decoding phase to generate the bug repair.
Public/Granted literature
- US20210357307A1 AUTOMATED PROGRAM REPAIR TOOL Public/Granted day:2021-11-18
Information query