Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/allenai/open-instruct
/ slow_function
Method
slow_function
open_instruct/test_rl_utils.py:63–65 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
61
62
@rl_utils.Timer(
"decorated function"
)
63
def
slow_function():
64
time.sleep(0.1)
65
return
42
66
67
with
self.assertLogs(
"open_instruct.rl_utils"
, level=
"INFO"
)
as
cm:
68
result = slow_function()
Callers
nothing calls this directly
Calls
1
sleep
Method · 0.80
Tested by
no test coverage detected