Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/OpenShell
/ fmt_rate
Function
fmt_rate
scripts/baseline_workflow_metrics.py:294–297 ·
view source on GitHub ↗
(value: float | None)
Source
from the content-addressed store, hash-verified
292
293
294
def
fmt_rate(value: float | None) -> str:
295
if
value is None:
296
return
"—"
297
return
f
"{value * 100:.0f}%"
298
299
300
def
render_markdown(stats: list[WorkflowStats], since: dt.datetime) -> str:
Callers
1
render_markdown
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected