ExperimentMetricSnapshot
NexusLabs.Foundry.Evaluation¶
NexusLabs.Foundry.Evaluation.Experiments¶
ExperimentMetricSnapshot Class¶
Provides an immutable Foundry-owned projection of one MEAI evaluation metric.
public sealed record ExperimentMetricSnapshot : System.IEquatable<NexusLabs.Foundry.Evaluation.Experiments.ExperimentMetricSnapshot>
Inheritance System.Object 🡒 ExperimentMetricSnapshot
Implements System.IEquatable<ExperimentMetricSnapshot>
Remarks¶
Instances are constructed only by NexusLabs.Foundry.Evaluation.Experiments.ExperimentMetricSnapshotFactory from a MEAI Microsoft.Extensions.AI.Evaluation.EvaluationResult. External evaluators return MEAI evaluation results and never construct snapshots directly.
Properties¶
ExperimentMetricSnapshot.BooleanValue Property¶
Gets the boolean value when Kind is boolean.
Property Value¶
System.Nullable<System.Boolean>
ExperimentMetricSnapshot.ContextCount Property¶
Gets the number of MEAI context objects omitted from the canonical snapshot.
Property Value¶
ExperimentMetricSnapshot.Diagnostics Property¶
Gets the copied diagnostic collection.
public System.Collections.Generic.IReadOnlyList<NexusLabs.Foundry.Evaluation.Experiments.ExperimentMetricDiagnosticSnapshot> Diagnostics { get; }
Property Value¶
System.Collections.Generic.IReadOnlyList<ExperimentMetricDiagnosticSnapshot>
ExperimentMetricSnapshot.Interpretation Property¶
Gets the optional normalized interpretation.
public NexusLabs.Foundry.Evaluation.Experiments.ExperimentMetricInterpretationSnapshot? Interpretation { get; }
Property Value¶
ExperimentMetricInterpretationSnapshot
ExperimentMetricSnapshot.Kind Property¶
Gets the normalized metric value kind.
Property Value¶
ExperimentMetricSnapshot.Metadata Property¶
Gets copied string metadata in ordinal key order.
Property Value¶
System.Collections.Generic.IReadOnlyDictionary<System.String,System.String>
ExperimentMetricSnapshot.Name Property¶
Gets the metric name.
Property Value¶
ExperimentMetricSnapshot.NonFiniteNumericValue Property¶
Gets the explicit non-finite numeric value classification, when present.
public System.Nullable<NexusLabs.Foundry.Evaluation.Experiments.ExperimentMetricNonFiniteValue> NonFiniteNumericValue { get; }
Property Value¶
System.Nullable<ExperimentMetricNonFiniteValue>
ExperimentMetricSnapshot.NumericValue Property¶
Gets the numeric value when Kind is numeric.
Property Value¶
System.Nullable<System.Double>
ExperimentMetricSnapshot.Reason Property¶
Gets the optional metric reason.
Property Value¶
ExperimentMetricSnapshot.StringValue Property¶
Gets the string value when Kind is string.