MCPcopy 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
112def create_tempdir():
113 with tempfile.TemporaryDirectory() as dirname:
114 with chdir(dirname):
115 yield dirname
116
117
118class TimeoutException(Exception):

Callers 1

unsafe_executeFunction · 0.70

Calls 1

chdirFunction · 0.70

Tested by

no test coverage detected