Overview
Device Reliability reports whether Junction has been receiving data consistently for each provider, source type, and resource connected to a user. A complete dataset and one missing most days each week look identical downstream. Device Reliability makes that difference visible, so you can decide how much to trust a user’s data before feeding it into a risk model or clinical workflow, and detect when a device has gone quiet. Thereliability table returns the latest 30-day snapshot. An ungrouped query contains one row per user for each monitored combination of:
source_providersource_typeresource
reliability_status; and the provider’s current connection_status.
How the snapshot works
Each snapshot covers exactly 30 completed floating calendar days, including bothwindow_start_date and window_end_date:
Available columns
Reliability status
A combination means onesource_provider, source_type, and resource for one user.
Each status is a plain verdict on the current window:
reliable: Data is arriving consistently. Gaps in the data are meaningful.degraded: Data is arriving, but with enough missing days to warrant caution in coverage-sensitive use cases.sparse_by_pattern: Data arrives intermittently but recently. This often reflects an occasionally used device, such as a smart scale, rather than a failure.stale: The combination produced data before and has gone quiet. Prompt the user to sync or reconnect.insufficient_history: Data for the combination has not yet been observed.
reliability_status by evaluating the following rules in order. The first matching rule wins.
connection_status is reported separately and does not change reliability_status. For example, a disconnected provider can retain a reliability classification based on presence during the current window.
Create a Device Reliability query
The following example selects the complete Device Reliability snapshot and uses a customer-owneddevice-reliability slug.
Query rules
Device Reliability uses direct identity columns rather than time buckets:- An ungrouped query must directly select
source_provider,source_type, andresource. It can also select any other Reliability columns. - A grouped query must group by a unique, non-empty subset of
source_provider,source_type, andresource, and it must select every group key. Other selected expressions must be aggregates over Reliability columns. - A
whereclause can filter onlysource_provider,source_type, andresource. - A Reliability query cannot reference another table.
Aggregate by provider
The following grouped query returns the lowest sleep coverage per provider for each user:group_key.0 for source_provider and min for the lowest presence_coverage across that provider’s source types.
Limitations
- Presence means that at least one normalized record or sample exists on a date. It does not measure whether optional fields are complete, and a real numeric zero counts as present.
- Reliability thresholds are cadence-agnostic. Healthy episodic, weekly, or monthly resources can therefore be classified as
sparse_by_pattern,degraded, orstale. - Expected resources are determined per provider, not per device model. A provider and source-type combination may therefore show
insufficient_historyfor resources its specific device never produces—for example, a smart scale may be listed withinsufficient_historyfor sleep. A row leavesinsufficient_historyonce Junction has observed that resource for the same provider and source type at least once. - Device Reliability excludes
profile,device,device_legacy,workout_stream,hypnogram, andsleep_stream.