Unverified Commit 441b5355 authored by Songyang Zhang's avatar Songyang Zhang Committed by GitHub
Browse files

Update execution.py

parent 312c5e55
...@@ -55,7 +55,7 @@ def check_correctness(problem: Dict, completion: str, timeout: float, ...@@ -55,7 +55,7 @@ def check_correctness(problem: Dict, completion: str, timeout: float,
# information on how OpenAI sandboxes its code, see the accompanying paper. # information on how OpenAI sandboxes its code, see the accompanying paper.
# Once you have read this disclaimer and taken appropriate precautions, # Once you have read this disclaimer and taken appropriate precautions,
# uncomment the following line and proceed at your own risk: # uncomment the following line and proceed at your own risk:
# exec(check_program, exec_globals) exec(check_program, exec_globals)
result.append("passed") result.append("passed")
except TimeoutException: except TimeoutException:
result.append("timed out") result.append("timed out")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment