# 8B/5B/SCM Render Fix — Handoff to the AD2 Session (2026-06-18)

## User
- **User:** Mike Swanson (mike)
- **Machine:** GURU-5070
- **Role:** admin

## Note for mike (AD2 session — datasheet-exact.js owner)

I drove the 8B/5B/SCM unpublished-render investigation from GURU-5070. Root cause is the
**same class as DSCA**, and finishing it needs **your existing DSCA machinery** — handing it over
rather than reimplementing in the file you're actively editing.

**What's done + committed (you'll have it on pull):**
- `projects/dataforth-dos/8b5bscm-templates.json` — **136 models** mined from Hoffman originals
  (accOut, accHeader, rows[name,spec], _srcSerial). Also on the box at
  `C:\Shares\testdatadb\8b5bscm-templates.json`.
- Validated **general parseRawData fix**: a PASS/FAIL line is wrongly consumed as the step line
  for non-DSCA families that omit the `"0","0",v` line (8B45/8B49/5B39/SCM5B33...). Change the
  guard to `if (!((family === 'DSCA' || skipStepIfStatus) && looksLikeStatus))` and pass
  `skipStepIfStatus` only for templated models (non-templated byte-unchanged).
- Proven the **Final-Test template branch generalizes** to 8B/5B/SCM (the 8 minimal patches are in
  `8B5BSCM-RENDER-VERIFY-2026-06-18.md`). Stage+verify vs Hoffman (content-normalized): **8B avg
  0.97, SCM5B 0.93**; 15 models content-perfect.

**What's left = your DSCA tools, applied to 8b5bscm-templates.json:**
1. **slotmaps** (`_derive_slotmaps.js`) — 70 models + most unpublished units render null on a
   measurement-count mismatch; they need per-model slotMaps. THIS is the unlock for the ~5,148 units.
2. **Math.fround QB rounding** — closes ~17 precision-distance models.
3. **frequency/AAC accuracy renderer** — 8B45/8B49/5B45 (frequency) + SCM5B33 (AAC) need the
   accuracy input/output labels + stimulus formatting the renderer can't do yet. **This is the SAME
   unsolved code blocking your DSCA45/DSCA33** — solve once, covers both.

Recommend wiring 8b5bscm-templates into your template/slotmap/rounding path and finishing the
freq/AAC accuracy block once for DSCA + 8B/5B/SCM together. Full detail + the verify harness:
`projects/dataforth-dos/8B5BSCM-RENDER-VERIFY-2026-06-18.md`. I published the one already-renderable
unit (8B32-01 165669-15); everything else awaits the slotmaps above.

## Status
- 8B/5B/SCM unpublished render: diagnosed + 136 templates mined/committed; remaining work handed to
  AD2 (slotmaps / QB rounding / freq-AAC accuracy). Live UI redesign deployed; /api/search sort + UI
  presets/publish wiring done earlier today.
