Skip to content

WHOOP 4 v24: inner[31] is a beat-confidence score (and inner[27:29] quality flags) #93

Backlog

Description

@magnetarQ

records.dart says of inner[31] "we do not know what [it] is". On our strap (85,331 consecutive v24 records) it
grades the record's own R-R. Share of beats that are artefacts (R-R outside 300-2000 ms or > 25 % from the median of
9 neighbours): 1.4 % at 255, 6.3 % at 240-254, 14 % at 150-239, 38 % at 100-149, ~50 % below 100. Median |HR field −
HR from the record's R-R|: 2.6 bpm at 255 → 33 bpm at 0-49. Against beats we detected ourselves in the simultaneous
live R11 slot-1A waveform (one night, 15,660 R-R): > 100 ms off in 2.8 % at 255 vs 46.6 % at 100-149. Byte 28 bit 0
clear: 3.4 % vs 41 % set. While still (f32@32 < 0.03) the grading holds: 1.3 % at 255, 7.4 % at 200-254, 47 % at
100-149.
On your decode_parity_cases.json (629 distinct consecutive v24 records, 425 R-R) the same criterion gives 8.9 % at
255, 41 % at 200-254, 52 % at 150-199; byte 28 bit 0 set 47 % vs clear 20 % (no values below 150 in the corpus).
Suggest exposing inner[31] as beatConfidence (raw 0-255) and inner[27:29] raw in the opt-in parseV24Status
result from #90, R24.toMap() unchanged. Not claimed: the firmware's formula, the meaning of individual bits, or an
HRV benefit (on our night it did not beat a simple neighbour-median filter for 5-min RMSSD). Raw captures not
attached (health data).

Found by offline analysis of our own captures, with AI assistance; not run in the app.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions