Renderer Now Flags Impossible Statistics as Unknown Instead of Repairing Them
A developer changed a renderer that displays statistical summaries so it rejects values outside their mathematical limits, such as probabilities above 1, non-integer counts, or more active cases than joined cases. When such a check fails, the summary shows UNKNOWN rather than clamping or silently dropping the bad field. The author argues that an out-of-range value signals a malformed report, not an extreme result, so the display should preserve uncertainty. Validation is placed at the consumer because producers can fail in new ways. Regression tests confirm the renderer returns UNKNOWN for each impossible input, though they do not verify the upstream calculations themselves.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in