Skip to content

OnlineEvaluationSummary

Namespace AgentPrism · Assembly AgentPrism.Core.dll

Summarizes the online evaluation window (GET /api/evaluation/online).

public sealed record OnlineEvaluationSummary : IEquatable<OnlineEvaluationSummary>

objectOnlineEvaluationSummary

IEquatable<OnlineEvaluationSummary>

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

public OnlineEvaluationSummary()

Gets the average score in the window, from 0 to 100, or null with no samples.

public double? AverageScore { get; init; }

double?

Gets true when the average is below the threshold and the sample count meets the minimum.

public required bool BelowThreshold { get; init; }

bool

Gets the total judge cost in the window, or null when unknown.

public decimal? JudgeCost { get; init; }

decimal?

Gets the judge-cost currency.

public string? JudgeCostCurrency { get; init; }

string?

Gets the configured low-score threshold.

public required int LowScoreThreshold { get; init; }

int

Gets the minimum sample count required for an alarm.

public required int MinSampleSize { get; init; }

int

Gets the sample count, which is the number of scored runs in the window.

public required long SampleCount { get; init; }

long

Gets the window end in UTC.

public required DateTimeOffset WindowEnd { get; init; }

DateTimeOffset

Gets the window start in UTC.

public required DateTimeOffset WindowStart { get; init; }

DateTimeOffset

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(OnlineEvaluationSummary? other)

other OnlineEvaluationSummary?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(OnlineEvaluationSummary?, OnlineEvaluationSummary?)

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

left OnlineEvaluationSummary?

right OnlineEvaluationSummary?

bool

operator !=(OnlineEvaluationSummary?, OnlineEvaluationSummary?)

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

left OnlineEvaluationSummary?

right OnlineEvaluationSummary?

bool