MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / impactRiskTooltip

Function impactRiskTooltip

graph-ui/src/impact/impact-strings.ts:64–67  ·  view source on GitHub ↗
(level: 'low' | 'medium' | 'high', reasons: string[])

Source from the content-addressed store, hash-verified

62export const IMPACT_SIGNAL_NONE = 'nothing measured on this symbol reached a threshold';
63
64export function impactRiskTooltip(level: 'low' | 'medium' | 'high', reasons: string[]): string {
65 const because = reasons.length === 0 ? IMPACT_SIGNAL_NONE : reasons.join('; ');
66 return `${RISK_LABELS[level]}: ${because}.`;
67}
68
69/** How a route was tied to the change. Two different strengths of claim. */
70export const IMPACT_ENDPOINT_VIA_HANDLER = 'The registration names a handler this change reaches.';

Callers 1

ImpactPanelFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected