Targeted Example Generation for Compilation Errors
Ahmed, Umair Z., Sindhgatta, Renuka, Srivastava, Nisheeth, Karkare, Amey
–arXiv.org Artificial Intelligence
The repaired code example in Figure 3b deletes assignment operator " ", and inserts an equality operator " ". Hence its set of repair tokens are {, - }. D. Error Repair Class Given a buggy source program that suffers from compilation errors ( E s) which require a set of repair tokens ( R s) to fix, its error-repair class ( C) is defined as the merged set of errors and repairs {E s R s}. For example, the erroneous-repaired code pair in Figure 3 belongs to C 8 {E 10 - }, the 8 th most frequently occurring error-repair class. We determine the error-repair class of the 23, 275 erroneous-repaired code pairs in our dataset. Table III lists the error-repair classes ( C s) sorted in decreasing order of frequency, along with the number of buggy programs belonging to each class.
arXiv.org Artificial Intelligence
Sep-2-2019