Why does the Codex sandbox stop execution early even when my script is within time limits? #7383
-
|
When running Python scripts in the Codex sandbox, I sometimes see “Execution stopped” even though the script should easily finish under 3 seconds. The script mainly performs NumPy operations. I’ve confirmed that:
Why does the sandbox kill execution early, and is there a recommended workaround? |
Beta Was this translation helpful? Give feedback.
Answered by
abhishekprajapatt
Nov 29, 2025
Replies: 1 comment
-
|
The sandbox enforces additional safety rules beyond execution time:
Large NumPy operations can trigger a “soft timeout,” even within total time limits. Workarounds:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
O1Legend
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The sandbox enforces additional safety rules beyond execution time:
Large NumPy operations can trigger a “soft timeout,” even within total time limits.
Workarounds: