Skip to content

R27

What to build

Release qualification rejects p99 below p95 before computing overhead.

Source and evidence

Repository scientific/architectural review, snapshot 86c8517, item R27. Classification: confirmed defect; medium severity.

Serving sample validation checks exact field names and finite nonnegative values, but not the relationship between latency percentiles. It accepts p99 below p95, then qualifies the document if independently computed overhead stays within budget. For percentiles of the same latency distribution, p99 must be at least p95. Contradictory raw evidence can therefore pass a release qualification gate.

The retained retained synthetic probe changes only the serving p99 fields in the existing valid fixture: disabled p95/p99 become 20/10 ms and enabled become 20.5/10.5 ms. The 5% p99 regression and all other retained derived metrics remain consistent. The actual evaluator accepts the entire document. No workload was executed or performance claim manufactured; this is a synthetic validation probe.

Acceptance criteria

  • [ ] Contradictory disabled and enabled samples each reject even when derived regression numbers meet budgets.
  • [ ] Equal p95/p99 and zero-latency boundary samples remain valid where mathematically supported.
  • [ ] Sample units/ranges and cross-field invariants are enforced before derivation.
  • [ ] A negative fixture changes only percentile ordering and reaches the real qualification validator.
  • [ ] Preserve Consumer-owned meaning, payload-free evidence, disabled optional-import isolation, safe diagnostics and the non-relaxable Safety Floor.
  • [ ] Run the narrowest observable contract, then applicable committed Make gates. Record every command and outcome; update specifications/compatibility evidence for changed public or wire contracts. Run native Collector verification for changed Collector assets and build for packaging changes.

Design guidance

Centralize sample semantic invariants and retain existing budgets. Do not compensate invalid raw distributions with apparently favorable derived ratios.

Keep prefactoring narrow and verifiable in this slice. Reuse established owners and structural interfaces; introduce a pattern only when it clarifies a real responsibility or variation point. Do not add consumer vocabulary or private payloads to platform code or evidence. Mocked/local results must not claim hosted, production, accelerator or release qualification.

Blocked by

None (can start immediately). Shared-area coordination is useful, but no other review fix is a genuine prerequisite for this slice.

Verification scope

Convert the described counterexample or investigation oracle into an observable test at the lowest suitable public boundary. Prefer bounded operation-count or deterministic interleaving evidence to flaky timing assertions; timing guarantees need a declared tolerance and independently owned cleanup. This ticket authorizes remediation/research, not publication or deployment.