Contents

SiriExpectationEvaluator

An evaluator that grades a scenario against its expectations.

Declaration

struct SiriExpectationEvaluator

Overview

It reports the metrics of each kind of expectation — Calls, Finds, OnScreen, SiriResponse and Loads; a Loads(.preferred) is shown in the report but never graded. Return it from your evaluation’s evaluators, alone or with graders of your own, and call computeSiriMetrics(into:) from aggregateMetrics(using:) to show its metrics as the report’s summary cards.

Topics

Creating an evaluator

Grading a scenario

See Also

Evaluations