question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve Repairnator support for different modes

See original GitHub issue

Currently 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:closed
  • Created 5 years ago
  • Comments:17 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
fermadeiralcommented, Oct 23, 2018

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.

0reactions
monperruscommented, Mar 18, 2019

closed by #797

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found