microsoft / CodeT

MIT License
592 stars 76 forks source link

output folder not created #43

Open AniM824 opened 1 week ago

AniM824 commented 1 week ago

i'm trying to run the code and having some errors? Is there any detailed documentation about how to run the program (what commands specifically?)

I ran run_pipeline.py and it compiled fine, but when i run compute_score.py, I get FileNotFoundError: [Errno 2] No such file or directory: 'output/line-rgrg-ada-ws-20-ss-2_samples.0.jsonl'

In compute_score.py, there are these lines:

file_path = 'output/line-rgrg-ada-ws-20-ss-2_samples.0.jsonl'
compute_score_by_repo_with_metadata(repos, Tools.load_jsonl(file_path), 'EM', passk=1)
compute_score_by_repo_with_metadata(repos, Tools.load_jsonl(file_path), 'ES', passk=1)

But, after running run_pipeline.py, I don't have any output folder or anything generated? I'm not sure what I'm doing wrong, any help would be greatly appreciated. Thank you!

pppyb commented 1 day ago

Maybe you can refer to #32

zhaospei commented 1 day ago

I have created a replicated implementation of RepoCoder. You can find it here. I hope it can help you.

pppyb commented 21 hours ago

I have created a replicated implementation of RepoCoder. You can find it here. I hope it can help you.

Thanks for your work! Did you replicate the function level implementation of RepoCoder? I'm working on this but have some problems :).