Skip to content

ExperimentPairedContinuousPessimisticSensitivityEvidence

NexusLabs.Foundry.Evaluation

NexusLabs.Foundry.Evaluation.Experiments

ExperimentPairedContinuousPessimisticSensitivityEvidence Class

Describes the protocol-required pessimistic sensitivity adjacent to a conditional paired continuous comparison. Only fully scheduled, comparable cases are analyzed; scheduled failures remain in the analysis through caller-supplied predeclared bound substitutions, while cases truncated by a global scheduling cap are excluded without imputation.

public sealed record ExperimentPairedContinuousPessimisticSensitivityEvidence : System.IEquatable<NexusLabs.Foundry.Evaluation.Experiments.ExperimentPairedContinuousPessimisticSensitivityEvidence>

Inheritance System.Object 🡒 ExperimentPairedContinuousPessimisticSensitivityEvidence

Implements System.IEquatable<ExperimentPairedContinuousPessimisticSensitivityEvidence>

Properties

ExperimentPairedContinuousPessimisticSensitivityEvidence.AsymmetricSubstitutionCaseCount Property

Gets the number of analyzed cases where exactly one arm used pessimistic substitution.

public int AsymmetricSubstitutionCaseCount { get; }

Property Value

System.Int32

ExperimentPairedContinuousPessimisticSensitivityEvidence.Cases Property

Gets a defensive snapshot of every supplied sensitivity case.

public System.Collections.Generic.IReadOnlyList<NexusLabs.Foundry.Evaluation.Experiments.ExperimentPairedContinuousPessimisticCaseMeasurement> Cases { get; }

Property Value

System.Collections.Generic.IReadOnlyList<ExperimentPairedContinuousPessimisticCaseMeasurement>

ExperimentPairedContinuousPessimisticSensitivityEvidence.Comparison Property

Gets the paired descriptive and bootstrap evidence over the included pessimistic case values.

public NexusLabs.Foundry.Evaluation.Experiments.ExperimentPairedContinuousComparisonEvidence Comparison { get; }

Property Value

ExperimentPairedContinuousComparisonEvidence

ExperimentPairedContinuousPessimisticSensitivityEvidence.IncompleteCaseCount Property

Gets the number of cases excluded because all planned trial slots were not scheduled.

public int IncompleteCaseCount { get; }

Property Value

System.Int32

ExperimentPairedContinuousPessimisticSensitivityEvidence.NonComparableCaseCount Property

Gets the number of fully scheduled cases excluded because the metric was non-comparable.

public int NonComparableCaseCount { get; }

Property Value

System.Int32

ExperimentPairedContinuousPessimisticSensitivityEvidence.TotalCaseCount Property

Gets the total number of supplied cases before exclusions.

public int TotalCaseCount { get; }

Property Value

System.Int32

ExperimentPairedContinuousPessimisticSensitivityEvidence.ValidPairCount Property

Gets the number of fully scheduled, comparable pairs included in the sensitivity.

public int ValidPairCount { get; }

Property Value

System.Int32

ExperimentPairedContinuousPessimisticSensitivityEvidence.XSubstitutionCount Property

Gets the number of analyzed cases whose X value used pessimistic substitution.

public int XSubstitutionCount { get; }

Property Value

System.Int32

ExperimentPairedContinuousPessimisticSensitivityEvidence.YSubstitutionCount Property

Gets the number of analyzed cases whose Y value used pessimistic substitution.

public int YSubstitutionCount { get; }

Property Value

System.Int32

Methods

ExperimentPairedContinuousPessimisticSensitivityEvidence.Create(string, string, IReadOnlyList<ExperimentPairedContinuousPessimisticCaseMeasurement>, ulong, double) Method

Creates validated pessimistic sensitivity evidence.

public static NexusLabs.Foundry.Evaluation.Experiments.ExperimentPairedContinuousPessimisticSensitivityEvidence Create(string xLabel, string yLabel, System.Collections.Generic.IReadOnlyList<NexusLabs.Foundry.Evaluation.Experiments.ExperimentPairedContinuousPessimisticCaseMeasurement> cases, ulong bootstrapSeed, double confidenceLevel);

Parameters

xLabel System.String

The stable label for arm X.

yLabel System.String

The stable label for arm Y.

cases System.Collections.Generic.IReadOnlyList<ExperimentPairedContinuousPessimisticCaseMeasurement>

The pessimistic case measurements to analyze.

bootstrapSeed System.UInt64

The deterministic seed for the 10,000-resample bootstrap.

confidenceLevel System.Double

The two-sided interval confidence level.

Returns

ExperimentPairedContinuousPessimisticSensitivityEvidence
Validated pessimistic continuous sensitivity evidence.

Exceptions

System.ArgumentNullException
cases or one of its elements is null.

System.ArgumentException
A case ID is duplicated, or one of the labels or case measurements is invalid.

System.ArgumentOutOfRangeException
confidenceLevel is not finite and strictly between zero and one.