Coder Social home page Coder Social logo

Comments (4)

xgdsmileboy avatar xgdsmileboy commented on July 3, 2024 1

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.

xgdsmileboy avatar xgdsmileboy commented on July 3, 2024

Sure, please refer to https://github.com/xgdsmileboy/SimFix/blob/master/src/cofix/main/Repair.java#L273

from simfix.

Wooza avatar Wooza commented on July 3, 2024

Alright, thanks for your quick reply.

from simfix.

Wooza avatar Wooza commented on July 3, 2024

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)

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.