| 62 | export const IMPACT_SIGNAL_NONE = 'nothing measured on this symbol reached a threshold'; |
| 63 | |
| 64 | export 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. */ |
| 70 | export const IMPACT_ENDPOINT_VIA_HANDLER = 'The registration names a handler this change reaches.'; |