“…Since no semantic information is taken into account when deciding whether a piece of code should be considered as a match during the search, keyword-based search often produce results that are irrelevant. To improve the search result quality, various semantics-based code search techniques have been developed in the past few years [2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18], among which techniques for example-based code search have yielded promising results [3,19,20,21]. In example-based code search, a query typically contains a set of examples specifying the desired input/output (IO) behaviors of the target code.…”