Data integrity
Every live value says how far to trust it. A value is never shown blank and never shown silently stale.
On this page
A reading on a boat can be fresh, late, wrong or gone, and the crew decides on it either way. So every live value carries its integrity with it: the screen shows how much to trust a number, not only the number. The colors come from MSC.191 §5.6: yellow marks a stale or low-integrity reading, red marks an invalid or lost one.
The four states
| State | When | Treatment |
|---|---|---|
| Fresh | The reading arrived within its freshness window | Shown normally, with its source |
| Stale | The reading is late, and its last value is useful | Dimmed, with a yellow age badge |
| Degraded | Values arrive, but the quality evaluator distrusts them | The evaluator's reason, and deliberately no age |
| Invalid | The reading is lost or absent | Red marking, the last known value, and how long ago it was seen |
A degraded reading is flowing, so an age would misdescribe it. It shows the reason in the quality evaluator's own words ("heading frozen", "no GPS fix") so the UI never invents a caption.
Anatomy of a trusted value
Each readout carries its value, unit, source, and the evidence of its integrity in the same place.
The system pattern for each state. Yellow is the low-integrity token, red the invalid token; both follow the theme.
Missing is not zero
The sensor feed publishes some readings as plain numbers. A dead sounder can therefore arrive as 0,
the shallowest possible water, and raise a permanent shoal alarm. An untrusted reading is withheld and
rendered as invalid, while the last known value stays on screen with its age.
Derived values take the worst integrity
A value computed from several readings is only as trustworthy as the weakest of them. Set and drift need both GPS and boat speed, so if the log goes stale, set and drift go stale with it, and they carry the oldest of the input ages.
The derived value inherits the worst integrity of its inputs and the oldest age.
Sources
Every value names where it came from (SOUNDER, MAST, GPS, IMU · 10Hz), as part of the readout
rather than in a tooltip. With two sensors for one quantity, the crew can tell which one they are
reading.
Related
- Reading: the live component and all of its states.
- Alarms and severity: the alarm ramp that shares these colors.
- Color: the integrity tokens in every theme.