﻿---
title: Trials and comparing
description: An agent run is noisy. One pass proves little. silk run --trials 5 runs every scenario five times and reports, per scenario: pass@n: at least one of the...
url: https://docs-v3-preview.elastic.dev/concepts/trials
---

# Trials and comparing
An agent run is noisy. One pass proves little.
`silk run --trials 5` runs every scenario five times and reports, per scenario:
- **pass@n**: at least one of the n trials passed.
- **pass^n**: all n trials passed.

Use pass@n for "can it do this at all" and pass^n for "can I rely on it".

## Comparing two runs

```sh
silk compare .silk/runs/20261201-1000 .silk/runs/20261202-1000 --max-regression 0.1
```

silk pairs the two runs by scenario, reports the change in pass rate, and runs a paired randomization test so a difference from
noise is not reported as a change. With `--max-regression`, the command exits 1 when the candidate's mean pass rate fell by more
than that, so it gates a pull request.
Use it for with-skill against without-skill, one agent against another, or yesterday's server against today's.