Patent ID: 8756576

Claim:
A method for providing execution feedback of peer submitted executable code snippets executed for correction of semantic errors in code, said method comprising the steps of: identifying, in a syntax tree constructed for code inputted by a first developer into a first instance of a code editor in an integrated development environment, a node containing at least one semantic error pertaining to use of a third-party library, wherein said identifying provides a collaboration datastore for storing one or more collaboration records containing respective invocations for identifying said node, and wherein a respective invocation of said respective invocations includes a type of invocation and one or more parameters of an invocation; creating a respective semantic error marker within said first instance of said code editor for said at least one semantic error identified using one or more collaboration records located for said node; selecting, based on previous execution feedback provided by peer developers, an executable code snippet of one or more executable code snippets displayed for correcting said at least one semantic error for said node identified in said code to be executed, wherein said one or more executable code snippets displayed are associated with one or more collaboration records located for said node identified, wherein an execution feedback from said peer developers comprises a description of an execution result caused by executing a particular executable code snippet to correct a semantic error in particular code from the third-party library, wherein a first executable code snippet that has a higher success rate for correcting an error is ranked higher than a second executable code snippet that has a lower success rate than the first executable code snippet for correcting the error, and wherein said one or more executable code snippets displayed are ranked based on said previous execution feedback provided by peer developers for correcting said at least one semantic error; executing, using a code executor, said code inputted in said integrated development environment and said executable code snippet; automatically transmitting results of execution of the executable code snippet to the collaboration datastore; determining whether or not said executable code snippet selected corrected said at least one semantic error for said node identified; if said executable code snippet selected is determined not to have corrected said at least one semantic error, transmitting a new execution feedback conveying failure of said executable code snippet selected to correct said at least one semantic error; constructing, by a code parser, an Abstract Syntax Tree (AST) representation of the code inputted in the code editor; providing, by a collaboration record locator, an interface to the collaboration datastore; and utilizing the AST constructed by the code parser to locate one or more collaboration records stored in the collaboration datastore.