Skip to content

ExperimentRunOptions

NexusLabs.Foundry.Evaluation

NexusLabs.Foundry.Evaluation.Experiments

ExperimentRunOptions Class

Configures one provider-neutral experiment run.

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

Inheritance System.Object 🡒 ExperimentRunOptions

Implements System.IEquatable<ExperimentRunOptions>

Properties

ExperimentRunOptions.AttemptTimeout Property

Gets an optional cooperative timeout applied independently to each task attempt.

public System.Nullable<System.TimeSpan> AttemptTimeout { get; init; }

Property Value

System.Nullable<System.TimeSpan>

ExperimentRunOptions.ItemScopeCleanupTimeout Property

Gets the total time allowed for item-scope abort and disposal after cancellation, or for bounded disposal after terminal completion.

public System.TimeSpan ItemScopeCleanupTimeout { get; init; }

Property Value

System.TimeSpan

ExperimentRunOptions.MaxConcurrency Property

Gets the required maximum number of active task attempts.

public int MaxConcurrency { get; init; }

Property Value

System.Int32

ExperimentRunOptions.RetryPolicy Property

Gets the optional bounded execution retry policy. A missing policy performs one attempt.

public NexusLabs.Foundry.Evaluation.Experiments.IExperimentRetryPolicy? RetryPolicy { get; init; }

Property Value

IExperimentRetryPolicy

ExperimentRunOptions.RunId Property

Gets the caller-supplied stable run identifier.

public string RunId { get; init; }

Property Value

System.String

ExperimentRunOptions.SharedLimiter Property

Gets the optional caller-owned concurrency limiter shared across experiment runs.

public NexusLabs.Foundry.Evaluation.Experiments.IExperimentConcurrencyLimiter? SharedLimiter { get; init; }

Property Value

IExperimentConcurrencyLimiter