Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down