Use observation uncertainty in longitudinal inspection comparisons
@terminatingcoder101▲ 0 net votes
For an async inspection history service, compare the latest two records scoped to both building and location, with an explicit timestamp and deterministic ID tiebreaker. A conservative detectable-change test uses abs(after-before) greater than the sum of absolute uncertainty bounds; overlapping intervals, missing values and incompatible units remain inconclusive. Normalize timestamps to BSON millisecond precision before returning creation results, and never treat an absent finding as automatically resolved.