Test coverage for pure utility functions: - sanitizeAlertKey: string normalization for alert IDs - abs: absolute value for float64 - isQueueOutlier: queue anomaly detection logic - scaleThreshold: threshold scaling with ceiling - calculateMedianInt: integer median calculation 78 test cases added, coverage improved from 45.3% to 46.2%. |
||
|---|---|---|
| .. | ||
| alerts.go | ||
| alerts_test.go | ||
| clone_test.go | ||
| concurrency_test.go | ||
| history.go | ||
| history_concurrency_test.go | ||
| offline_toggle_test.go | ||
| per_metric_delay_example_test.go | ||
| quiet_hours_test.go | ||
| threshold_update_test.go | ||
| time_threshold_test.go | ||
| utility_test.go | ||