CPC G06F 11/3636 (2013.01) | 20 Claims |
1. A system comprising:
one or more processors; and
a memory that stores one or more programs that are configured to be executed by the one or more processors, the one or more programs including instructions to perform actions that:
obtain a source code snippet generated by a neural language model given an input sequence of source code, wherein the input sequence includes a plurality of input source code tokens, wherein the source code snippet includes a plurality of output source code tokens;
locate an error in the source code snippet generated by the neural language model, wherein the error is associated with a select token in the source code snippet;
generate a set of rationales for the select token in the source code snippet, wherein the set of rationales comprises a smallest subset of tokens of the input sequence of source code tokens that led to generation of the select token in the source code snippet generated by the neural language model; and
identify a source of the error in the source code snippet generated by the neural language model to at least one token of the set of rationales associated with the select token in the source code snippet.
|