Open jose opened 4 years ago
Those variables are not used in the normal execution mode of NPEFix, you can simply ignore them.
Thanks @tdurieux. Any reason to have them available in version 0.8-SNAPSHOT
?
The default main class was different, we used: 'https://github.com/SpoonLabs/npefix/blob/master/src/evaluation/java/fr/inria/spirals/npefix/main/MainEvaluation.java' because it was the experiment for the lastest NPEFix paper. We changed the main class to be able to run NPEFix as an independent repair tool instead of being "hardcoded" for one of our benchmark. We are now using this main: https://github.com/SpoonLabs/npefix/blob/master/src/main/java/fr/inria/spirals/npefix/main/run/Main.java as the default main in the jar
Not being able to define --m2
and --seed
on the command line is a down for me. It would be great if you can make those available in the official main. Thanks in advance.
The variable m2 is never used in the code, it was only used the execution framework of a different experiment. The official execution mode of NPEFix does not have random. I will add the seed parameter but it will not be useful for the execution mode that you are using.
(I am waiting to receive the permission to push in this repo)
The variable m2 is never used in the code, it was only used the execution framework of a different experiment. The official execution mode of NPEFix does not have random. I will add the seed parameter but it will not be useful for the execution mode that you are using.
Ok, I was not aware of that. In that case I guess we can close this issue.
Hi,
According to the README.md file
(-k|--m2) <~/.m2>
allows one to defined the path to them2
directory(-s|--seed) <randomSeed>
allows one to define the seed of the random generatorhowever, these options are no longer available in version
0.8-SNAPSHOT
. Is there any way to define these options (using the command line options) so that I don't have to configure a newconfig.ini
every single time I wanna runnpefix
with a different seed?-- Best, Jose