Skip to main content
evaluate() runs your system against a dataset, scores every case, and reports the run. Each case runs as its own trace, so you can open any case and see exactly what your system did.

Parameters

Call evaluate() with keyword arguments. TypeScript takes the same names in camelCase (candidateVersion, maxConcurrency) as a single options object. An inline list of cases runs fine, but only a Dataset can be reported to the platform — pass local=True when running against a list. Leave local and transport unset and the run reports to TraceRoot when credentials resolve. Python has both evaluate and evaluate_async. In TypeScript, evaluate is async — always await it.

Example

A local Dataset is published for you as part of the run, so you don’t need a separate publish step. On an interactive terminal the summary prints itself; piped and CI output stays clean.

Next steps

Reading Results

Read the summary and the per-case results evaluate() returns.

Datasets

Author, version, publish, and pull datasets.