huangd1999 / AgentCoder

This Repo is the official implementation of AgentCoder and AgentCoder+.
237 stars 50 forks source link

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

Open payyavulasaiprakash opened 6 months ago

payyavulasaiprakash commented 6 months ago

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

huangd1999 commented 6 months 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 6 months ago

i have checked CodeGeeX folder but it is empty

huangd1999 commented 6 months 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.