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:
Aug. 02, 2022

Filed:

Feb. 28, 2020
Applicant:

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

Inventors:

Shaun Miller, Sammamish, WA (US);

Kalpathy Sitaraman Sivaraman, Redmond, WA (US);

Neelakantan Sundaresan, Bellevue, WA (US);

Yijin Wei, Bellevue, WA (US);

Roshanak Zilouchian Moghaddam, Kirkland, WA (US);

Assignee:
Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 9/44 (2018.01); G06F 11/36 (2006.01); G06N 20/10 (2019.01); G06N 5/00 (2006.01);
U.S. Cl.
CPC ...
G06F 11/3644 (2013.01); G06F 11/3624 (2013.01); G06N 5/003 (2013.01); G06N 20/10 (2019.01);
Abstract

Runtime errors in a source code program are detected in advance of execution by machine learning models. Features representing a context of a runtime error are extracted from source code programs to train a machine learning model, such as a random forest classifier, to predict the likelihood that a code snippet has a particular type of runtime error. The features are extracted from a syntax-type tree representation of each method in a program. A model is generated for distinct runtime errors, such as arithmetic overflow, and conditionally uninitialized variables.


Find Patent Forward Citations

Loading…