docs: over range, the mic's range and dB offset, and Blastware's mic unit labels

- Reference D.6.15 (new): over range -- a peak past 2,000 units (the mic
  in counts) is OORANGE, per channel and per histogram interval; the
  vector sum is OORANGE exactly when a geophone is (43 / 43), never on
  its own (38 / 38); the <OORANGE> line marks the mic over (18 / 18).
- D.6.6: the mic's own range byte (an eighth at 1; 7 events read 8x
  high); the dB offset corrected in place to 81.938216 (every printed
  count leaves [81.9382058, 81.9382266]); the unit labels that do not
  hold, and the mixed columns.
- D.6.11, CLAUDE.md: 80 of 88 report fields match on every DL2 event
  (run 20261109-144544, 0 regressions); the two causes left (the vector
  sum's last digit on 4 twins, 4 accelerations); the 'vector sum alone'
  case retracted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
This commit is contained in:
serversdownandClaude Opus 5.5 committed 2026-11-09 15:11:43 -05:00
1 parent 6818e3023e
commit e2c0f26b69
2 files changed
+92 -20

No files matched your search

+23 -13
View File
@@ -45,14 +45,16 @@ Read this first when picking the project back up.
- **Byte layouts** of every field read from the file:
`docs/instantel_protocol_reference.md` Appendix **D.6**.
**Where the decoder stands on `dev`** (2026-11-08, run `20261108-034313`):
**72 of 88 fields match on every event**, up from about 6 before v0.33.0,
47 before group D and 59 after it.
**Where the decoder stands on `dev`** (2026-11-09, run `20261109-144544`):
**80 of 88 fields match on every event**, up from about 6 before v0.33.0,
47 before group D and 59 after it. Every other field matches or is accepted
under a carve-out with its evidence.
- Groups A, B, C and D part 1 shipped in v0.34.0 (#50, #51).
- D part 2 (the unit's own summary), E (the sensor check) and F (the
monitor log) are on `dev` and owe the next release a backfill.
- Still open: the mic stragglers, the `OORANGE` tag (18 events), the PPV /
vector-sum `OORANGE` carve-out, 4 accelerations.
- D part 2 (the unit's own summary), E (the sensor check), F (the monitor
log), over range and the mic fixes are on `dev` and owe the next release
a backfill.
- Left: 16 values in two causes -- the vector sum's last digit on 4
waveform/histogram twins, and 4 accelerations (reference D.6.11).
- 🔑 **Events are keyed unit + time + type:** `UNIQUE(serial, timestamp,
record_type)` (#51, Migration 3 in `sfm/database.py`, `dev`).
- A waveform and its histogram may share a second: 209 times in prod's
@@ -114,11 +116,18 @@ Read this first when picking the project back up.
- Blastware's "Number of Intervals" is the monitoring time ÷ the interval:
a carve-out, 8 events.
- ✅ **Histogram PVS** = the stored per-interval PVS²: 69,989 / 70,042.
**Mic:** one count = 0.25 Pa, dB offset 81.9384; a few dozen stragglers.
**Mic:** one count = 0.25 Pa (an eighth at mic range 1, the mic block's
label + 29), dB offset 81.938216 (2026-11-09; 81.9384 was too high).
- ✅ **Over range (D.6.15):** a peak past 2,000 units (32,000 counts; the
mic in counts) is Blastware's `OORANGE`, per channel and per interval; the
vector sum is `OORANGE` exactly when a geophone is, never on its own.
- 🔑 **Blastware's mic unit labels don't hold on every report** (D.6.6): the
peak carries its own `<Units>`, a sample table's cells say its unit, and
a few reports mix dB and psi in one column (carve-out `mic-units-mixed`).
- ❌ **Open:**
- the mic stragglers: ~20 one-minute histograms with an interval or two off
- Blastware prints `OORANGE` when the vector sum alone exceeds the range
(a carve-out to prove)
- the vector sum's last digit on 4 waveform/histogram twins: Blastware's
value is ~1.5 ppm lower, cause unknown (no factor applied)
- 4 accelerations (D.6.12)
- ⬜ **Not read yet, in the order proposed** (2026-11-03):
- ~~**A. Setup fields**~~ ✅ done on `dev`.
- ~~**B. Histogram interval detail**~~ ✅ done on `dev`. Frequencies (#50),
@@ -994,8 +1003,9 @@ with zero mismatches. Before: 1 of 1196.
shows mic in dB(L) with ~6 dB quantization steps. Need to map
ADC counts → dB(L) for direct comparison; likely
`dB = 20*log10(|counts|) + offset` or similar.~~ **Solved in v0.33.0.**
One count = 0.25 Pa, and dB(L) = 81.9384 + 20·log10(|count|), an offset
measured from Blastware's printed values (reference D.6.6).
One count = 0.25 Pa, and dB(L) = 81.938216 + 20·log10(|count|), an offset
measured from Blastware's printed values (reference D.6.6; 81.9384 until
2026-11-09).
- **Variable-prefix segment descriptors** — 3 of the 75 ground-truth
production events still truncate. The walk reaches a segment header
whose channel-id field is preceded by a *variable-width* prefix (2, 4