In short.
This Mistral Studio guide shows developers how to grade saved AI outputs again without rerunning the task, but some overall run scores need explicit recomputation. The documented evaluation.rescore() API adds or replaces named evaluators against persisted outputs and refreshes statistics and goals. It returns an operational receipt, so updated scores must be retrieved separately. The guide is particularly relevant to costly agent executions and temporary sandboxes. Supported SDK versions, pricing and observed runtime behavior are not established.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete supplied page at the exact source address, including examples, API tables and the stale-run-evaluator warning. Linked pages, SDK source, installation documentation, pricing and legal terms are excluded. No code or API calls were executed; actual behavior, performance and compatibility with a specific SDK release remain unassessed.
The overview
Resource identity
Rescore persisted runs is a Mistral Studio documentation guide for the Python client.evaluation.rescore() API. Its focus is separating saved task execution from later evaluation, rather than teaching the full evaluation system.
The source is [https://docs.mistral.ai/studio/observability/evaluations/advanced-guides/rescoring.md].
Practical assessment
The guide provides useful implementation detail for revising evaluation criteria after outputs have already been generated. It explains consequential behavior that a short API example could miss: replacing a named evaluator replaces its complete score set, and changing generation scores can leave previously computed run scores stale.
It is most useful once a developer already has a persisted Studio run. It is not a complete onboarding guide: installation, authentication and a working dataset or task implementation are not supplied.
Who it helps
The intended users are developers and evaluation engineers who want to change how saved AI outputs are graded. The page specifically identifies agent rollouts and long tool chains as executions that may be costly to repeat.
Beginners receive a useful distinction between producing an answer and grading it. Applying the examples requires familiarity with Python functions, asynchronous calls and the surrounding evaluation API.
Documented capabilities
The API can add a new named evaluator or replace an existing evaluator at the same level. Generation evaluators grade individual saved outputs; run evaluators calculate results for the run as a whole. Identical score uploads are documented as idempotent, meaning retries do not duplicate score rows.
The guide also covers task-only runs, later access to persisted record and generation metadata, recomputation of statistics and goals, upload batching and scoring concurrency. Task-only runs can still use run evaluators to aggregate outputs, errors, metadata, latency or cost.
Using it
Requirements
Rescoring requires an accessible persisted run, its run_id string and at least one generation evaluator or run evaluator. The API accepts the identifier, not an EvaluationRun object; use run.run_id when holding that object.
The examples assume a configured Python client and the referenced evaluation types. The page does not specify an SDK version, installation command, authentication procedure, account entitlement or permissions. Scorers that depend on grading artifacts need those artifacts to have been saved.
How rescoring works
The guide separates a run into an execution artifact containing inputs, outputs, system configuration and errors, and a scoring layer containing evaluator definitions, scores, statistics and goals. Rescoring refreshes persisted records and changes only the scoring layer; it never invokes the task.
Supplied generation evaluators run first and their scores are persisted. Supplied run evaluators run afterward, followed by recomputation of statistics and goals. Evaluators omitted from the call are retained.
Run-evaluator functions are not persisted, and their dependencies on generation scores are opaque to the system. When generation scores change without recomputing every persisted run evaluator, the API warns about potentially stale results.
Using the API
To create outputs for later grading, call client.evaluation.run() with the dataset, task and evaluators=[]. The evaluators argument remains required: explicitly supplying an empty list creates the task-only run, while omitting the argument is an error.
For an existing run, call client.evaluation.rescore() with run_id and non-empty evaluators, run_evaluators or both. The documented defaults are upload_batch_size=10 and max_concurrency=10.
The returned RescoreResult contains run_id, scored_generation_count, run_scores_recomputed and potentially_stale_run_evaluators. Retrieve the run again or open Studio to inspect its updated scores and statistics.
Example from the guide
The coding-agent example exports a patch while the agent's environment still exists and saves it through record_metadata during a task-only run. Later, a tests_pass scorer reads the persisted patch from ctx.record_metadata and grades it, even if the original sandbox has disappeared.
The example depends on implementations such as execute_agent, export_patch and grade_patch that are not supplied on this page. It illustrates the data flow rather than providing a self-contained runnable program. Nothing was executed for this report.
Assessment & evidence
Limitations and pitfalls
An existing evaluator name replaces that evaluator's definition and complete score set; it does not append another version under the same name. Moving an evaluator between generation and run levels is rejected.
StaleRunEvaluatorWarning identifies run scores that may need recomputation; it does not establish whether they actually depend on the changed generation scores. Pass affected functions through run_evaluators to recompute them.
Scorer-context record_metadata and generation_metadata are documented as empty during the initial run and populated when rescoring hydrates persisted records. Artifacts needed from a temporary environment must therefore be captured for later use.
The page does not establish partial-failure behavior, transactional guarantees, maximum supported run size or measured scoring performance. Runtime correctness was not independently assessed.
Why the approach matters
Using the same saved outputs lets developers compare grading changes without introducing new task outputs. This follows from the documented separation between execution and scoring; it is not a measured claim about evaluation quality.
That same separation limits what rescoring can answer. It can assess existing outputs under revised criteria, but observing the behavior of a changed task requires another execution. Its usefulness also depends on whether the persisted outputs and metadata contain enough information for the new scorer.
Related operations
Within the documented API, run() performs task execution and can score its outputs, while rescore() evaluates saved outputs. client.evaluation.beta.update_run() is described as a lightweight status and metadata patch and does not calculate scores.
The page links to Retry failed records for rerunning only failed records. That linked guide is outside the available evidence. No comparison with other evaluation products or libraries is provided.
Evidence and confidence
The evidence is the complete documentation page at [https://docs.mistral.ai/studio/observability/evaluations/advanced-guides/rescoring.md]. It contains explanatory text, Python examples and parameter and return-field tables.
This supports an account of documented behavior, rather than observed results. No SDK implementation, execution logs, benchmark data or live Studio results are included.
Access & freshness
Costs
Avoiding another task execution can avoid repeating that work, which is the guide's motivation for costly generations. This does not establish that scoring or storing outputs is free.
The page provides no prices, quotas, storage charges or measured savings. Total cost and any costs incurred by a particular scorer remain unknown.
Rights and data terms
The supplied page does not state a documentation license, code-example license or redistribution permission. Those rights are unknown from this evidence.
It also does not establish service terms, retention periods, deletion behavior or data-use terms for saved inputs, outputs and grading artifacts. These details matter when deciding what to persist in Studio.
Version and freshness
The documentation snapshot was captured on 2026-11-15 at 09:07:23.832 UTC. Its source revision is sha256:38596829025dd6a87d0912a2e9a3d6f798ff99c4a9d7d708391a972c80080564.
The page supplies no publication date, last-updated date or supported SDK version. Compatibility with a particular installed release and changes after the capture are unknown.
Suggested next steps
Before applying the examples, confirm that the installed SDK exposes the documented API and that the persisted run contains the outputs and metadata the scorer needs. Use a new evaluator name when the goal is to retain an existing evaluator's results alongside revised grading.
Supply any dependent run evaluators in the same rescore call. The guide shows how to promote StaleRunEvaluatorWarning to an error when omitted recomputation should interrupt the calling code.
Inspect the returned receipt, then retrieve the run or open Studio to check actual scores and statistics. Establish applicable pricing and data terms before relying on the feature for ongoing evaluation work.
