SpoonLabs/nopol

Cannot fix a bug with a test suite, but fix it correctly with a subset of the test suite

Amirfarhad-Nilizadeh opened this issue · 4 comments

A buggy program in a BuggyJava+JML dataset can be fixed correctly with a test suite using Nopol in less than 10 seconds. However, when I add some more tests to the test suite, then after around 8 minutes, it cannot fix it (generates a "solver.out.z3" file, but not a patch).

What can be the reason?

Is there any time limitation for running to validate a candidate patch in Nopol? Maybe this time is not enough to run the larger test suite. If any limitation exists to validate a candidate patch, does any option consider managing that time to execute a candidate patch?

Thank you so much.

It makes sense; also, giving more time to the Nopol (SMT Solver) cannot solve this problem. Please let me know if this is not correct.

One more question related to this observation. Is Nopol's output deterministic with a test suite? I run it several times, and each time its output was the same.

Thank you for your quick response.