Codwen docs
Research

Measurement floors

A floor for continuous metrics so a single seed cannot be read as a win, and a one-way ratchet that lets Romanian fertility only tighten.

A verdict must not be claimable below the noise level. The first floor instrument understood exactly one shape — a paired pass/fail count — which left two families of work with no floor at all, so "Romanian got better" could be read off a single number with nothing to compare it against.

Two families, one record

familyshapeexamplesfloor from
paired proportiona pass/fail counteval accuracy, resolve ratethe discordance rate
continuousa list of repeatstokens per word, bits per byte, lossthe spread across the repeats

The continuous floor is the standard error of the mean times the same multiplier the paired floor uses, so the constants live in exactly one place. Fewer than two finite repeats gives an infinite floor — a single seed resolves nothing — never a silently small number that would make every one-seed result look above the floor.

Two thin aliases name the intent — a tokenizer floor defaulting to tokens per word, a hybrid floor defaulting to loss — and both delegate to the same record.

The verdict

Every result, paired or continuous, carries one uniform record: the metric, the value, the repeats, the floor, a delta, and a verdict:

  • insufficient — the floor is not finite or there is no delta: nothing is claimable; this is what refuses a win from a single seed.
  • flat — the move is inside the floor and is refused.
  • win / loss — the move is at least the floor and the sign matches the direction.

The fertility ratchet

Besides the absolute Romanian bar, the tokenizer gate keeps a persisted history of every measurement and refuses one worse than the best ever recorded: fertility may only tighten. The first run bootstraps the history and passes; a regression fails and names both numbers; an equal-or-better measurement passes. A CI mode compares against the history without ever writing it.

The floor instrument mirrors the eval's own minimum-detectable-effect function, so a gate and the eval it guards can never disagree about how small is too small.

On this page