Open monperrus opened 1 year ago
Thanks for your attention to our research work!
Are you referring to which templates generated these successful patches? If so, I will promptly add this information to the corresponding "patches" folder.
Are you referring to which templates generated these successful patches?
yes
If so, I will promptly add this information to the corresponding "patches" folder.
great, thanks a lot, that's very useful.
@monperrus Already done in https://github.com/mxx1219/TENURE/tree/main/repair_result/the_templates_of_the_fixed_patches.txt
super cool, thanks a lot @mxx1219 ! it would also be useful to see the "unknown" tokens before copy, with the raw output of the network (which AFAIU would contain the special template token that is in the_templates_of_the_fixed_patches.txt
@monperrus Apologizing for not receiving the latest notifications for the issues due to the email server configuration. And for your question, it is suggested to obtain the information you need by checking the runtime logs in the directory https://github.com/mxx1219/TENURE/tree/main/patch_validation/log_v1 (or log_v2). The following part shows the runtime log for the bug version Closure_101 (only the last 2 lines in the log). You could find the original output sequence of the NMT model without any post-processing steps, i.e., "SingleLineMutator rank2fixsplit options .
INFO:root:2023-02-16 20:28:25 --> Closure_101: (311) SingleLineMutator rank2fixsplit options . <unk> = false ; if ( flags . process_closure_primitives ) {
INFO:root:Successful
thanks a lot!
@monperrus my pleasure
thanks for the open-science repo @mxx1219!
we can find the 50 D4Jv2.0 patches in folder
patch_validation/patches_v2/all/diff/
.now we're looking for the template metadata: for each patch, what is the template identifier that was used?
where can we find this information?
thanks!