.NET API
RunScoreQuery
Tracon.Abstractions.dllThe filter for a score summary query (IRunScoreStore.SummarizeAsync).
public sealed record RunScoreQuery : IEquatable<RunScoreQuery>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”A query, not a counter: it reads the rows IRunScoreStore.UpsertAsync already wrote. There is no offset-based paging beyond RunScoreQuery.MaxRows — a summary is a dashboard input, not a list endpoint.
Constructors
Section titled “Constructors”RunScoreQuery()
Section titled “ RunScoreQuery()”public RunScoreQuery()Properties
Section titled “Properties”AgentName
Section titled “ AgentName”Count only scores whose run belongs to this agent.
public string? AgentName { get; init; }Property Value
Section titled “Property Value”Author
Section titled “ Author”Count only this author.
public string? Author { get; init; }Property Value
Section titled “Property Value”Bucket
Section titled “ Bucket”The time bucket of the trend series (RunScoreSummary.Series). null returns no series, and computes none — the summary still returns its breakdowns.
public RunScoreBucket? Bucket { get; init; }Property Value
Section titled “Property Value”Count only scores created at or after this moment.
public DateTimeOffset? From { get; init; }Property Value
Section titled “Property Value”MaxRows
Section titled “ MaxRows”The maximum number of rows returned in every breakdown (RunScoreSummary.ByName, RunScoreSummary.ByAuthor, RunScoreSummary.BySource, RunScoreSummary.ByAgent, and each bucket of RunScoreSummary.Series) and of the distinct categories kept inside one RunScoreAggregate.Categories map.
public int MaxRows { get; init; }Property Value
Section titled “Property Value”ScoreName
Section titled “ ScoreName”Count only this score name (RunScore.Name).
public string? ScoreName { get; init; }Property Value
Section titled “Property Value”Source
Section titled “ Source”Count only this source: human, api, or judge:{name}.
public string? Source { get; init; }Property Value
Section titled “Property Value”Target
Section titled “ Target”Whether run-level scores, message-level scores, or both are counted.
public RunScoreTarget Target { get; init; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”RunScore.MessageId itself is never a breakdown dimension — its cardinality is unbounded, and a message-level score must not fall into the same bucket as a run-level one.
TenantId
Section titled “ TenantId”The tenant filter. The current tenant is used if left empty.
public string? TenantId { get; init; }Property Value
Section titled “Property Value”Count only scores created before this moment.
public DateTimeOffset? To { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(RunScoreQuery?)
Section titled “ Equals(RunScoreQuery?)”public bool Equals(RunScoreQuery? other)Parameters
Section titled “Parameters”other RunScoreQuery?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(RunScoreQuery?, RunScoreQuery?)
Section titled “ operator ==(RunScoreQuery?, RunScoreQuery?)”public static bool operator ==(RunScoreQuery? left, RunScoreQuery? right)Parameters
Section titled “Parameters”left RunScoreQuery?
right RunScoreQuery?
Returns
Section titled “Returns”operator !=(RunScoreQuery?, RunScoreQuery?)
Section titled “ operator !=(RunScoreQuery?, RunScoreQuery?)”public static bool operator !=(RunScoreQuery? left, RunScoreQuery? right)Parameters
Section titled “Parameters”left RunScoreQuery?
right RunScoreQuery?