"examples/matrix_expressions_ex.cpp" did not exist on "5a019f0a04b2fef2f5d1559816c31af645a72168"
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,
# 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")
......
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