---
title: SiriExpectationEvaluator
framework: Siri Evaluations
role: symbol
role_heading: Structure
platforms: [iOS 27.3+, iPadOS 27.3+, macOS 27.3+, visionOS 27.3+]
path: sirievaluations/siriexpectationevaluator
---

# SiriExpectationEvaluator

An evaluator that grades a scenario against its expectations.

## Declaration

```swift
struct SiriExpectationEvaluator
```

## Overview

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

- [init()](sirievaluations/siriexpectationevaluator/init().md)

### Grading a scenario

- [metrics(subject:input:)](sirievaluations/siriexpectationevaluator/metrics(subject:input:).md)

## Relationships

### Conforms To

- [EvaluatorProtocol](evaluations/evaluatorprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Evaluations

- [SiriService](sirievaluations/siriservice.md)
