@neuracore/types 11.12.0 → 11.13.0-main.176.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,31 @@ 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;
1459
+ /**
1460
+ * Human-readable description of the failure reason.
1461
+ */
1462
+ description: string;
1457
1463
  }
1458
1464
  /**
1459
1465
  * Identifies a single raw trace within a recording.
@@ -1490,12 +1496,6 @@ export interface PoseData {
1490
1496
  type: Type15;
1491
1497
  pose: unknown[];
1492
1498
  }
1493
- /**
1494
- * Result when a recording passes a QA check.
1495
- */
1496
- export interface QAPassResult {
1497
- passed: true;
1498
- }
1499
1499
  /**
1500
1500
  * RGB camera data subclass.
1501
1501
  *
@@ -1858,6 +1858,8 @@ export interface TracesMetadataRequest {
1858
1858
  * resumed_from_checkpoint: The name of the checkpoint this job started
1859
1859
  * from, if applicable.
1860
1860
  * previous_training_time: The time spent on the previous training, if applicable.
1861
+ * seconds_per_epoch: Wall-clock seconds for the latest completed post-warmup
1862
+ * epoch, if measured. Used by clients to estimate remaining time.
1861
1863
  * error: Any error message associated with the job, if applicable.
1862
1864
  * resume_points: List of timestamps where the job can be resumed.
1863
1865
  * input_cross_embodiment_description: List of data types for the input data.
@@ -1891,6 +1893,7 @@ export interface TrainingJob {
1891
1893
  resumed_from_job_id?: string | null;
1892
1894
  resumed_from_checkpoint?: string | null;
1893
1895
  previous_training_time?: number | null;
1896
+ seconds_per_epoch?: number | null;
1894
1897
  error?: string | null;
1895
1898
  resume_points: number[];
1896
1899
  input_cross_embodiment_description: {
@@ -2295,7 +2298,12 @@ export declare enum QAFailureReason {
2295
2298
  INCONSISTENT_START_TIME = "INCONSISTENT_START_TIME",
2296
2299
  INCONSISTENT_END_TIME = "INCONSISTENT_END_TIME",
2297
2300
  TOO_FEW_POINTS = "TOO_FEW_POINTS",
2298
- LOW_COVERAGE = "LOW_COVERAGE"
2301
+ LOW_COVERAGE = "LOW_COVERAGE",
2302
+ STILL_LEADING = "STILL_LEADING",
2303
+ STILL_MID = "STILL_MID",
2304
+ STILL_TRAILING = "STILL_TRAILING",
2305
+ NEVER_MOVED = "NEVER_MOVED",
2306
+ TRACKING_ERROR = "TRACKING_ERROR"
2299
2307
  }
2300
2308
  /**
2301
2309
  * 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-main.176.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",
@@ -27,7 +27,6 @@
27
27
  "devDependencies": {
28
28
  "typescript": "^5.3.0",
29
29
  "grpc-tools": "^1.13.0"
30
-
31
30
  },
32
31
  "publishConfig": {
33
32
  "access": "public"