Code mutation addresses the inverse problem of injecting a bug into a correct program. Tufano et al. [1]} and Patra and Pradel [2]} showed that bug fixes can be effectively leverage to learn code mutations by learning to replicate the original bug. Interestingly, Yasunaga et al. [3]} showed that repeatedly training a breaker and fixer that initially learn from real bug fixes but then provide training data for each other actually improves the performance of the fixer to repair syntactic bugs. While our work showed that real bug fixes are also crucial for bug detection, we believe that exploiting real bug fixes in the mutation process for training bug detection and repair models can be a promising direction for future work.
