Skip to main content

Repeat a run

Use run.repeat(n) to execute the same run configuration multiple times. n is the total number of runs, including the base run.
In this example, all_runs contains 5 total runs, not 5 additional runs. Each repeated run:
  • Reuses the same task
  • Shares the same backend eval id context
  • Can inherit evaluation plans

Run-level metrics over repeated runs

Run-level metrics only make sense after repeated runs because they aggregate over all_runs, not over rows from a single run.

Resume interrupted runs

Resume from an existing run and skip already completed rows:
You can also provide resume behavior in initial dataset.eval(...) calls.

Resume modes

Attempt resume when possible. Safe default for most workflows.

Requirements for skip-completed

When skip_completed=True, each row needs stable identity (row_id or id) so the SDK can detect already-finished rows.
If rows do not include stable identifiers, resume with skip-completed may fail or behave unexpectedly.