In short.
This guide explains Mistral evaluation decorators for Python developers, but does not cover installing or deploying the plugin. It specifies execution defaults, shared task concurrency across generations, scorer failure handling and metadata callbacks. The examples were not executed; supported versions, costs and licence terms are unknown.
Researched and written by an AI model and checked by a second AI model. How it works
Covers the complete selected Decorators page at [https://docs.mistral.ai/studio/observability/evaluations/workflows-plugin/decorators.md], including all six decorators, parameter tables, execution notes and code fragments. Linked pages about context objects, multiple generations, run evaluators and optimization are excluded. No licence notice is supplied on the selected page. The examples were not executed; installation, compatibility, costs, reuse rights and runtime operation remain unknown or unassessed.
The overview
Identity
Decorators is a Mistral documentation page for its Workflows evaluation plugin, within the Studio observability documentation. It explains how functions are marked for execution and configured as Temporal activities. The source is [https://docs.mistral.ai/studio/observability/evaluations/workflows-plugin/decorators.md].
Assessment
Useful as a reference while writing evaluation functions: it provides decorator syntax, default settings and scheduling rules that affect parallel work and failure handling. It is most useful alongside an existing workflow setup. No execution results, reliability measurements or performance benchmarks are supplied.
Users
The intended readers are Python developers implementing tasks, scoring, run-wide evaluation, metadata or custom optimization behavior. Beginners can use the parameter explanations, but need additional background on async Python, Temporal and the surrounding evaluation API to assemble a complete workflow.
Capabilities
@evaluation.task marks the function producing an output for each record. It receives TaskContext and defaults to a two-minute execution timeout, two maximum attempts and five concurrent task executions.
@evaluation.scorer receives ScorerContext and returns a Score or number. Its defaults are one minute, two maximum attempts and five concurrent scorers per record. @evaluation.run_scorer receives RunEvaluatorContext, runs once after all records complete, and defaults to one minute and two maximum attempts.
@evaluation.record_metadata and @evaluation.run_metadata attach dictionaries to record and run metadata. Both default to one minute and two maximum attempts; record metadata also defaults to concurrency of five. @evaluation.mutator replaces the optimizer's default reflective mutator and defaults to two minutes and two maximum attempts.
Using it
Requirements
The examples import evaluation from mistralai.workflows.plugins.evaluations and context types from mistralai.workflows.plugins.evaluations.types. Submitted functions require the appropriate decorators. Python and package versions, dependency installation, credentials, Temporal configuration and deployment requirements are not specified.
Mechanism
Each function passed to the plugin runs as a Temporal activity, a unit of work with execution settings supplied by its decorator. evaluation.run() rejects undecorated tasks, scorers, run evaluators and metadata callbacks.
Task concurrency is shared across records and generations: requesting more generations reduces the records that can be in flight within that budget. Scorer concurrency is per record, and the lowest scorer concurrency setting applies when several evaluators are present. A record scorer that exhausts its retries produces an error score while the run continues.
Record metadata callbacks run after that record's task and scorers; run metadata callbacks run after the whole run. When results are uploaded to Studio, reading records back can add up to ten minutes to a run scorer's timeout.
Setup
Use a decorator without arguments to accept its defaults, or call it with keyword overrides. The task example supplies execution_timeout using datetime.timedelta and sets max_concurrency explicitly. Pass a decorated record metadata callback through evaluation.run(..., record_metadata=callback), and a run metadata callback through evaluation.run(..., metadata=callback). The page supplies fragments rather than a complete runnable project.
Example
The slow_task example sets a thirty-minute timeout and concurrency of ten, while the accuracy scorer uses defaults. Their function bodies are placeholders, so they do not demonstrate actual generation or scoring logic.
The output_length callback stores output_len using len(str(ctx.record.generations[0].output)). This measures the string representation of the first generation's output only. The record_count callback stores num_records using len(ctx.records) as run metadata. These examples were not executed.
Assessment & evidence
Limitations
The page explains the outcome of exhausted record scorer retries, but does not specify equivalent outcomes for tasks, run scorers, metadata callbacks or mutators. The scorer rule should not be generalized to those functions.
Complete dataset inputs, evaluator construction and environment setup are absent. Runtime behavior, compatibility and end-to-end operation have not been assessed.
Fit reasoning
The strongest practical value is distinguishing controls that look similar but operate at different scopes. A task concurrency value governs records and generations together, while scorer concurrency applies within each record. These distinctions help developers reason about parallel work, but the page supplies no measured throughput or overall request-rate guarantee.
Alternatives
The page describes choices within this API: use decorator defaults or explicit overrides, supply static run metadata or a callback, and retain the default reflective mutator or replace it with a custom one. It does not compare alternative guides or evaluation frameworks, so an external comparison is not established.
Evidence
The evidence consists of the complete Decorators documentation page at [https://docs.mistral.ai/studio/observability/evaluations/workflows-plugin/decorators.md]. It supports the documented parameters, defaults, callback timing and stated error behavior. It supplies no runtime traces, independent measurements or complete application example.
Access & freshness
Costs
The page provides no prices, billing units, free-tier terms or infrastructure cost estimates. It does not quantify how retries or multiple generations affect charges. Total cost is unknown.
Rights
No licence or redistribution terms appear in the supplied page. Rights to reuse its prose or code examples, and licence terms for the plugin itself, are unknown.
Freshness
The supplied snapshot was captured on 15 November 2026 at 09:11:00.651 UTC. This is a capture time, not a publication or update date. The page identifies no SDK or plugin release, so release-specific compatibility and subsequent changes are unknown.
Next steps
Confirm installation, supported versions and deployment requirements separately. Choose the decorator for each function's role, then set timeouts and concurrency with the documented scopes in mind. Before relying on the workflow, run a small example to check retries, scorer error scores and metadata output in your environment. Confirm pricing and reuse terms separately.
