mirror of
https://github.com/ruvnet/RuView.git
synced 2026-10-21 22:22:33 -05:00
ruview-groundtruth had an MmWave reference modality but no way to read a radar log. RadarLabels reads one JSON summary per window (the shape a UART radar reader writes: timestamp_ms, window_start_ms, health, source flags, presence, target_count, max_target_count, distance_cm, targets x/y) and turns each window into presence, person-count and nearest-range labels. Each label carries its basis and an uncertainty: a count interval from the counts the window reports, the configured range sigma (a datasheet figure, so CLAIMED), and the reader's quality. Windows from a simulated or unverified source, a no_source reader, or with a presence flag that disagrees with the count are UNKNOWN with a reason rather than guessed. Labelled windows convert to ReferenceSeries for the existing alignment and agreement code. Malformed lines are row-numbered InvalidRow errors. serde_json moves from a dev-dependency to a dependency for the parser. Co-Authored-By: claude-flow <ruv@ruv.net>