feat(scenarios): add meter-value-zero scenario - #169
Conversation
The corpus numbers idTag and transactionId to match the station ID. This scenario used SYNTHETIC-TAG-017 and 100017 against CS-SYNTHETIC-021, because issue ocpp-debugkit#108 still carried the tag from before the station ID moved off the collision with refused-authorization. Issue text corrected too.
|
This is right, and it is the first negative control in the corpus. I ran the trace One small thing, and it was my fault rather than yours. The corpus numbers the Merging now. That takes the corpus to 20 and clears the 20+ target for v1.0, and it |
#169 and #170 landed together, so this folds both forward. Rule coverage is complete: all 16 detection rules now have a scenario exercising them, the invariant #140 wrote into CONTRIBUTING. Verified by iterating the registry rather than by reading, 16 of 16 codes appear in some scenario's expectedFailures. The corpus is at 21, clearing the 20+ scenario exit criterion in the v1.0 milestone. Records the fifth and sixth good-first-issue completions (#108 by YANGCHUNHONG3000, #139 by MayurK-cmd), why #170 needed its branch repaired (cut before #161, its conflict resolution deleted heartbeat-timeout.ts and left stray markers that broke typecheck and build), and the station ID allocation now that 020 and 021 have shipped and 022 is next free.
Closes #108
Adds the meter-value-zero negative-control scenario using CS-SYNTHETIC-021. The all-zero cumulative meter trace is expected to report no failures, guarding against regressions in METER_VALUE_ANOMALY.
Validation: