---
title: "Through the noise"
subtitle: "A verdict you can trust: repeats, baselines and the noise floor"
date: 2026-10-15
author: The Shipyard Team
description: "Shipyard v0.0.2: repeats, pass@k, committed baselines, and the noise floor that stops a reshuffle from looking like a regression."
image: /blog/through-the-noise/opengraph-image
---

![A logbook card reading Through the noise.](/blog/through-the-noise/opengraph-image)

When we shipped the first version of Shipyard, the last limitation in the post was the one that mattered most: one run is a sample, not a verdict. The CLI didn't do that analysis for you yet. That undercut the thing the tool exists for. If a prompt change makes the score move, you need to know whether the agent changed or the dice did.

This release is the analysis. v0.0.2 turns a run into a distribution, freezes the ones you trust, and refuses to call a difference real until it clears the noise.

## Repeats

```bash
shipyard run evalsets/starter-eval --repeat 3
```

Each eval runs three times and the aggregate reports `pass@k` (passed at least once), `pass^k` (passed every time), the mean, the standard deviation, and flake detection. Repeats are isolated: the workspace is restored between repeats and after the run, so repeat 2 starts where repeat 1 started.

The two pass numbers are the useful pair. A suite that reports `pass@3 = 1.00` and `pass^3 = 0.67` is not lying in either column. The task is reachable and it is not reliable. That gap is a flake, and flakes block by default, because an agent that works two times out of three is a production incident on a schedule.

## The noise floor

Repeats only help if the gate uses them. `shipyard compare` computes a 95% Student-t interval (a Welch t-interval over the repeats) and treats a score drop as real only when it is bigger than **both** the `max_score_drop_pct` budget (2% by default) **and** that noise margin. The margin applies when either side has `k >= 3`, and it is printed per eval, in plain words, so you can argue with the number instead of guessing at it.

A worked shape: baseline repeats of `1.00, 0.95, 0.90` (mean 0.95), candidate repeats of `0.95, 0.90, 0.85` (mean 0.90). The candidate is five points down, over the 2% budget, but the t-interval half-width for these samples is about 0.11. Inside the margin, the status is `same`, exit code `0`. A candidate at mean 0.55 is beyond both, and blocks.

The same score is not the same story. Repeats of `1.0, 0.0, 1.0` have a defensible mean and an undeniable flake. `compare` reports `flaked` and blocks, because the finding is instability, not regression.

## Baselines you commit

```bash
shipyard baseline save evalsets/starter-eval --name main
git add evalsets/starter-eval/baselines/main.json
```

`baselines/main.json` is schema-stable and small: the suite digest, `k`, who created it, the run it came from, and the full per-eval aggregates. Commit it like a lockfile and regenerate it on `main`, never inside a pull request.

Then the gate is one command. `shipyard compare` classifies every eval as `improved`, `same`, `regressed`, `flaked`, `errored`, or `skipped`, and exits `0` for a passing gate, `1` when it blocks, `2` for a usage error. A pass to fail flip blocks. A flake blocks. An infra error always blocks.

## What won't fool you

**Verdict integrity.** A sandbox failure, a timeout, or a killed container is labeled **infra**, and a rubric process failure is labeled **rubric**. Neither ever reads as "the agent failed", because that misdiagnosis sends you to rewrite prompts about a Docker problem. Every verdict JSON carries a `schema_version`, and `n/a` is printed where a harness cannot report.

**Provenance.** Every rollout writes `run.json`: engine, CLI, and Go versions plus commits, the resolved agent command, the model, a best-effort harness version like `claude 2.1.3`, the environment image id, and two hashes. `suite_digest` covers the eval definition; `config_hash` covers the resolved execution config, so two machines with the same setup agree.

**Same-suite binding.** The agent is the subject of comparison, so the `[[agent]]` block is excluded from the binding digest. The instruction, rubric, and environment are not: change any of them and `compare` refuses with exit `1`, naming the eval and the changed files. `--allow-suite-mismatch` compares only the evals whose definitions still match, and says so. A new rubric against an old baseline is a category error, and now it is a refused command.

**Costs with honest holes.** API plugins report real token counts; CLI harnesses report `n/a`, never an invented number. Costs come from a shipped pricing table overridable with `pricing.toml`; an unknown model shows no cost, never `0`. When only some evals could report usage, the suite total says `partial`. A number that isn't there should look like it isn't there.

**Output that lands in the PR.** `--report markdown,json,junit` writes the reports, `--json` prints machine-readable results, and the CI action posts a sticky delta comment (updated in place, not reposted), surfaces JUnit in the test pane, annotates the failing eval directory, writes a job summary, and uploads rollouts. The gate blocks with an explanation attached.

## A blocked PR, end to end

```bash
shipyard validate evalsets/starter-eval          # no container, no tokens
shipyard run evalsets/starter-eval --repeat 3    # the sample
shipyard baseline save evalsets/starter-eval --name main
git add evalsets/starter-eval/baselines/main.json
```

A pull request edits the instruction and the CI gate runs:

```bash
shipyard compare evalsets/starter-eval \
  --baseline baselines/main.json --candidate results.json \
  --policy .shipyard/gate.toml
```

```
eval                    status      baseline  candidate  margin
lookup-order-status     same        0.98      0.97       ±0.08
apply-discount-code     improved    0.82      0.95       ±0.10
refund-policy-cap       regressed   1.00      0.30       ±0.11
```

Exit code `1`. The test pane shows `refund-policy-cap` as a failed test case, the annotation points at the eval directory, and the sticky comment carries the table. Three repeats cost three times the tokens and time, and they also caught the one thing a single run cannot: whether the drop was the agent or the reshuffle.

## What is still honest to say

Repeats are not free: `--repeat 3` triples wall-clock and spend. The t-interval needs `k >= 3` on at least one side before it applies. CLI harnesses still report `n/a` for tokens, so cost gating is mostly an API-provider feature for now. First-class declarative tool assertions are not in this release; rubrics can assert on `tool_calls` and `conversation` from stdin in plain Python, and declarative assertions arrive in 0.0.3.

This is v0.0.2 and source-available. Pin an exact version in CI.

## Try it

```bash
curl -fsSL https://raw.githubusercontent.com/dock-at-the-yards/shipyard-cli/main/install.sh | sh

shipyard run evalsets/starter-eval --repeat 3
shipyard baseline save evalsets/starter-eval --name main
shipyard compare evalsets/starter-eval --baseline baselines/main.json
```

A verdict you can't reproduce is a rumour. A verdict you can't distinguish from noise is a coin flip. Three repeats and a committed baseline are the cheapest way to stop shipping both.
