Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PRIME-RL/PRIME
/ exec_helper
Function
exec_helper
eval/Coding/mbpp/evaluate_mbpp.py:98–100 ·
view source on GitHub ↗
(code)
Source
from the content-addressed store, hash-verified
96
signal.setitimer(signal.ITIMER_REAL, 0)
97
98
def
exec_helper(code):
99
with
time_limit(3):
100
exec(compile(code, filename=
"mbpp"
, mode=
'exec'
), globals())
101
102
def
evaluate(dataset):
103
correct = 0
Callers
1
evaluate
Function · 0.85
Calls
1
time_limit
Function · 0.70
Tested by
no test coverage detected