Group strategies by base type and rank them by median hold time

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
TomandClaude Opus 5.5 committed 2026-11-17 19:29:53 +01:00
1 parent d2cbab5d4b
commit cbd9830143
12 files changed
+301 -35

No files matched your search

@@ -10,9 +10,11 @@ public sealed record DashboardData(
TimeSpan TotalHoldTime,
IReadOnlyList<TopEntry> TopIps,
IReadOnlyList<TopEntry> TopTargets,
IReadOnlyList<TopEntry> TopStrategies,
IReadOnlyList<StrategySample> StrategyCatches,
IReadOnlyList<TopEntry> TopCountries,
IReadOnlyList<TopEntry> TopProviders,
IReadOnlyDictionary<string, int> CatchesByCountry);
public sealed record TopEntry(string Key, int Count, TimeSpan HoldTime, string? Label = null);
public sealed record TopEntry(string Key, int Count, TimeSpan HoldTime, string? Label = null, TimeSpan? MedianHold = null);
public sealed record StrategySample(string Strategy, long DurationMs);