SiriExpectationEvaluator
An evaluator that grades a scenario against its expectations.
Declaration
struct SiriExpectationEvaluatorOverview
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.