You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
Sorry for the late reply. Please use the dataset provided by us. In our
MapCoder Algorithm we need sample_io for debugging purposes. Sample io is
the sample input output pairs that are mentioned inside the problem. So,
please use that to avoid this problem.
On Mon, Aug 12, 2024 at 9:29 PM HamedTaherkhani ***@***.***> wrote:
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?
—
Reply to this email directly, view it on GitHub
<#5>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANO3RTR2H2ORUHPKDHSE6K3ZRDIGTAVCNFSM6AAAAABMMNMBMCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ3DCMZRGEYTIMQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
Hi,
I am getting this error:
Can you please check this out?
The text was updated successfully, but these errors were encountered: