Skip to main content

evaluate_promotion

Function evaluate_promotion 

Source
pub async fn evaluate_promotion(
    storage: &Storage,
    project_id: ProjectId,
) -> Result<Option<(Experiment, Decision)>>
Expand description

Evaluate the running experiment (if any) against the promotion threshold. Returns the experiment + decision, or None if no experiment is running.