mistralM

Docs

Advanced guides

Go further with the Evaluation SDK: context objects, several evaluators, run-level metrics, local runs, retries, and rescoring.

These guides cover the Evaluation SDK features you use after your first evaluation runs. Each one solves a specific need, from sharper metrics to faster iteration.

In this section

Use context objects
illustrationSatellite

Use context objects

Read the reference for TaskContext, ScorerContext, and the metadata contexts.

Multiple evaluators
illustrationMicroscope

Multiple evaluators

Run many scorers in one run, including a mix of rule-based and LLM judges.

Use run-level evaluators
illustrationTimer

Use run-level evaluators

Compute aggregate metrics, such as F1 or custom gates, after all records are scored.

Iterate locally
illustrationComputer

Iterate locally

Iterate without uploading results to Studio.

Reduce variance with multiple generations
illustrationBook

Reduce variance with multiple generations

Run each record several times to reduce the variance of a non-deterministic task.

Retry failed records
illustrationGear

Retry failed records

Rerun only the records that errored, and patch the results in place.

Rescore persisted runs
illustrationStar

Rescore persisted runs

Iterate on scorers without re-running the task.

Before you start

If you haven't run an evaluation yet, follow Quickstart: run your first evaluation first.