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

Retrieve and generation logic in the function level #44

Open
pppyb opened this issue Sep 17, 2024 · 2 comments
Open

Retrieve and generation logic in the function level #44

pppyb opened this issue Sep 17, 2024 · 2 comments

Comments

@pppyb
Copy link

pppyb commented Sep 17, 2024

Hi there!

I would like to ask if the retrieve and generation logic for the function part is exactly the same as for the API and line parts(like we just need to add function benchmark?). Is the only difference in evaluation, where unit tests are used instead of EM and ES?

Thanks in advance!

@zfj1998
Copy link
Collaborator

zfj1998 commented Sep 23, 2024

Unit tests were employed to evaluate the correctness of the completed function body. Sorry we cannot share the source code as stated in the README (We utilize a private library to handle the execution and evaluation of the function-level completion. Due to the license issue, we cannot release the code. ) FYI, here is a repo claiming the reproduction of RepoEval's function-level dataset, https://github.com/code-rag-bench/code-rag-bench. Hope it helps with your research.

@pppyb
Copy link
Author

pppyb commented Sep 24, 2024

Unit tests were employed to evaluate the correctness of the completed function body. Sorry we cannot share the source code as stated in the README (We utilize a private library to handle the execution and evaluation of the function-level completion. Due to the license issue, we cannot release the code. ) FYI, here is a repo claiming the reproduction of RepoEval's function-level dataset, https://github.com/code-rag-bench/code-rag-bench. Hope it helps with your research.

Thanks for your reply~ I still want to make sure that the code completion process for function level is the same as api and line level? cuz I didn't found any function level completion process like function benchmark in code.

Thanks again for your patient reply~

@pppyb pppyb closed this as completed Sep 24, 2024
@pppyb pppyb reopened this Sep 24, 2024
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

2 participants