Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to convert code snippets into concode format? #6

Open
Kadam-Tushar opened this issue Dec 13, 2021 · 4 comments
Open

How to convert code snippets into concode format? #6

Kadam-Tushar opened this issue Dec 13, 2021 · 4 comments

Comments

@Kadam-Tushar
Copy link

Hey @sriniiyer,
I am trying to augment the dataset with custom code snippets.
how can I convert code snippets which contain context and docstring as NL queries into concode dataset format.

@sriniiyer
Copy link
Owner

The concode format is pretty straightforward. Is there a specific place where you are stuck?

@Kadam-Tushar
Copy link
Author

Kadam-Tushar commented Dec 18, 2021

I am interested in knowing how to generate an entry like in train_shuffled_with_path_and_id_concode.json from my java files.
i.e can you point out any scripts to parse attributes like memberVariables, renamed, code, nl etc?

@sriniiyer
Copy link
Owner

I used the code-mining repositories here: https://github.com/orgs/mast-group/repositories to do that. Happy to email you the code that I used if you still want it.

@sohail2810
Copy link

sohail2810 commented Aug 10, 2023

I used the code-mining repositories here: https://github.com/orgs/mast-group/repositories to do that. Happy to email you the code that I used if you still want it.

Hello @sriniiyer, I am trying to create a dataset similar to concode, with custom code snippets. Could you please email the code used to generate entries in the dataset from snippets?

email: sohailshariff97@gmail.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants