@using AIStudio.Assistants.ModelComparison @inherits MSGComponentBase @ModelComparisonResultTexts.WhatTheResultsShow @if (this.statistics is null) { } else if (this.statistics.IsEmpty) { @TA("There are no results yet. They appear here as soon as you vote on the answers in the mode “Answer Variance”, or once you look at the result of a comparison series in the mode “Everyday Tasks”.") } else { var shownStatistics = this.statistics; @if (shownStatistics.ComparisonCount > 0) { @string.Format(ModelComparisonFormat.Culture, T("{0}: {1} comparisons with {2} runs."), ModelComparisonMode.STABILITY.Name, shownStatistics.ComparisonCount.CompactCount(), shownStatistics.RunCount.CompactCount()) } @if (shownStatistics.SeriesCount > 0) { @string.Format(ModelComparisonFormat.Culture, T("{0}: {1} comparison series with {2} tasks decided without knowing the models."), ModelComparisonMode.TASKS.Name, shownStatistics.SeriesCount.CompactCount(), shownStatistics.TaskCount.CompactCount()) } @TA("How often each model won by your votes. A comparison of a model with itself does not count here, since it only shows how consistently that model answers.") @ModelComparisonResultTexts.HowToReadTheShares @if (shownStatistics.VoteRanking.Count == 0) { @TA("You have not voted on two different models yet.") } else { } @if (shownStatistics.Pairings.Count == 0) { @T("No two different models were compared with each other yet.") } else { @TA("How often each of two models won when they competed directly, by your votes and by the verdicts of the judges.") @ModelComparisonResultTexts.WhatThePairAssessmentMeans @foreach (var pairing in shownStatistics.Pairings) { } } @if (shownStatistics.JudgeAgreements.Count == 0 && shownStatistics.JudgeRanking.Count == 0) { @T("No judge has given a usable verdict yet.") } else { @if (shownStatistics.JudgeAgreements.Count > 0) { @TA("Agreement with your votes") @TA("How often each judge chose the same as you. Only runs and tasks with both your vote and a verdict of the judge count.") @ModelComparisonResultTexts.WhatTheAgreementMeans @T("Judge") @T("Compared") @T("Same choice") @T("Agreement") @foreach (var agreement in shownStatistics.JudgeAgreements) { @agreement.Judge.Label @agreement.ComparedRuns.CompactCount() @agreement.Agreements.CompactCount() @ModelComparisonFormat.Share(agreement.Share) } } @if (shownStatistics.JudgeRanking.Count > 0) { @T("Ranking by the judges") @T("How often each model won by the verdicts of the judges.") } } @if (shownStatistics.Speeds.Count == 0) { @T("Only the mode “Answer Variance” measures how fast the models answer.") } else { } } @if (this.DeletesResults || this.DeletesSeries) { @this.DeleteText } @T("Close")