016-support-routing-swap-threshold
Declared uncalibrated threshold in support-routing swap test (amends 007)
A proposed amendment of approved spec 007 (R-16). Spec 007 3.4.3 and section 5 require the backend swap test to assert identical compiled plans' policy sections across the rules backend and Jev backend. Under owner decision R-31 (approving Q-1), Jev returns an uncalibrated distribution and declares `uncalibrated_threshold` on `topic`'s `top_mass_below` condition with a margin rule. The reference definition keeps `uncalibrated_threshold: not_declared` to match the golden document byte-for-byte (3.1.3). Because `uncalibrated_threshold` is part of the condition inside the policy section, the compiled plans' policy sections cannot be strictly identical under equality. This amendment amends 3.4.3 and section 5 so that the swap test asserts identical policy rules, conditions, thresholds, adjustments and output declarations, accounting for Jev's declared uncalibrated threshold on `topic`. It also resolves two further conflicts found while preparing 007's delivery: where the swap test can live given spec 001 3.4.4, and how priority can be a separately labeled field given the declarative task adapter's one-label-per-case shape (spec 006, 3.8). Approved (A-13, 2026-09-26) with both open questions settled as recommended (R-33); implementation complete, delivered with spec 007.
Read the full pinned specification ↗Relationships
depends on
Claimed units
No ownership claims exported.
Source headings
- 016: Declared uncalibrated threshold in support-routing swap test (amends 007)
- 1. Purpose
- 2. Territory
- 3. Behavior
- 3.1 Selection policy comparison across bindings
- 3.2 Amendment of spec 007 normative text
- 3.3 Where the swap test lives
- 3.4 Priority as a separately labeled field
- 4. Observable negative cases
- Implementation record
- Open questions
Frozen anchors
No frozen anchors declared.