Skip to content
Tracon

RunScoreSummary

Namespace Tracon · Assembly Tracon.Abstractions.dll

The result of IRunScoreStore.SummarizeAsync.

public sealed record RunScoreSummary : IEquatable<RunScoreSummary>

objectRunScoreSummary

IEquatable<RunScoreSummary>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Every list is empty, never null, when nothing matches the filter.

public RunScoreSummary()

The breakdown by the agent that produced the scored run.

public IReadOnlyList<RunScoreAggregate> ByAgent { get; init; }

IReadOnlyList<RunScoreAggregate>

The breakdown by author. Scores with no author (an identity-less setup) are excluded.

public IReadOnlyList<RunScoreAggregate> ByAuthor { get; init; }

IReadOnlyList<RunScoreAggregate>

The breakdown by score name — the primary breakdown, always populated.

public required IReadOnlyList<RunScoreAggregate> ByName { get; init; }

IReadOnlyList<RunScoreAggregate>

The breakdown by source (human, api, judge:{name}).

public IReadOnlyList<RunScoreAggregate> BySource { get; init; }

IReadOnlyList<RunScoreAggregate>

The trend series, one entry per time bucket. Empty when Bucket (RunScoreQuery) was not given. Buckets with no matching score are not included — this is a sparse series, not a filled one.

public IReadOnlyList<RunScoreBucketAggregate> Series { get; init; }

IReadOnlyList<RunScoreBucketAggregate>

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(RunScoreSummary? other)

other RunScoreSummary?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(RunScoreSummary?, RunScoreSummary?)

Section titled “ operator ==(RunScoreSummary?, RunScoreSummary?)”
public static bool operator ==(RunScoreSummary? left, RunScoreSummary? right)

left RunScoreSummary?

right RunScoreSummary?

bool

operator !=(RunScoreSummary?, RunScoreSummary?)

Section titled “ operator !=(RunScoreSummary?, RunScoreSummary?)”
public static bool operator !=(RunScoreSummary? left, RunScoreSummary? right)

left RunScoreSummary?

right RunScoreSummary?

bool