ARSVIN GitHub

Sampled Values Profile Infrastructure

ARSVIN separates observed wire facts, configured expectations, and profile claims. This keeps the engine useful for unknown traffic while preventing unverified profile constants from becoming production claims.

Data flow

Parsed live or PCAP frame
        ↓
SvFrameObservation
        ↓
SvObservationAccumulator
        ↓
SvObservedStreamFacts
        ├── SvProfileDetector
        └── SvConfigurationComparer

The profile infrastructure is part of the shared ARSVIN.Engine assembly and has no dependency on WPF or Npcap.

Observed facts

An observation window can describe:

Fields that change during the window become unknown with a diagnostic instead of producing a false stable value.

Profile definitions

A profile definition can carry:

The built-in catalog currently contains only a generic SCL-driven Layer-2 SV fallback. Numeric definitions for named profiles remain outside the production catalog until the research gate is satisfied.

Explainable detection

SvProfileDetector evaluates only facts present in both the observation and definition. Each evaluated field produces one of:

Results include weighted evidence, score, matched and conflicting weight, and confidence:

Unknown
Possible
Likely
Confirmed
Conflict

A high score is an engineering classification result, not a conformance certificate.

Configuration-versus-wire comparison

SvConfigurationComparer compares configured expectations with observed facts for addressing, identifiers, dataset, revision, packing, payload, and declared sampling fields.

Two modes are available:

Neither mode stops receive-side capture or decoding. Unknown and conflicting streams remain visible.

Next integration

  1. Feed parsed live and PCAP frames into SvObservationAccumulator.
  2. Convert selected SCL stream bindings into SvExpectedStreamConfiguration.
  3. Present one compact profile/confidence state per observed stream.
  4. Show configuration mismatch details on demand rather than adding permanent visual noise.
  5. Add profile-specific definitions only after source review and deterministic evidence.
Apache-2.0 engineering documentation. Edit or review this page on GitHub →