Skip to content

ExperimentRetryContext

NexusLabs.Foundry.Evaluation

NexusLabs.Foundry.Evaluation.Experiments

ExperimentRetryContext Class

Provides one completed execution attempt to a retry policy.

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

Inheritance System.Object 🡒 ExperimentRetryContext

Implements System.IEquatable<ExperimentRetryContext>

Properties

ExperimentRetryContext.Attempt Property

Gets the completed execution attempt.

public NexusLabs.Foundry.Evaluation.Experiments.ExperimentAttemptResult Attempt { get; }

Property Value

ExperimentAttemptResult

ExperimentRetryContext.CaseId Property

Gets the case identifier.

public string CaseId { get; }

Property Value

System.String

ExperimentRetryContext.RunId Property

Gets the caller-supplied run identifier.

public string RunId { get; }

Property Value

System.String

ExperimentRetryContext.Sequence Property

Gets the zero-based stable item sequence.

public int Sequence { get; }

Property Value

System.Int32

ExperimentRetryContext.TrialIndex Property

Gets the one-based statistical trial index.

public int TrialIndex { get; }

Property Value

System.Int32