Skip to content

IExperimentRetryPolicy

NexusLabs.Foundry.Evaluation

NexusLabs.Foundry.Evaluation.Experiments

IExperimentRetryPolicy Interface

Selects bounded execution retries for experiment items.

public interface IExperimentRetryPolicy

Derived
↳ ExperimentRetryPolicy

Properties

IExperimentRetryPolicy.MaxAttempts Property

Gets the maximum number of attempts permitted for one item.

int MaxAttempts { get; }

Property Value

System.Int32

Methods

IExperimentRetryPolicy.Decide(ExperimentRetryContext) Method

Decides whether a completed execution attempt should be retried.

NexusLabs.Foundry.Evaluation.Experiments.ExperimentRetryDecision Decide(NexusLabs.Foundry.Evaluation.Experiments.ExperimentRetryContext context);

Parameters

context ExperimentRetryContext

The completed attempt and stable item identity.

Returns

ExperimentRetryDecision
The retry decision.