Closed Amirfarhad-Nilizadeh closed 3 years ago
This happens.
This is because too much tests make an SMT spec which can be only satisfied by hard-wiring corner cases in the patch, which is consequently overfitting.
See @zhongxingyu's paper Alleviating Patch Overfitting with Automatic Test Generation: A Study of Feasibility and Effectiveness for the Nopol Repair System (doi:10.1007/s10664-018-9619-4)
I observed that Nopol generates an overfitted patches for a buggy program with a test suite. However, when I used a subset of the test suite, Nopol generates a correct patch.
What can be the reason for this behavior?
Thank you in advance for your help and time.