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

Error while running on humaneval dataset #5

Closed
HamedTaherkhani opened this issue Aug 12, 2024 · 1 comment
Closed

Error while running on humaneval dataset #5

HamedTaherkhani opened this issue Aug 12, 2024 · 1 comment

Comments

@HamedTaherkhani
Copy link

HamedTaherkhani commented Aug 12, 2024

Hi,
I am getting this error:


Traceback (most recent call last):

  File "/home/hamed/VScode/MapCoder/src/main.py", line 101, in <module>
    strategy.run()

  File "/home/hamed/VScode/MapCoder/src/promptings/Base.py", line 89, in run
    response, prompt_tokens, completion_tokens = self.run_single_pass(
                                                 ^^^^^^^^^^^^^^^^^^^^^

  File "/home/hamed/VScode/MapCoder/src/promptings/MapCoder.py", line 243, in run_single_pass
    sample_io_prompt = f"## Sample Test cases: \n{self.get_sample_io_str(item['sample_io'])}\n"
                                                                         ~~~~^^^^^^^^^^^^^

KeyError: 'sample_io'

Can you please check this out?

@Md-Ashraful-Pramanik
Copy link
Owner

Md-Ashraful-Pramanik commented Aug 19, 2024 via email

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