Skip to content

ExperimentRunEvaluationContext TCase,TOutput

NexusLabs.Foundry.Evaluation

NexusLabs.Foundry.Evaluation.Experiments

ExperimentRunEvaluationContext<TCase,TOutput> Class

Provides every ordered item and stable run identity to a run evaluator.

public sealed record ExperimentRunEvaluationContext<TCase,TOutput> : System.IEquatable<NexusLabs.Foundry.Evaluation.Experiments.ExperimentRunEvaluationContext<TCase, TOutput>>

Type parameters

TCase

The caller-owned case value type.

TOutput

The caller-owned output type.

Inheritance System.Object 🡒 ExperimentRunEvaluationContext\<TCase,TOutput>

Implements System.IEquatable<NexusLabs.Foundry.Evaluation.Experiments.ExperimentRunEvaluationContext<TCase,TOutput>>

Properties

ExperimentRunEvaluationContext<TCase,TOutput>.ExperimentName Property

Gets the experiment name.

public string ExperimentName { get; }

Property Value

System.String

ExperimentRunEvaluationContext<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>>

ExperimentRunEvaluationContext<TCase,TOutput>.RunId Property

Gets the caller-supplied run identifier.

public string RunId { get; }

Property Value

System.String

ExperimentRunEvaluationContext<TCase,TOutput>.Source Property

Gets the materialized source identity.

public NexusLabs.Foundry.Evaluation.Experiments.ExperimentSourceReference Source { get; }

Property Value

ExperimentSourceReference