xgdsmileboy / SimFix

Automatically fix programs by leveraging existing patches from other projects and similar code snippets from the faulty project.
GNU General Public License v2.0
202 stars 27 forks source link

apply new data #18

Open kevinGit777 opened 3 years ago

kevinGit777 commented 3 years ago

hi,

I really like your work! I would like to apply this project to my own data for the mining and evaluation after that. I need help on how can I apply the mining stage to my data, so any instruction for how can I do that? Thanks a lot!

Regard, Haifan Wu

xgdsmileboy commented 3 years ago

Hi Haifan,

Thanks for your interest in our work. The mining stage of SimFix was separately implemented atop the backbone of SimFix, i.e., we use the same AST matching algorithm in SimFix to extract code changes for subsequent statistical analysis. Currently, the frequently used changes mined from historical patches for filtering are hard-coded. Therefore, some work will be needed to update them. If you would like to , hopefully the following guidance can help.

Best