Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeusData/codebase-memory-mcp
/ worseOf
Function
worseOf
graph-ui/src/impact/risk-rules.ts:246–248 ·
view source on GitHub ↗
(left: RiskLevel, right: RiskLevel)
Source
from the content-addressed store, hash-verified
244
245
/** The worse of two levels. */
246
export
function
worseOf(left: RiskLevel, right: RiskLevel): RiskLevel {
247
return
RISK_ORDER[left] <= RISK_ORDER[right] ? left : right;
248
}
Callers
1
risk-rules.test.ts
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected