docs(changelog): Unreleased -- sensor check results, and a no-mic unit's traces

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-07 15:58:16 -05:00
1 parent 3cd414b589
commit 4402753e70
1 file changed
+44
+44
View File
@@ -45,8 +45,46 @@ All notable changes to seismo-relay are documented here.
- Report-paired events keep the report's values, which are equal. A
report's "<1.0" still overlays as no value until the overlay is retired.
- Displacement and times of peak are not stored in the DB or `.h5` yet.
- **Sensor check results come from the unit's own records** (group E of the
file-only decode; `feat/sensor-check-results`, merged 2026-11-07). Measured
on DL2 2026-11-06.
- **Where they are:** the header of each sensor-check record (`0x3c` Tran ..
`0x3f` MicL), whose traces `minimateplus/sensor_check.py` already decoded
(reference D.6.13).
- **What it holds:** channel type, status, frequency × 10, ratio × 10 and
amplitude in mV.
- **Blastware prints them as they are:**
- 209,943 / 209,943 geophone frequencies and ratios
- 69,975 / 69,975 mic frequencies and amplitudes
- the result: "Passed" at status 0, "Check" at any other, "Disabled"
when the check is off
- **"Check" is the unit's own verdict.** K559L6N1's Tran is a Check at
8.1 Hz and 3.3, inside every passing range. SFM keeps the status code; its
bits are not decoded.
- New `Event.sensor_check_results`: channel → `SensorCheckResult`, with
`result`, `status`, `freq_hz`, `ratio` and `amplitude_mv`.
- **The tail of every event file is one record chain:** event record →
unit's summary → sensor checks → footer. It ends exactly at the file's end
on all 70,041 DL2 files.
- SFM now reads none of it unless it does.
- An unknown id inside an intact chain leaves only that record unread.
Before, it left everything after it unread too.
- **Decode checker:** 71 of 88 fields now match on every DL2 event, 59
before (run `20261106-125854`, 0 regressions). All 12 sensor-check fields
match on every event that has them.
- ⚠ **Operational:** codec change.
- Rides the next release's `TOOL_VERSION` bump and backfill with group D
part 2.
- No schema change and no migration.
- The results are on the decoded event only. They are not stored in the
DB, sidecar or `.h5` yet. Report-paired events keep the report's values
in the sidecar.
### Fixed
- **A unit without a mic keeps its sensor-check traces.** The trace decoder
required all four records `0x3c`–`0x3f`, so BE16352 (no `0x3f`) had none in
its `.h5`: all 8 of its DL2 events. Its three geophone traces are now decoded.
- ⚠ Operational: they appear after the next release's backfill.
- **The decode checker reads the mic's above-range ZC flag under its real name**
(`mic_zc_above_range`). A mic ">100" could never match before.
@@ -62,6 +100,12 @@ All notable changes to seismo-relay are documented here.
- **Reference D.6.11 and CLAUDE.md:** the 59 / 88 status. Leads for E: records
`0x3c` / `0x3d`, probably the sensor check. Leads for F: a waveform's
monitor log may be its event record's start and stop.
- **Reference D.6.13 (new):**
- the record chain to the footer
- the sensor-check header and what Blastware prints from it
- **Reference D.3.3:** the footer is the chain's last record (`00 1a`, id `0e`).
- **Reference D.6.12:** its "`0x3c` / `0x3d`, before and after" retracted in
place. It is one record per channel.
- **Reference D.6, "Reading a mismatch":** 256, 4,096 and 65,536 mean a number
outgrew its 8-, 12- or 16-bit box. Every case so far is listed (Brian's
observation, 2026-11-05).