MCPcopy Create free account
hub / github.com/PRIME-RL/PRIME / create_tempdir

Function create_tempdir

eval/utils/execution_leetcode.py:613–616  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

611
612@contextlib.contextmanager
613def create_tempdir():
614 with tempfile.TemporaryDirectory() as dirname:
615 with chdir(dirname):
616 yield dirname
617
618
619class TimeoutException(Exception):

Callers 1

unsafe_executeFunction · 0.70

Calls 1

chdirFunction · 0.70

Tested by

no test coverage detected