namespace AIStudio.Assistants.ModelComparison; /// /// How a model did across all stored comparisons against any other model: by the votes of the user, or by the /// verdicts of a judge. /// public sealed record ModelComparisonModelStanding { /// /// The model, with the name it had in its latest comparison. /// public required ModelComparisonModelIdentity Model { get; init; } /// /// How many runs the model won. /// public int Wins { get; init; } /// /// How many runs the model lost. /// public int Losses { get; init; } /// /// How many runs ended in a tie. /// public int Ties { get; init; } /// /// The share of the decided runs which the model won, with how sure that share is. /// public ModelComparisonWinShare WinShare => ModelComparisonWinShare.Of(this.Wins, this.Losses); }