Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
human-eval
Commits
441b5355
Unverified
Commit
441b5355
authored
Nov 22, 2023
by
Songyang Zhang
Committed by
GitHub
Nov 22, 2023
Browse files
Update execution.py
parent
312c5e55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
human_eval/execution.py
human_eval/execution.py
+1
-1
No files found.
human_eval/execution.py
View file @
441b5355
...
...
@@ -55,7 +55,7 @@ def check_correctness(problem: Dict, completion: str, timeout: float,
# information on how OpenAI sandboxes its code, see the accompanying paper.
# Once you have read this disclaimer and taken appropriate precautions,
# uncomment the following line and proceed at your own risk:
#
exec(check_program, exec_globals)
exec
(
check_program
,
exec_globals
)
result
.
append
(
"passed"
)
except
TimeoutException
:
result
.
append
(
"timed out"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment