Our old mode-reporting wrapper expected one value. The replacement environment gives it a container, and a failed read now produces a plausible mode on the screen. I have asked the maintainer for the response definition of each supported version. I would like the comparison to end with a trustworthy unavailable state, not another guessed number.
That gives you a small failing test. Check success first, then extract the required mode field using the selected version's contract. Reject unexpected shapes
At present the false number replaces it. The proposed display will show current mode unavailable, with a separately labelled last successful mode and observation time.
Would the last successful mode actually help the person using this screen? I can see it helping maintenance, but I would not want it sitting there looking like an instruction about the present machine state.
And keep the diagnostic history even if you choose not to show the old mode on the main tile. Display clarity needn't mean throwing away the useful record
We tried it. Covering technician read the old mode as current despite the small label, so the main tile now shows unavailable only. Last successful observation is in the labelled history view.
The decoder tests now cover both supported versions, errors, absent mode, malformed containers and a later valid reply. The deployed screen passed those same saved sequences with the maintainer.
Thanks for testing the old-mode display with someone else. I wasn't sure it would confuse them, but that result makes the simpler main tile a sensible choice.