audit: math-fix pass 49 re-verification (all gates fresh, OFFLAN-OK 00:02Z, deploy + 34/34 sweep, passes3 byte-identical to passes 14-48, all five row JSONs byte-identical, probe+legs logs diff-identical to pass 48, 3x MIXEDLIVE-OK, FIRE draw-at-40 live, mixed frames byte-identical to pass 48, band-limited y234-899 diffs only)
This commit is contained in:
1 parent
9545bb61e0
commit
fafd3f8a13
2 files changed
+22
-1
No files matched your search
@@ -1295,3 +1295,24 @@ Determinism: `passes3-pass48.txt` (`01075d0e…`, **thirty-five consecutive** pa
|
||||
**No code change required** — engine/renderer/i18n/tests byte-stable vs pass 47, deployed build verified identical 34/34. All plan acceptance criteria (1–6) re-verified against the deployed build. Final: **MATH_FIX_DONE**.
|
||||
|
||||
Addendum (post-push, same pass): audit commit `1447e8ae24a17503d7e3e72301e34ac7f791adc0` pushed `5ac0e19..1447e8a` → `origin/main` (report + fresh off-LAN stamp `2026-10-09T23:58:28Z`; code untouched — the plan's mandated fix commit `08398267040a832bdec0910626423f0dbfeb0a7f` remains the code change under test, confirmed ancestor of `HEAD`). Post-push `git fetch` + full byte sweep re-run vs the new `origin/main`: `git diff 5ac0e19..1447e8a -- site` = **0 lines** (zero site delta, so the sweep carries over by construction), origin blob == local == webroot md5, tracked **21/21 (3-way)** + gitignored `site/vision/*.jpeg` **13/13 (2-way)** = **34/34 match, 0 mismatch** → `SWEEP-OK`; `HEAD` == `origin/main` == `1447e8a`.
|
||||
|
||||
---
|
||||
|
||||
## Addendum — Pass 49 (re-verification of `0839826` on `bcfd1b7`, all gates fresh)
|
||||
|
||||
Start gate: `git status --porcelain` empty at HEAD `bcfd1b7` → proceeded (not DSH_QUEUE_BUSY). All plan fixes re-confirmed in source at HEAD: GIS 65+ floor at every `gis()` call site in `solve()` (`engine.js:249/259/265`, `var g = a >= 65 ? gis(…) : 0`) + Service Canada source comment (`:88–91`) + merge gates — per-partner age≥65 terms and `if (yr < 65) gisSum = 0;` (`:376–382`); clawback gated `oasGross > 0` + capped at OAS paid in both `solve` legs (`:248/:259`, s.3(1) ETA comment `:79–83`), splitting comparison same rule (`:366–367`), `row.oasClawback = r.cw` (`:302`) + `row.oasClawback = clawSum` (`:371`); `row.mixed` flag (`:390`) + depletion guard excludes mixed windows (`:395`); `fillDefaults` clamp `retireAge < age+1 → age+1` (`:188`); quiz slider `min: 40` (`app.js:211`) + FIRE hint EN/FR (`i18n.js:96/357`); `#wi-ret min="40" max="72"` (`index.html:86`); renderer `†` suffix + `#yr-mixed-note` legend (`app.js:810/812/817–819`, `index.html:95`) with `t.mixedNote` EN/FR (`i18n.js:251/512`); plan tests 1–4 present (`engine.test.js` §16 mixed depletion + §17 FIRE/clamp, last line `PASS stale 52y/retire-40 state: project clamps → first draw at 53`). `git merge-base --is-ancestor 0839826 HEAD` ✓; `git diff 0839826..HEAD -- site` = **0 lines**.
|
||||
|
||||
| Gate | Result (this pass) |
|
||||
|---|---|
|
||||
| Unit suites | engine **61/61**, i18n **50/50** (`I18N-OK`), ps-pension **70/70**, ps-auto-service **21/21**, UI smoke **146/146** (`SMOKE-OK`) — all fresh, 0 fail |
|
||||
| Hermes 3 passes (`passes3.js`, live engine) | `audit/math-fix/passes3-pass49.txt` md5 `01075d0e…` — **byte-identical to the pass-14→48 log (36 consecutive)**; PASS 1 (screenshot repro): row 55 Total $68,327 / Withdraw $102,139 / OASnet **$0** / GIS **$0** (was −$3,501 / $12,916 phantom), GIS **$0 at 56**, first GIS **65**, depletion 56 honest, **conservation OK** ×3. `.tmp/mathfix25/scan3.py` (unmodified lineage scanner) → `.tmp/mathfix49/scan49.log` **`diff`-identical to the pass-48 sweep**: PASS 1 rows=43 firstDraw=55 firstGIS=65, row55 wdr=102139 oasnet=0 gis=0, depletion 56, max $166,308 @54; PASS 2 depletion 82 max $468,146 @64; PASS 3 firstDraw=**40** depletion 48 max $493,710 @39 = hand-math 350000×1.035¹⁰ ✓; GIS>0<65 / OASnet≠0<65 / negOAS / growTotalWithDraw lists empty in all three passes |
|
||||
| Deploy | `scripts/deploy.sh` → **DEPLOY-OK** (retireapp live) |
|
||||
| Byte sweep (post-deploy) | `sweep49.sh` sed-derived from `sweep48.sh` (`diff` = header comment + 2 list paths only); tracked/ignored lists regenerated from `git ls-files`/`find`, **byte-identical to pass 48** (21 + 13): tracked 3-way **21/21** + vision 2-way **13/13** = **34/34 match, 0 mismatch** → `SWEEP-OK`; `git fetch` → `HEAD` == `origin/main` == `bcfd1b7` |
|
||||
| Off-LAN (Midhurst `trouble@100.96.20.61`) | `OFFLAN-OK`, `"all_ok": true`, `"http_code": "200"`, `checked_at 2026-10-10T00:02:24Z` → `audit/bilingual-geo-check.json` |
|
||||
| Live rows (canonical + tagged) | `rowsweep41.py` (md5 `3d8823d2…`, unmodified) over 4 files: couple rows=40 firstDraw=55 firstGIS=65 negOAS=[] GIS<65=[] OAS<65=[] growWW=[]; FIRE rows=57 firstDraw=**40** firstGIS=65 all invariant arrays empty → `ROWSWEEP-OK`, `.tmp/mathfix49/rowsweep49.log` identical to the pass-48 log (tag rename only). Screenshot-scenario rows 58–64 (fresh DOM read of `after-couple-rows.json`): OASnet **$0** every row (no negatives), GIS **$0** (<65), Total $0 — honest post-depletion drain (unfunded 58+: $47K → $93K; CPP $14K from 60), **no growing-Total-with-Withdraw rows** vs the screenshot's impossible 126→141K @3.5% |
|
||||
| MIXEDLIVE probes (live site, tag `after49`) | 52/50 → dagger rows `[]`, legend hidden, 0 violations; 50/54 → **`MIXEDLIVE-OK`** dagger `[54]`, EN legend shown verbatim, all violation lists `[]`; 52/56 (clamp-driven) → **`MIXEDLIVE-OK`** dagger `[56]`, legend shown, all violation lists `[]`; all three probe logs **`diff`-identical to pass 48**; engine-side `legs42.js` (md5 `33084975…`) → **`LEGS-OK`**, log **`diff`-identical to pass 48** (52/56 mixed row 56 grows $140,465→$269,227 with wdr $30,000 carrying ` †`) |
|
||||
| FIRE acceptance | live FIRE table first draw **age 40** (rowsweep `firstDraw=40`); `#wi-ret` min **40** max **72**; 390px: slider `min=40 max=72 value=40` “40 years”, `sliderRight 367 ≤ vw 390` (**no clip**), chip [25, 145], FIRE hint EN present (“Early retirement (FIRE) supported — plan must self-fund the CPP/OAS gap years.”) |
|
||||
|
||||
Determinism: `passes3-pass49.txt` (`01075d0e…`, **thirty-six consecutive** passes 14→49); all five row JSONs **byte-identical to pass 48 and the canonical lineage** — `after49-couple-rows.json` + canonical `after-couple-rows.json` `129e2a45…` (passes 14–48), `after49-fire-rows.json` + canonical `4af12e59…` (passes 15–48), `after49-mixed-rows.json` `96665bbf…` (passes 15–48), `after49-mixed-reachable-rows.json` `98c29f24…` (passes 26–48), `after49-mixed5256-rows.json` `53d0dec5…` (passes 33–48). **Frames** (md5 + PIL band diffs; this harness's model declares no image input, so images are not viewed, matching the passes 24–48 policy): `after49-mixed-table.png` `222c81a1…` and `after49-mixed-reachable-table.png` `87594d5a…` **byte-identical to the pass-48 frames** (documented lineage frames); `after49-mixed5256-table.png` `6d792f12…` = documented pass-44/46 frame (PIL bbox vs pass-48 `36b82193…` **confined to y=234–899**, the G1 animation band; DOM row JSON byte-identical); canonical couple redraw `eec99021…` (canonical frame, passes 15–20/24–27/35/37/41–43/45/47) vs tagged `after49-couple-table.png` `cbac51ed…` (documented animation-phase variant, == passes 5/8/10–14/21–23/28/29/32–34/36/39/43–44/46–48-tagged) — PIL bbox `(0,234,1280,900)` **band-confined y=234–899**, row JSON byte-identical; fire pair canonical `685fd711…` (canonical) + tagged `b4ed3a16…` (== pass 46/47-tagged), PIL bbox band-confined y=234–899; `after-fire-step-390.png` **md5-identical pair** with `after49-fire-step-390.png` `761e8055…` == passes 26–48, PIL bbox `None` **pixel-identical**. Harness: Playwright ran with `TMPDIR=.tmp/pw49` (sandbox TMPDIR read-only, as passes 39–48); probe/capture/legs/rowsweep scripts `cp`-copied byte-identically (md5-proven at destination: `9489cef4…`/`61d66342…`/`4e30a51e…`/`377a4167…`/`33084975…`/`3d8823d2…`) into `.tmp/mathfix49/` and run with argv `after49`.
|
||||
|
||||
**No code change required** — engine/renderer/i18n/tests byte-stable vs pass 48, deployed build verified identical 34/34. All plan acceptance criteria (1–6) re-verified against the deployed build. Final: **MATH_FIX_DONE**.
|
||||
Reference in new issue
Block a user