< Summary

Information
Class: Intentum.Analytics.Models.PatternAnomalyReport
Assembly: Intentum.Analytics
File(s): /home/runner/work/Intentum/Intentum/src/Intentum.Analytics/Models/PatternAnomalyReport.cs
Line coverage
25%
Covered lines: 2
Uncovered lines: 6
Coverable lines: 8
Total lines: 20
Line coverage: 25%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
.ctor(...)100%11100%

File(s)

/home/runner/work/Intentum/Intentum/src/Intentum.Analytics/Models/PatternAnomalyReport.cs

#LineLine coverage
 1namespace Intentum.Analytics.Models;
 2
 3/// <summary>
 4/// Anomaly report for pattern/frequency (e.g. "Intent X 10x more frequent than baseline").
 5/// </summary>
 6/// <param name="Kind">Kind of anomaly (e.g. FrequencySpike, SequenceAnomaly).</param>
 7/// <param name="Description">Human-readable description.</param>
 8/// <param name="DetectedAt">When detected (bucket or time).</param>
 9/// <param name="BucketStart">Start of the bucket if bucket-based.</param>
 10/// <param name="BucketEnd">End of the bucket if bucket-based.</param>
 11/// <param name="Severity">Severity 0–1.</param>
 12/// <param name="Details">Additional key-value details.</param>
 113public sealed record PatternAnomalyReport(
 014    string Kind,
 015    string Description,
 016    DateTimeOffset DetectedAt,
 017    DateTimeOffset BucketStart,
 018    DateTimeOffset BucketEnd,
 019    double Severity,
 120    IReadOnlyDictionary<string, object> Details);