Comments (11)
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.
from arja.
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.
from arja.
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.
from arja.
Please check the "mutation" method in GenProgGA.java to see whether the loop is infinite or not.
from arja.
from arja.
Arja does not contain this loop. The implementation of initialization is different since they are based on different solution representations.
from arja.
from arja.
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)
- License ? HOT 1
- Runing Problem HOT 2
- Dependencies are not being passed to the SeedLineGenerator external process.
- Dependencies are not being passed to the TestFilter external process. HOT 4
- Can ARJAE save generated repaired programs instead of patches? HOT 2
- ArjaE branch: ExternalTestExecutor HOT 1
- How to write my own buggy program and corresponding test suite?
- On the multiobjective repair algorithm in Arja(-e) HOT 1
- java.lang.NoClassDefFoundError error HOT 10
- How to import this tool in Eclipse? HOT 10
- How is the compilation process going on? HOT 17
- ASTParser error: invalid environment settings HOT 2
- Is there any argument/option to force Arja to only consider a given set of tests? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arja.