@neuracore/types 11.12.0 → 11.13.0

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
  *
@@ -1858,6 +1854,8 @@ export interface TracesMetadataRequest {
1858
1854
  * resumed_from_checkpoint: The name of the checkpoint this job started
1859
1855
  * from, if applicable.
1860
1856
  * previous_training_time: The time spent on the previous training, if applicable.
1857
+ * seconds_per_epoch: Wall-clock seconds for the latest completed post-warmup
1858
+ * epoch, if measured. Used by clients to estimate remaining time.
1861
1859
  * error: Any error message associated with the job, if applicable.
1862
1860
  * resume_points: List of timestamps where the job can be resumed.
1863
1861
  * input_cross_embodiment_description: List of data types for the input data.
@@ -1891,6 +1889,7 @@ export interface TrainingJob {
1891
1889
  resumed_from_job_id?: string | null;
1892
1890
  resumed_from_checkpoint?: string | null;
1893
1891
  previous_training_time?: number | null;
1892
+ seconds_per_epoch?: number | null;
1894
1893
  error?: string | null;
1895
1894
  resume_points: number[];
1896
1895
  input_cross_embodiment_description: {
@@ -2295,7 +2294,12 @@ export declare enum QAFailureReason {
2295
2294
  INCONSISTENT_START_TIME = "INCONSISTENT_START_TIME",
2296
2295
  INCONSISTENT_END_TIME = "INCONSISTENT_END_TIME",
2297
2296
  TOO_FEW_POINTS = "TOO_FEW_POINTS",
2298
- LOW_COVERAGE = "LOW_COVERAGE"
2297
+ LOW_COVERAGE = "LOW_COVERAGE",
2298
+ STILL_LEADING = "STILL_LEADING",
2299
+ STILL_MID = "STILL_MID",
2300
+ STILL_TRAILING = "STILL_TRAILING",
2301
+ NEVER_MOVED = "NEVER_MOVED",
2302
+ TRACKING_ERROR = "TRACKING_ERROR"
2299
2303
  }
2300
2304
  /**
2301
2305
  * Codecs available for recorded camera video.
@@ -394,6 +394,11 @@ var QAFailureReason;
394
394
  QAFailureReason["INCONSISTENT_END_TIME"] = "INCONSISTENT_END_TIME";
395
395
  QAFailureReason["TOO_FEW_POINTS"] = "TOO_FEW_POINTS";
396
396
  QAFailureReason["LOW_COVERAGE"] = "LOW_COVERAGE";
397
+ QAFailureReason["STILL_LEADING"] = "STILL_LEADING";
398
+ QAFailureReason["STILL_MID"] = "STILL_MID";
399
+ QAFailureReason["STILL_TRAILING"] = "STILL_TRAILING";
400
+ QAFailureReason["NEVER_MOVED"] = "NEVER_MOVED";
401
+ QAFailureReason["TRACKING_ERROR"] = "TRACKING_ERROR";
397
402
  })(QAFailureReason || (exports.QAFailureReason = QAFailureReason = {}));
398
403
  /**
399
404
  * Codecs available for recorded camera video.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neuracore/types",
3
- "version": "11.12.0",
3
+ "version": "11.13.0",
4
4
  "description": "Shared TypeScript type definitions for Neuracore robotics platform",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",