< Summary

Information
Class: Intentum.Analytics.Models.IntentProfile
Assembly: Intentum.Analytics
File(s): /home/runner/work/Intentum/Intentum/src/Intentum.Analytics/Models/IntentProfile.cs
Line coverage
77%
Covered lines: 7
Uncovered lines: 2
Coverable lines: 9
Total lines: 23
Line coverage: 77.7%
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/IntentProfile.cs

#LineLine coverage
 1namespace Intentum.Analytics.Models;
 2
 3/// <summary>
 4/// Intent-based profile for an entity: aggregate intent names and confidence distribution → labels.
 5/// Use for "user/system profile" derived from timeline (e.g. frequent researcher, quick decider).
 6/// </summary>
 7/// <param name="EntityId">Entity identifier (e.g. userId).</param>
 8/// <param name="Start">Start of the time window used.</param>
 9/// <param name="End">End of the time window used.</param>
 10/// <param name="Labels">Derived labels (e.g. "frequent_researcher", "high_confidence").</param>
 11/// <param name="TopIntents">Intent name → count (most frequent intents in the window).</param>
 12/// <param name="AverageConfidenceScore">Average confidence score in the window.</param>
 13/// <param name="HighConfidencePercent">Percentage of points with High (or Certain) confidence.</param>
 14/// <param name="PointCount">Number of timeline points in the window.</param>
 215public sealed record IntentProfile(
 216    string EntityId,
 017    DateTimeOffset Start,
 018    DateTimeOffset End,
 219    IReadOnlyList<string> Labels,
 320    IReadOnlyDictionary<string, int> TopIntents,
 221    double AverageConfidenceScore,
 122    double HighConfidencePercent,
 423    int PointCount);