ExperimentPolicyContext TCase,TOutput
NexusLabs.Foundry.Evaluation¶
NexusLabs.Foundry.Evaluation.Experiments¶
ExperimentPolicyContext<TCase,TOutput> Class¶
Provides immutable run measurements to an experiment policy.
public sealed record ExperimentPolicyContext<TCase,TOutput> : System.IEquatable<NexusLabs.Foundry.Evaluation.Experiments.ExperimentPolicyContext<TCase, TOutput>>
Type parameters¶
TCase
The caller-owned case value type.
TOutput
The caller-owned output type.
Inheritance System.Object 🡒 ExperimentPolicyContext\<TCase,TOutput>
Implements System.IEquatable<NexusLabs.Foundry.Evaluation.Experiments.ExperimentPolicyContext<TCase,TOutput>>
Properties¶
ExperimentPolicyContext<TCase,TOutput>.ExperimentName Property¶
Gets the experiment name.
Property Value¶
ExperimentPolicyContext<TCase,TOutput>.Items Property¶
Gets every item in stable source/trial sequence order.
public System.Collections.Generic.IReadOnlyList<NexusLabs.Foundry.Evaluation.Experiments.ExperimentItemResult<TCase,TOutput>> Items { get; }
Property Value¶
System.Collections.Generic.IReadOnlyList<NexusLabs.Foundry.Evaluation.Experiments.ExperimentItemResult<TCase,TOutput>>
ExperimentPolicyContext<TCase,TOutput>.RunEvaluations Property¶
Gets run-evaluation results in registration order.
public System.Collections.Generic.IReadOnlyList<NexusLabs.Foundry.Evaluation.Experiments.ExperimentRunEvaluationResult> RunEvaluations { get; }
Property Value¶
System.Collections.Generic.IReadOnlyList<ExperimentRunEvaluationResult>
ExperimentPolicyContext<TCase,TOutput>.RunId Property¶
Gets the caller-supplied run identifier.
Property Value¶
ExperimentPolicyContext<TCase,TOutput>.Source Property¶
Gets the materialized source identity.