@neuracore/types 11.12.0-main.167.1 → 11.12.0-main.171.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1435,25 +1435,27 @@ export interface PendingRecording {
1435
1435
  * name: Name of the recording.
1436
1436
  * notes: Optional notes about the recording.
1437
1437
  * status: Current RecordingStatus of the recording
1438
- * qa_flag_reasons: QA check failures for the recording, if any.
1438
+ * qa_flag_reasons: QA findings for the recording, if any.
1439
1439
  */
1440
1440
  export interface RecordingMetadata {
1441
1441
  name: string;
1442
1442
  notes: string;
1443
1443
  status: RecordingStatus;
1444
- qa_flag_reasons: QAFailureResult[];
1444
+ qa_flag_reasons: QAFinding[];
1445
1445
  }
1446
1446
  /**
1447
- * Result when a recording fails a QA check.
1447
+ * One QA failure: why it failed, where in time, and optionally which trace.
1448
1448
  *
1449
- * ``affected_traces`` names the specific traces the failure was found on.
1450
- * An empty list means the failure applies to the recording as a whole,
1451
- * rather than to any particular trace.
1449
+ * High-level pass/fail lives on the recording as ``QA_FLAGGED`` vs ``NORMAL``.
1450
+ * This is the evidence behind a flag. ``start_time`` / ``end_time`` are the
1451
+ * failing interval when the check has one. ``trace`` is unset for
1452
+ * recording-wide findings.
1452
1453
  */
1453
- export interface QAFailureResult {
1454
- passed: false;
1454
+ export interface QAFinding {
1455
1455
  reason: QAFailureReason;
1456
- affected_traces?: TraceIdentifier[];
1456
+ start_time: number | null;
1457
+ end_time: number | null;
1458
+ trace: TraceIdentifier | null;
1457
1459
  }
1458
1460
  /**
1459
1461
  * Identifies a single raw trace within a recording.
@@ -1490,12 +1492,6 @@ export interface PoseData {
1490
1492
  type: Type15;
1491
1493
  pose: unknown[];
1492
1494
  }
1493
- /**
1494
- * Result when a recording passes a QA check.
1495
- */
1496
- export interface QAPassResult {
1497
- passed: true;
1498
- }
1499
1495
  /**
1500
1496
  * RGB camera data subclass.
1501
1497
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neuracore/types",
3
- "version": "11.12.0-main.167.1",
3
+ "version": "11.12.0-main.171.1",
4
4
  "description": "Shared TypeScript type definitions for Neuracore robotics platform",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",