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
208 stars 106 forks source link

3sfix is not in the mode list #201

Closed Amirfarhad-Nilizadeh closed 5 years ago

Amirfarhad-Nilizadeh commented 5 years ago

I get the below error when I want to use 3sfix mode. How can I use 3sfix?

Unknown mode of execution: '3sfix', modes are: [DeepRepair, CARDUMEN, jGenProg, jKali, MutRepair, EXASTOR, SCAFFOLD, custom]

monperrus commented 5 years ago

you have to call fr.inria.astor.approaches._3sfix.Main

Amirfarhad-Nilizadeh commented 5 years ago

Thank you for your help.

I can see the directory of "src-3sfix" after installing Astor, which has "_3sfix.java" and other java codes. However, when I want to use it with the command line that I used for other 4 tools I get an Error message. The message says that "3sfix" is not among the supported modes, you can find the message in my first comment.

Should I use it in a different way? Or, Is any problem with 3sfix at the moment?

monperrus commented 5 years ago

Yes, 3sfix is not to be used with the command line you used.

A pull-request to add support for the main command line would be much appreciated :)

Amirfarhad-Nilizadeh commented 5 years ago

Thank you so much.

monperrus commented 5 years ago

You're welcome, happy to help :)