Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ScriptedAlchemy/tracedecay
/ ratioStr
Function
ratioStr
dashboard/lcm/src/helpers.ts:226–231 ·
view source on GitHub ↗
(src: any, out: any)
Source
from the content-addressed store, hash-verified
224
}
225
226
export
function
ratioStr(src: any, out: any): string {
227
const
s = Number(src) || 0;
228
const
o = Number(out) || 0;
229
if
(!o)
return
"—"
;
230
return
(Math.round((s / o) * 10) / 10) +
"×"
;
231
}
Callers
1
SessionDetail
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected