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:
Oct. 10, 2023

Filed:

May. 09, 2022
Applicant:

Nec Laboratories America, Inc., Princeton, NJ (US);

Inventors:

Xuchao Zhang, Elkridge, MD (US);

Haifeng Chen, West Windsor, NJ (US);

Wei Cheng, Princeton Junction, NJ (US);

Assignee:
Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 8/72 (2018.01); G06F 8/30 (2018.01);
U.S. Cl.
CPC ...
G06F 8/72 (2013.01); G06F 8/30 (2013.01);
Abstract

Systems and methods are provided for automated computer code editing. The method includes training a code-editing neural network model using a corpus of code editing data samples, including the pre-editing samples and post-editing samples, and parsing the pre-editing samples and post-editing samples into an Abstract Syntax Tree (AST). The method further includes using a grammar specification to transform the AST tree into a unified Abstract Syntax Description Language (ASDL) graph for different programming languages, and using a gated graph neural network (GGNN) to compute a vector representation for each node in the unified Abstract Syntax Description Language (ASDL) graph. The method further includes selecting and aggregating support samples based on a query code with a multi-extent ensemble method, and altering the query code iteratively using the pattern learned from the pre- and post-editing samples.


Find Patent Forward Citations

Loading…