Skip to content

Fixing an apparent typo in process_humaneval.py#244

Open
Alexei-V-Ivanov-AMD wants to merge 1 commit intonlpxucan:mainfrom
Alexei-V-Ivanov-AMD:bug_fixes
Open

Fixing an apparent typo in process_humaneval.py#244
Alexei-V-Ivanov-AMD wants to merge 1 commit intonlpxucan:mainfrom
Alexei-V-Ivanov-AMD:bug_fixes

Conversation

@Alexei-V-Ivanov-AMD
Copy link

When the condition triggers for the string "name == "main"" (a rare case apparently) the reference code looks for an index of a different string. It leads to a crash.

The proposed correction fixes the reference to get the index of the same string.

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

Successfully merging this pull request may close these issues.

1 participant