Patent ID: 11914993
Assignee: AMAZON TECHNOLOGIES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 11:
12. The computer-implemented method as recited in claim 6, further comprising:
generating (a) a first program dependency graph representing a positive source code example of the first collection and (b) a second program dependency graph representing a negative source code example of the first collection; and
determining a similarity-based mapping between a first node of the first program dependency graph and a second node of the second program dependency graph based at least in part on one or more properties of the first and second nodes, selected from a set of properties comprising (a) a name of an invoked method or function, (b) a number of parameters of a method invocation or function call, (c) a data type of a programming construct within which a method or function is defined, and (d) a number of nodes within a particular edge-count-neighborhood of a first node for which corresponding similarity-based mappings have been identified within the particular edge-count-neighborhood of the second node, wherein the aggregate representation is generated based at least in part on the similarity-based mapping between the first node and the second node.