Fix projection divergences from ADR 0002 #104
Notifications
Due Date
No due date set.
Blocks
#106 Show staged projection with evidence ladder
xavierk/Fenris
Reference: xavierk/Fenris#104
Reference in New Issue
Block a user
Problem
The projection diverges from ADR 0002, and its tests do not catch it:
projection.py:648computesmax(E_baseline − regime_bytes, 0). ADR 0002 §2 specifiesW_t, the lifetime written bytes. Remaining life is overstated on every drive with writes before the window. The implied formula at:642has the same mistake._resolve_baselinenever returnsBaselineTier.IMPLIED._get_pu_increments_in_segmentis never called. ADR 0002 §10's gate fact, "vendor wear estimate too coarse to imply endurance", never renders.projection.py:389fails Supported unless at least 2 horizons exist. ADR 0002 §8 judges agreement across existing horizons.test_projected_formula,test_wearing_rate_proportionalandtest_headline_rate_from_regimeguard their asserts withif headline is not None. Their fixtures never insert a complete local day, so nothing is asserted.test_projected_formulaalso encodes theregime_bytesmistake.Acceptance criteria
compute_projection.Architecture review 2026-10-02.