Run initial test for Climate Resilience Verification Suite

Add first part of Alert Quality Analytics
This commit is contained in:
voltsrage
2026-06-24 03:01:00 +08:00
parent 032cd1d240
commit 185dc93fa1
50 changed files with 4116 additions and 55 deletions
@@ -0,0 +1,20 @@
public record AlertQualityMetricResponse(
Guid Id,
string AlertType,
DateTimeOffset WindowStart,
DateTimeOffset WindowEnd,
int TotalAlerts,
int AcknowledgedCount,
int ResolvedCount,
int EscalatedCount,
int FeedbackUsefulCount,
int FeedbackFalsePositiveCount,
int FeedbackWouldActCount,
int FeedbackCount,
double AcknowledgementRate,
double FalsePositiveRate,
double UsefulRate,
double WouldActRate,
double AvgSecondsToAcknowledge,
double AvgSecondsToResolution,
DateTimeOffset ComputedAt);
@@ -0,0 +1,11 @@
public record AlertQualitySummaryResponse(
DateTimeOffset PeriodStart,
DateTimeOffset PeriodEnd,
int TotalAlerts,
int TotalFeedback,
double AcknowledgementRate,
double FalsePositiveRate,
double UsefulRate,
double WouldActRate,
double AvgSecondsToAcknowledge,
double AvgSecondsToResolution);
@@ -0,0 +1 @@
public record SubmitAlertFeedbackRequest(AlertFeedbackType FeedbackType, string? Comment);