Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PRIME-RL/PRIME
/ TimeoutException
Class
TimeoutException
eval/Coding/mbpp/evaluate_mbpp.py:85–86 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
83
import
contextlib
84
import
signal
85
class
TimeoutException(Exception):
86
pass
87
@contextlib.contextmanager
88
def
time_limit(seconds: float):
89
def
signal_handler(signum, frame):
Callers
1
signal_handler
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected