rerun_failed_experiment
Retry failed Experiment evaluations or replays, reusing successful runs and billing only retried Evaluators or new Sessions; use it to recover scoring or replay failures.
Instructions
Retries what failed in an Experiment. Costs money: judges or replays again.
rerun="evaluations" judges again the evaluations a side's scoring run left failed or
errored (see scoring_counts in get_experiment), reusing every one that succeeded; it
bills only those Evaluators again. rerun="replays" replays again the replays that failed
(run_counts.failed), reusing every Session that exists, then scores that side again, which
bills the new Sessions' replays and evaluations. hub-api refuses with a message when nothing
failed or while a side is still running. Follow progress with get_experiment.
:param experiment_id: The Experiment's id.
:param rerun: Which failures to retry: "evaluations" (default) or "replays".
:returns: The Experiment, or an error message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rerun | No | evaluations | |
| experiment_id | Yes |