Recoder icon indicating copy to clipboard operation
Recoder copied to clipboard

Data processing

Open jz48 opened this issue 2 years ago • 6 comments

Hello authors, may I ask for the workflow to process the data from raw data (java methods pairs) into the mode input (data.pkl)? Thanks so much for your time.

jz48 avatar Aug 05 '22 06:08 jz48

My email address is [email protected]

jz48 avatar Aug 05 '22 06:08 jz48

You can use the following code to process data https://disk.pku.edu.cn:443/link/37FED995C8031D4DB8212BC517ECC3A1 available time:2024-01-24 23:59

pkuzqh avatar Aug 05 '22 15:08 pkuzqh

I got it, thank you so much for your reply! Best regards.

jz48 avatar Aug 05 '22 15:08 jz48

May I ask one more thing about the way you produce AST and the TreeStr? I tried to use javalang (because you used it in the code) to parse the method and build the the treestr. However, with the same method, the treestr result looks different from what you use in data.pkl. Could you please tell me how do you processing the AST tree? Looking forward to hearing from you, thank you!

jz48 avatar Aug 09 '22 16:08 jz48

You can use this file "https://github.com/pkuzqh/Recoder/blob/master/repair.py"

pkuzqh avatar Aug 12 '22 10:08 pkuzqh

You can use the following code to process data https://disk.pku.edu.cn:443/link/37FED995C8031D4DB8212BC517ECC3A1 available time:2024-01-24 23:59

@pkuzqh Unfortunately, I only saw this link now, but it has expired. Could you please resend it?

guoweijun137 avatar May 09 '24 07:05 guoweijun137