Unit 02 · lesson
Valid Representation Is Not Valid Sensor Evidence
A value can be valid Java and still be invalid for the sensing problem.
double rangeMeters = 99.0;
The JVM can represent it. That does not mean the sensor contract allows it.
Separate these questions:
Can Java represent it?
Does the message/interface permit it?
Does the application accept it?
Does physical evidence support it?
Those are different boundaries.
Checkpoint
Take three supplied values and classify each at the representation, interface, application, and physical-evidence layers. Preserve any rejected value instead of silently deleting it.
Your evidence should show why a value was rejected and at which boundary.