huangd1999 / AgentCoder

This Repo is the official implementation of AgentCoder and AgentCoder+.
118 stars 19 forks source link

from codegeex.benchmark.utils import read_dataset, IMPORT_HELPER from codegeex.benchmark.execution import check_correctness #5

Open payyavulasaiprakash opened 1 month ago

payyavulasaiprakash commented 1 month ago

Hii I am unable to find the above code functionality can you please help me with that. Thanks

huangd1999 commented 1 month ago

I think it can be addressed by replace:

https://github.com/huangd1999/AgentCoder/blob/main/src/test_executor_humaneval.py#L11

with

sys.path.append('../CodeGeeX/')
payyavulasaiprakash commented 1 month ago

i have checked CodeGeeX folder but it is empty

huangd1999 commented 1 month ago

Hi, CodeGeeX can be cloned by

https://github.com/THUDM/CodeGeeX

I have updated the readme to address this problem. I am not sure why the CodeGeeX can not be cloned when we clone our repo while when we click the CodeGeeX folder it can change to the CodeGeeX repo.