Skip to content

ExperimentCase TCase

NexusLabs.Foundry.Evaluation

NexusLabs.Foundry.Evaluation.Experiments

ExperimentCase<TCase> Class

Defines one logical experiment case and the number of statistically independent trials to run.

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

Type parameters

TCase

The caller-owned case value type.

Inheritance System.Object 🡒 ExperimentCase\<TCase>

Implements System.IEquatable<NexusLabs.Foundry.Evaluation.Experiments.ExperimentCase<TCase>>

Properties

ExperimentCase<TCase>.Id Property

Gets the stable case identifier, unique within the materialized source.

public string Id { get; init; }

Property Value

System.String

ExperimentCase<TCase>.Tags Property

Gets optional case tags copied into the canonical result.

public System.Collections.Generic.IReadOnlyList<string> Tags { get; init; }

Property Value

System.Collections.Generic.IReadOnlyList<System.String>

ExperimentCase<TCase>.TrialCount Property

Gets the number of independent trials to run. Defaults to one.

public int TrialCount { get; init; }

Property Value

System.Int32

ExperimentCase<TCase>.Value Property

Gets the caller-owned case value.

public TCase Value { get; init; }

Property Value

TCase