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. 26, 2024

Filed:

Dec. 17, 2021
Applicant:

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

Inventors:

Shao Kun Deng, New York City, NY (US);

Neelakantan Sundaresan, Bellevue, WA (US);

Alexey Svyatkovskiy, Bellevue, WA (US);

Michele Tufano, Bellevue, WA (US);

Assignee:
Attorney:
Primary Examiner:
Assistant Examiner:
Int. Cl.
CPC ...
G06F 8/33 (2018.01); G06F 18/21 (2023.01); G06N 3/04 (2023.01);
U.S. Cl.
CPC ...
G06F 8/33 (2013.01); G06F 18/217 (2023.01); G06N 3/04 (2013.01);
Abstract

A deep learning model trained to learn to predict source code is tuned for a target source code generation task through reinforcement learning using a reward score that considers the quality of the source code predicted during the tuning process. The reward score is adjusted to consider code-quality factors and source code metrics. The code-quality factors account for the predicted source code having syntactic correctness, successful compilation, successful execution, successful invocation, readability, functional correctness, and coverage. The source code metrics generate a score based on how close the predicted source code is to a ground truth code.


Find Patent Forward Citations

Loading…