Comments (4)
Exactly, multiple places should be repaired for some bugs in Defects4J. However, after test case purification, bugs in different places may have nothing with each other. In such cases, if all places can be correctly repaired separately, the correct patch should be their combination. Please note, if there is at least one place that is not repaired, we think the repair for the bug is incorrect.
Such as the bug of Chart-22, the combination of Change 1
and Change 2
is not the complete repair according to https://github.com/rjust/defects4j/blob/master/framework/projects/Chart/patches/22.src.patch.
Hope it will help.
from simfix.
Sure, please refer to https://github.com/xgdsmileboy/SimFix/blob/master/src/cofix/main/Repair.java#L273
from simfix.
Alright, thanks for your quick reply.
from simfix.
Sorry to bother you again. As far as I can tell, SimFix does not create a direct patch file, but rather individual changes that are necessary to pass certain purified test cases. So can the whole patch be seen as the application of all these changes?
I'm curious about this, because for example, Chart-22 has two competing changes to the method removeRow(Comparable)
(Change 1, Change 2). Is such a patch automatically considered incorrect (Chart-22 was) if it contains competing changes?
from simfix.
Related Issues (16)
- How to obtain d4j-info for newer bugs? HOT 1
- A potential bug in NodeUtils.java implementation HOT 2
- Questions Regarding "Frequent Modifications Mining" HOT 3
- Does SimFix work under Java-8? HOT 1
- Would it be possible/easy to run SimFix on any other bug than a D4J bug? HOT 1
- apply new data HOT 1
- Failed to repair chart1/20 HOT 2
- 请问有中文版论文吗 HOT 7
- SimFix crashed in some bugs HOT 2
- 您好,请教一下lang和chart修复失败的问题 HOT 3
- 执行jar包时出错 HOT 1
- 修复失败 HOT 1
- Question about code snippet size (default 10) HOT 1
- Question about create a patch file HOT 1
- Timeout different for different bugs HOT 4
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 simfix.