Skip to content

Commit db0926b

Browse files
authored
Update execution.py
1 parent 312c5e5 commit db0926b

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

human_eval/execution.py

+1-11
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,7 @@ def unsafe_execute():
4545
exec_globals = {}
4646
with swallow_io():
4747
with time_limit(timeout):
48-
# WARNING
49-
# This program exists to execute untrusted model-generated code. Although
50-
# it is highly unlikely that model-generated code will do something overtly
51-
# malicious in response to this test suite, model-generated code may act
52-
# destructively due to a lack of model capability or alignment.
53-
# Users are strongly encouraged to sandbox this evaluation suite so that it
54-
# does not perform destructive actions on their host or network. For more
55-
# information on how OpenAI sandboxes its code, see the accompanying paper.
56-
# Once you have read this disclaimer and taken appropriate precautions,
57-
# uncomment the following line and proceed at your own risk:
58-
# exec(check_program, exec_globals)
48+
exec(check_program, exec_globals)
5949
result.append("passed")
6050
except TimeoutException:
6151
result.append("timed out")

0 commit comments

Comments
 (0)