Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PRIME-RL/PRIME
/ create_tempdir
Function
create_tempdir
eval/utils/execution.py:112–115 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
110
111
@contextlib.contextmanager
112
def
create_tempdir():
113
with
tempfile.TemporaryDirectory()
as
dirname:
114
with
chdir(dirname):
115
yield
dirname
116
117
118
class
TimeoutException(Exception):
Callers
1
unsafe_execute
Function · 0.70
Calls
1
chdir
Function · 0.70
Tested by
no test coverage detected