Git Product home page Git Product logo

Comments (11)

yyxhdy avatar yyxhdy commented on May 28, 2024

Hi, I'm not sure what happens according to the information you provide. But please make sure that fault localization does not fail at the first place. You can try to print the fault localization outputs.

from arja.

Kaka727 avatar Kaka727 commented on May 28, 2024

from arja.

yyxhdy avatar yyxhdy commented on May 28, 2024

This should be possible. It happens when the positive test cases do not visit this faulty line. If you prefer using all test cases, you can set the default value of "testFiltered" to false in
"AbstractRepairProblem. java"

from arja.

Kaka727 avatar Kaka727 commented on May 28, 2024

from arja.

yyxhdy avatar yyxhdy commented on May 28, 2024

The possible reason is that the suspiciousness of this faulty line is no larger than a threshold (0.1 default). So the number of modification points is 0. For GenProg and RSRepair, it will lead to an infinite loop due to their initialization procedure. If you really want to just choose one faulty line, you can set the parameter -Dthr to 0.

from arja.

Kaka727 avatar Kaka727 commented on May 28, 2024

from arja.

yyxhdy avatar yyxhdy commented on May 28, 2024

Please check the "mutation" method in GenProgGA.java to see whether the loop is infinite or not.

from arja.

Kaka727 avatar Kaka727 commented on May 28, 2024

from arja.

yyxhdy avatar yyxhdy commented on May 28, 2024

Arja does not contain this loop. The implementation of initialization is different since they are based on different solution representations.

from arja.

Kaka727 avatar Kaka727 commented on May 28, 2024

from arja.

yyxhdy avatar yyxhdy commented on May 28, 2024

If the number of modification points is not 0, I think the loop should not be infinite.
The repair should go on.

Please find the doMutation method in GenProgMutation.java and add a line of code
before the for loop to make sure that edits.getNumberOfLocations() is not 0.

from arja.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.