Improve Repairnator support for different modes
See original GitHub issueCurrently Repairnator support 2 different modes repair and bears. But I’m currently adding a new mode for repair of checkstyle errors. Which rise the total number of modes to 3. What I have done so far is add a --checkstyle flag but in my opinions it makes the things bit messy.
My proposal it to change the --bears and --checkstyle flags for a --mode option.
Also (in my case at least) I don’t really see the point of having different docker images for every Repairnator’s mode. I would rather suggest to run different scripts depending on the REPAIR_MODE environment variable.
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (17 by maintainers)
Top Results From Across the Web
Human-competitive Patches in Automatic Program Repair with ...
Repairnator is a bot. It constantly monitors software bugs discovered during continuous integration of open-source software and tries to fix ...
Read more >add support for "Sorald mode" in maven-repair #1197 - GitHub
Today, https://github.com/SpoonLabs/sorald/ is used as a command-line tool, it would be nice to be able to use it as a Maven plugin, ...
Read more >Repairnator patches programs automatically - arXiv
A program repair bot is an artificial agent that tries to synthesize source code patches. It analyzes bugs and produces patches, which support...
Read more >Repairnator, an autonomous robot to repair computer bugs
Repairnator is the first repair bot capable of automatically repairing computer bugs on a large scale. In short, effective and autonomous ...
Read more >(PDF) How to design a program repair bot? - ResearchGate
At the time of writing, Repairnator uses three different program repair systems and has ... vented to help developers gain productivity.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I think that I agree with @bloriot97.
The checkstyle repair tool would be different from the current repair tools in two ways: 1) it does not target test failure like the current repair tools (i.e. even the maven invocation will be different), and 2) the change in the code is on “formatting”, not on logical stuff.
For these reasons, I think reasonable to have a mode specific for it, but not having that it’s possible to make it work too.
closed by #797