diff --git a/interfaces/vendor-a-npu-evidence-layer-package/mappings/vendor-a-npu-to-evidence-v3.1.0.yaml b/interfaces/vendor-a-npu-evidence-layer-package/mappings/vendor-a-npu-to-evidence-v3.1.0.yaml index 0911bc0..d4868d7 100644 --- a/interfaces/vendor-a-npu-evidence-layer-package/mappings/vendor-a-npu-to-evidence-v3.1.0.yaml +++ b/interfaces/vendor-a-npu-evidence-layer-package/mappings/vendor-a-npu-to-evidence-v3.1.0.yaml @@ -10,6 +10,8 @@ spec: defaults: evidenceDomain: accelerator quality: {validity: valid, freshness: current, completeness: complete, mappingQuality: exact} + time: {clockDomain: monotonic} + traceability: {inputSchemaVersion: "1.2.0", normalizationRuleVersion: "3.1.0"} commonMappings: - {sourcePath: $.source_id, targetPath: $.identity.sourceId, required: true} - {sourcePath: $.workload_id, targetPath: $.identity.workloadId, required: true} diff --git a/interfaces/vendor-a-npu-evidence-layer-package/tests/normalization-vectors.yaml b/interfaces/vendor-a-npu-evidence-layer-package/tests/normalization-vectors.yaml index 2a745dc..eb65db8 100644 --- a/interfaces/vendor-a-npu-evidence-layer-package/tests/normalization-vectors.yaml +++ b/interfaces/vendor-a-npu-evidence-layer-package/tests/normalization-vectors.yaml @@ -38,6 +38,29 @@ tests: normalizedClass: unmapped originalValue: "0xFFFF" mappingQuality: unmapped + - name: records-carry-traceability-and-quality + input: + message_id: npu-status-19385 + source_id: npu-runtime-0 + workload_id: perception-front + execution_id: exec-8045 + resource_id: npu-0 + timestamp_ns: 1984217735000 + inference_latency_us: 41000 + device_state: 1 + expect: + contains: + evidenceType: workload.execution.latency + value: 41.0 + unit: ms + clockDomain: monotonic + validity: valid + freshness: current + completeness: complete + mappingQuality: exact + inputSchemaVersion: "1.2.0" + normalizationRuleVersion: "3.1.0" + sourceMessageId: npu-status-19385 - name: missing-required-field-is-rejected input: message_id: npu-status-19384