fix(sfm): a MiniMate download's peaks come from its file when the unit confirms Normal range
Since the decode checker's histogram-PVS fix (625bc39, merged6945009) the file reads a histogram's vector sum as the unit stored it: K441LTON.900 stores 0.200 / 0.385 / 0.255 and a vector sum of 0.3852, as Blastware's report (was 0.503). The 0C summary, read at fixed offsets, can shift (BE9441 read 0 and -0.0, bench #4) -- and a shifted value can look plausible and pass the impossible-value guard. So the row now takes the file's channel peaks and vector sum. Only when the unit's settings confirm Normal range: the file reader computes every peak as if the range were Normal (_GEO_SENSITIVE_FS_INS is defined but unused), so a Sensitive unit's file peaks are 8x off (the checker's 33 waveforms). For Sensitive, or a range not read (a monitoring unit's 1A has no settings), the unit's own peaks stand, as before. The mic is always the unit's: the file still reads it as 0. The 0C peaks remain the download check. Store consequence: new live downloads only; no backfill, no migration. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
This commit is contained in:
1 parent
69450093f6
commit
0a87d85202
4 files changed
+68
-21
No files matched your search
@@ -685,10 +685,12 @@ a short plan; #14 waits for the line-hold decision above.
|
||||
7. `/db/events` 500 "database is locked" on the first page load against a new DB.
|
||||
8. ✅ **Fixed `9492e49`**, plus `3a1d34a` ("already stored" also matches the Blastware
|
||||
name: a histogram's row sits a second off its 0C time). The download carries the assembled Blastware file and is
|
||||
stored through `save_imported_bw` (`source.kind` "sfm-live"); the unit's 0C peaks,
|
||||
mic and vector sum are overlaid (the file path reads a histogram's vector sum as
|
||||
0.503 vs 0.385, the mic as 0, and no sensitive range yet), and its range scales
|
||||
the samples. The "Waveform" label waits for #41 from the checker branch.
|
||||
stored through `save_imported_bw` (`source.kind` "sfm-live"), and its range scales
|
||||
the samples. The unit's 0C mic is overlaid (the file reads it as 0). Its channel
|
||||
peaks and vector sum were overlaid too until 2026-10-31; since the checker's
|
||||
histogram-PVS fix (625bc39, merged `6945009`) the file's are taken when the unit
|
||||
confirms Normal range, and the unit's stand for Sensitive or an unread range (the
|
||||
file reader assumes Normal: 8x off). The label came with #41 (`a1d2b61`).
|
||||
**S3 downloads are stored from the live waveform decoder** (`store.save`), not
|
||||
the file reader that Series 4 uses (`save_imported_idf`): a histogram gets no
|
||||
samples and is labelled Waveform. Fix: store S3 downloads through the
|
||||
|
||||
Reference in new issue
Block a user