Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Standard-Intelligence/hertz-dev
/ rank0
Function
rank0
utils/interp.py:4–9 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2
import
os
3
4
def
rank0():
5
rank = os.environ.get(
'RANK'
)
6
if
rank is None or rank ==
'0'
:
7
return
True
8
else
:
9
return
False
10
11
def
print_colored(message, color=
'reset'
, bold=False, **kwargs):
12
color_dict = {
Callers
1
print0_colored
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected