RunLabelStatistics
Namespace AgentPrism · Assembly
AgentPrism.Abstractions.dllA label’s run summary; one entry per distinct key/value pair.
public sealed record RunLabelStatistics : IEquatable<RunLabelStatistics>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<RunLabelStatistics>
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”RunLabelStatistics()
Section titled “ RunLabelStatistics()”public RunLabelStatistics()Properties
Section titled “Properties”FailedRuns
Section titled “ FailedRuns”This label’s number of runs that ended in an error.
public required long FailedRuns { get; init; }Property Value
Section titled “Property Value”The label key.
public required string Key { get; init; }Property Value
Section titled “Property Value”TotalCost
Section titled “ TotalCost”This label’s total cost. null if no run carrying it was ever priced.
public decimal? TotalCost { get; init; }Property Value
Section titled “Property Value”TotalRuns
Section titled “ TotalRuns”The number of runs carrying this exact key/value pair.
public required long TotalRuns { get; init; }Property Value
Section titled “Property Value”TotalTokens
Section titled “ TotalTokens”This label’s total token usage.
public long TotalTokens { get; init; }Property Value
Section titled “Property Value”The label value.
public required string Value { 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(RunLabelStatistics?)
Section titled “ Equals(RunLabelStatistics?)”public bool Equals(RunLabelStatistics? other)Parameters
Section titled “Parameters”other RunLabelStatistics?
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 ==(RunLabelStatistics?, RunLabelStatistics?)
Section titled “ operator ==(RunLabelStatistics?, RunLabelStatistics?)”public static bool operator ==(RunLabelStatistics? left, RunLabelStatistics? right)Parameters
Section titled “Parameters”left RunLabelStatistics?
right RunLabelStatistics?
Returns
Section titled “Returns”operator !=(RunLabelStatistics?, RunLabelStatistics?)
Section titled “ operator !=(RunLabelStatistics?, RunLabelStatistics?)”public static bool operator !=(RunLabelStatistics? left, RunLabelStatistics? right)Parameters
Section titled “Parameters”left RunLabelStatistics?
right RunLabelStatistics?