ARSVIN GitHub

Sampled Values Real-Device Evidence Pack

This document defines the minimum evidence needed before ARSVIN promotes a Sampled Values behavior from structural inference to device-observed or lab-interoperable status.

Required inputs

Each evidence pack should contain sanitized, mutually consistent artifacts:

Device identity is evidence metadata. It must not become a hidden scaling or payload-layout rule.

Capture cases

A first protection-stream pack should include:

  1. zero input;
  2. balanced nominal current;
  3. balanced nominal voltage;
  4. unbalanced phase values;
  5. phase-angle reference cases;
  6. normal sample-counter wrap;
  7. one dropped sample;
  8. one duplicate sample;
  9. one deliberately late or out-of-order sample;
  10. publisher restart or configuration-revision transition;
  11. good, questionable, invalid, test, substituted, blocked, and derived quality cases where the device supports them;
  12. synchronized and unsynchronized operation;
  13. matching and intentionally mismatching SCL.

Expected machine-readable files

evidence/<device-id>/
  source-register.md
  device-context.json
  expected-stream.json
  expected-values.json
  expected-quality.json
  expected-anomalies.json
  zero-input.pcap
  known-current.pcap
  known-voltage.pcap
  sanitized-system.scd

Private captures may remain outside the public repository. A synthetic public fixture must reproduce every behavior protected by automated tests.

Value domains

Expected values must state their domain explicitly:

No primary-to-secondary conversion is valid without an explicit positive ratio and provenance. The report must record the ratio source and reference.

Quality evidence

Quality is recorded per channel with:

Ambiguous high-word versus low-word encoding is reported as unknown instead of guessed.

Acceptance criteria

A real-device pack passes when:

Passing these criteria is engineering interoperability evidence, not an accredited conformance certificate.

GPL-3.0-or-later community documentation. Commercial terms require a separate agreement.Review this page on GitHub →