# Time ladder: results

Run 16 November 2026 against `TIMELADDER_PROTOCOL.md`. Version 1 was frozen in commit `bde71a6`, version 2 in `938df3a`, and each test was run once.

**Evidence label: synthetic observation.** The data are Phase I's generators and counts. No hardware.

## The short answer

Reading the same counts through a ladder of averaging windows finds the mechanism that the registered residual test H5 missed.

**On fresh seeds** (the clean test, seeds never used before):
- version 1 caught 78 of 96 (81%);
- version 2 caught **94 of 96 (98%)**, with false alarms on the five in-bank mechanisms of at most 4 of 96 (4%).

**On the 48 Phase I test trials where H5 failed:**

| Test | Caught |
|---|---|
| H5 | 11 of 48 (23%) |
| time ladder, version 1 | 43 of 48 (90%) |
| time ladder, version 2 | 48 of 48 (100%) |

False alarms on the five in-bank mechanisms stayed at 12% or below. *Caveat (added 23 November 2026):* version 1 had already been scored on these 48 trials before version 2 was designed, so version 2's 48 of 48 is not a fresh test. Lead with the fresh-seed 98%.

**Compared with a standard test (added 23 November 2026, post hoc, not pre-registered):** a periodogram judged against a fitted red-noise spectrum (`periodogram_baseline.py`) caught 46 of 48 on the Phase I trials and 91 of 96 on version 2's fresh seeds, with in-bank false alarms up to 7 of 48. Its period range was chosen knowing the true range. The ladder does somewhat better, but most of its gain over H5 is available to any spectral test. See the addendum in `RESULTS.md`.

**The reach is bounded at both ends of the ladder.** That failed the registered reach test in both versions:
- **Short end:** counting noise in short windows hides fast or weak oscillations.
- **Long end:** a window must fit several times inside the record before it can be trusted.

Between those bounds, detection is close to perfect.

## Detection by mechanism

| Mechanism | v2, fresh seeds, 96 each | v2, Phase I test trials, 48 each | v1, Phase I test trials | H5, Phase I test trials |
|---|---|---|---|---|
| constant | 0.00 | 0.00 | 0.00 | 0.00 |
| jitter | 0.00 | 0.00 | 0.00 | 0.06 |
| linear drift | 0.00 | 0.00 | 0.00 | 0.02 |
| telegraph | 0.04 | 0.12 | 0.10 | 0.04 |
| random walk | 0.02 | 0.02 | 0.02 | 0.12 |
| **sinusoid (outside the bank)** | **0.98** | **1.00** | **0.90** | **0.23** |

Version 1 on fresh seeds: sinusoid 0.81, telegraph 0.07, everything else ≤ 0.01.

| Hypothesis | Version 1 | Version 2 |
|---|---|---|
| TL1: fresh seeds, sinusoid ≥ 0.80 and every in-bank rate ≤ 0.15 | passed (0.81) | **passed (0.98)** |
| TL2: beats H5 on the same trials, in-bank ≤ 0.15 | passed (0.90) | **passed (1.00)** |
| TL3: reach over periods 10–160 | **failed** | **failed** |

## Each mechanism's fingerprint across windows

These are median slopes of the ladder per doubling of the window (version 1, fresh seeds). A slope of −1 is jitter averaging away; + means variance grows with the window.

| Mechanism | 1→2 | 2→4 | 4→8 | 8→16 | 16→32 | 32→64 | 64→128 |
|---|---|---|---|---|---|---|---|
| constant | −0.99 | −0.97 | −1.00 | −1.08 | −1.03 | −1.09 | −1.25 |
| jitter | −0.98 | −1.02 | −0.99 | −0.99 | −1.01 | −0.94 | −1.11 |
| linear drift | −1.02 | −1.04 | −1.03 | −0.80 | −0.19 | +1.15 | **+1.90** |
| telegraph | −0.89 | −0.66 | −0.17 | +0.20 | +0.24 | −0.22 | −0.83 |
| random walk | −0.98 | −0.91 | −0.69 | −0.20 | +0.33 | +0.45 | +0.73 |
| sinusoid | −0.98 | −0.90 | −0.35 | +0.80 | +1.21 | −0.44 | **−5.34** |

What the slopes show:
- **Short windows:** every mechanism looks alike, because counting noise dominates and the slope is −1.
- **Longer windows** separate them:
  - drift climbs toward +2;
  - wandering climbs toward +1;
  - switching rises, then falls;
  - repetition crashes.
- **One rung is not enough:** each mechanism has a shape only across the whole ladder.

![Time ladder](timeladder.svg)

## Reach in time: both ends

These are flag rates for an oscillation of amplitude 0.4 rad, 48 trials per point.

| Period (blocks) | 4 | 10 | 20 | 40 | 100 | 160 | 320 | 1,000 |
|---|---|---|---|---|---|---|---|---|
| version 1 | 0.00 | 0.00 | — | 0.73 | — | 1.00 | 0.00 | 0.00 |
| version 2 | 0.00 | 0.00 | 0.00 | 0.90 | 1.00 | 0.65 | 0.00 | 0.00 |

Version 2's amplitude sweep at period 100: 0.05 rad: 0.00 · 0.1 rad: 0.00 · 0.2 rad: 0.04 · 0.4 rad: 1.00.

**Short end (explanation fitted after the fact).** A window of t blocks only counts when its variance stands 16 times above the counting noise σ₀²/t, with σ₀² ≈ 0.075 rad² per block. An oscillation adds about 0.405 S² at t = T/2. So the smallest detectable amplitude is about √(16 σ₀² / (0.405 T/2)):

| Period T | 10 | 20 | 40 | 100 |
|---|---|---|---|---|
| smallest detectable amplitude, rad | 0.77 | 0.54 | 0.38 | 0.24 |

Every observed result is consistent with this:
- at 0.4 rad, periods 10 and 20 were missed and period 40 was mostly caught;
- at period 100 the cutoff falls between 0.2 and 0.4 rad.

I derived this after seeing the results, so it is a candidate law for a future frozen test, not a confirmed one. Going shorter costs shots: more shots per block lower σ₀². This is the same trade-off as the meter's reach in `../operational-math/LADDER.md`.

**Long end.** Version 2 only trusts windows that fit 3 times inside the 350-block record, so its longest fall is 58 → 116 blocks. Period 160 is half-caught, and 320 and 1,000 look like plain drift. That much was expected. Going longer costs record length.

## What this changes for the hardware plan

- **A real result inside the model.** A time ladder over the counts already collected detects a mechanism that no model in the bank contains. Its false alarms on the known mechanisms stay low, and it needs no extra shots.
- **Its blind spots are known and predictable:** fast-and-weak, and slower than about a third of the record. A diagnosis of "nothing missing" from this test is valid only inside those bounds.
- **It detects, it does not name.** Knowing *that* something periodic is present is the cue to add a periodic class to the bank. That is the class-discovery test proposed in `RESULTS.md`.

## Limits

- Synthetic, one qubit, pure detuning, known contrast. The Phase I limits apply.
- **The tuning stages were mine.** Both rules were tuned on development seeds I chose. Version 2's changes, including the minimum-repeats setting, were designed after seeing version 1 fail and after inspecting version 2's development false alarms. Both were frozen before their test seeds ran.
- The short-end amplitude law was fitted after the fact and has not been tested.
- The telegraph false-alarm rate on the Phase I test trials (0.12) is within the threshold but higher than on fresh seeds (0.04). With 48 trials, its standard error is about 0.05.

## Reproduce

```sh
python3 timeladder.py --test    # version 1
python3 timeladder.py --test2   # version 2; redraws timeladder.svg with both sweeps
```
