23 references to Error
Microsoft.Extensions.AI.Evaluation (3)
EvaluationDiagnostic.cs (3)
56/// <see cref="Severity"/> set to <see cref="EvaluationDiagnosticSeverity.Error"/>. 61/// <see cref="EvaluationDiagnosticSeverity.Error"/>. 64=> new EvaluationDiagnostic(EvaluationDiagnosticSeverity.Error, message);
Microsoft.Extensions.AI.Evaluation.Console (1)
Commands\ReportCommand.cs (1)
220metric.Diagnostics?.Count(d => d.Severity == EvaluationDiagnosticSeverity.Error) ?? 0;
Microsoft.Extensions.AI.Evaluation.Integration.Tests (13)
AgentQualityEvaluatorTests.cs (1)
155result.Metrics.Values.All(m => m.ContainsDiagnostics(d => d.Severity is EvaluationDiagnosticSeverity.Error)),
NLPEvaluatorTests.cs (1)
135result.Metrics.Values.All(m => m.ContainsDiagnostics(d => d.Severity is EvaluationDiagnosticSeverity.Error)),
QualityEvaluatorTests.cs (1)
176result.Metrics.Values.All(m => m.ContainsDiagnostics(d => d.Severity is EvaluationDiagnosticSeverity.Error)),
ResultsTests.cs (1)
603Assert.True(result.ContainsDiagnostics(d => d.Severity == EvaluationDiagnosticSeverity.Error));
SafetyEvaluatorTests.cs (9)
213result.ContainsDiagnostics(d => d.Severity is EvaluationDiagnosticSeverity.Error), 304result.ContainsDiagnostics(d => d.Severity is EvaluationDiagnosticSeverity.Error), 349result.ContainsDiagnostics(d => d.Severity is EvaluationDiagnosticSeverity.Error), 385result.ContainsDiagnostics(d => d.Severity is EvaluationDiagnosticSeverity.Error), 434result.ContainsDiagnostics(d => d.Severity is EvaluationDiagnosticSeverity.Error), 496result.ContainsDiagnostics(d => d.Severity is EvaluationDiagnosticSeverity.Error), 531result.ContainsDiagnostics(d => d.Severity is EvaluationDiagnosticSeverity.Error), 572result.ContainsDiagnostics(d => d.Severity is EvaluationDiagnosticSeverity.Error), 606result.ContainsDiagnostics(d => d.Severity is EvaluationDiagnosticSeverity.Error),
Microsoft.Extensions.AI.Evaluation.NLP.Tests (6)
BLEUEvaluatorTests.cs (2)
56Assert.Contains(metric.Diagnostics, d => d.Severity == EvaluationDiagnosticSeverity.Error); 109Assert.Contains(metric.Diagnostics, d => d.Severity == EvaluationDiagnosticSeverity.Error);
F1EvaluatorTests.cs (2)
56Assert.Contains(metric.Diagnostics, d => d.Severity == EvaluationDiagnosticSeverity.Error); 89Assert.Contains(metric.Diagnostics, d => d.Severity == EvaluationDiagnosticSeverity.Error);
GLEUEvaluatorTests.cs (2)
56Assert.Contains(metric.Diagnostics, d => d.Severity == EvaluationDiagnosticSeverity.Error); 109Assert.Contains(metric.Diagnostics, d => d.Severity == EvaluationDiagnosticSeverity.Error);