Check a Changed Point Map

Check a Changed Point Map

Check a Changed Point Map

Suppose the cold-room meter is replaced and its register now uses a different scale. A bridge can still emit valid JSON with the old rule, but the reported temperature will be wrong. Hold the new map until a raw sample and its expected scaled value pass a test. Record the map version with the result, so a reviewer can tell which rule produced each reading.

Technical boundaries. The exercise treats the replacement meter’s scale as a mapping rule that can be checked using a raw sample and its expected temperature, with the map version identifying the rule used. Valid JSON stops being evidence of a correct reading when the replacement register uses a different scale from the old map.

Back to the chapter