Skip to main content

Initialization and auth

Calls like Dataset.push(...) and Dataset.pull(...) require initialization.
Set ZEROEVAL_API_KEY in your environment or pass api_key directly to ze.init(...).

Task contract errors

If a task is decorated with @ze.task(outputs=["prediction"]), it must return:
  • A dictionary
  • Including prediction

Column mapping errors

Evaluator args must map to real columns.
The SDK validates mappings and raises clear errors for unknown columns.

Resume errors

skip_completed=True requires stable row identity.
Without row_id (or id), row-level resume tracking cannot be guaranteed. repeat(n) also works best when rows have stable identity, because repeated runs and resumed runs are easier to compare by row_id.

Reliability tuning

Use these controls for flaky providers:
For production workloads, pair retries with checkpointing so partial progress is persisted during long runs.