ASSERT-KTH / drr

Tool & data on the correctness of Defects4 patches generated by program repair tools http://arxiv.org/pdf/1909.13694
http://arxiv.org/pdf/1909.13694
Creative Commons Attribution Share Alike 4.0 International
10 stars 6 forks source link

convert patches into a patch format compatible with defects4j #3

Open monperrus opened 6 years ago

monperrus commented 6 years ago

it means created a file patch-Chart8-JAID.patch where line numbers, format, hunk information is compatible.

this is mostly manual work

and then push those unified path to the repo

tdurieux commented 6 years ago

I think the easier solution is not to create a patch but to create directly the patched version of the file.

It will simplify the manual task and the script and also allows to use the ASTOR patch.

WDYT?

monperrus commented 6 years ago

You're right, that's probably much easier and we'll create the patches afterwards automatically.