SpoonLabs / astor

Automatic program repair for Java with generate-and-validate techniques :v::v:: jGenProg (2014) - jMutRepair (2016) - jKali (2016) - DeepRepair (2017) - Cardumen (2018) - 3sfix (2018)
https://hal.archives-ouvertes.fr/hal-01321615/document
GNU General Public License v2.0
207 stars 106 forks source link

keepcomments optionally #329

Closed JakkuSakura closed 3 years ago

JakkuSakura commented 3 years ago

The default is false to keep the original bahavior. Should I set it to true by default?

martinezmatias commented 3 years ago

Nice @qiujiangkun The changes seems nice. I could be nice if we can include a Test case to check the new behaviour: pass true and assert the comments are in the diff. Could be possible? thanks!

JakkuSakura commented 3 years ago

Tests need be done with each repair method. I haven't look through the tests yet, though

monperrus commented 3 years ago

a test for one single repair method would already be good

monperrus commented 3 years ago

@martinezmatias merge?