@neuracore/types 11.12.0 → 11.13.0-main.179.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.
@@ -1073,6 +1073,33 @@ export interface EpisodeStatistics {
1073
1073
  };
1074
1074
  };
1075
1075
  }
1076
+ /**
1077
+ * Request model for estimating training VM disk size.
1078
+ */
1079
+ export interface EstimateDiskSizeRequest {
1080
+ dataset_id: string;
1081
+ algorithm_id?: string | null;
1082
+ input_cross_embodiment_description?: {
1083
+ [k: string]: {
1084
+ [k: string]: {
1085
+ [k: string]: string;
1086
+ };
1087
+ };
1088
+ } | null;
1089
+ output_cross_embodiment_description?: {
1090
+ [k: string]: {
1091
+ [k: string]: {
1092
+ [k: string]: string;
1093
+ };
1094
+ };
1095
+ } | null;
1096
+ }
1097
+ /**
1098
+ * Response model for training VM disk size estimation.
1099
+ */
1100
+ export interface EstimateDiskSizeResponse {
1101
+ disk_size_gb: number;
1102
+ }
1076
1103
  /**
1077
1104
  * Represents a signaling message for the WebRTC handshake process.
1078
1105
  *
@@ -1435,25 +1462,31 @@ export interface PendingRecording {
1435
1462
  * name: Name of the recording.
1436
1463
  * notes: Optional notes about the recording.
1437
1464
  * status: Current RecordingStatus of the recording
1438
- * qa_flag_reasons: QA check failures for the recording, if any.
1465
+ * qa_flag_reasons: QA findings for the recording, if any.
1439
1466
  */
1440
1467
  export interface RecordingMetadata {
1441
1468
  name: string;
1442
1469
  notes: string;
1443
1470
  status: RecordingStatus;
1444
- qa_flag_reasons: QAFailureResult[];
1471
+ qa_flag_reasons: QAFinding[];
1445
1472
  }
1446
1473
  /**
1447
- * Result when a recording fails a QA check.
1474
+ * One QA failure: why it failed, where in time, and optionally which trace.
1448
1475
  *
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.
1476
+ * High-level pass/fail lives on the recording as ``QA_FLAGGED`` vs ``NORMAL``.
1477
+ * This is the evidence behind a flag. ``start_time`` / ``end_time`` are the
1478
+ * failing interval when the check has one. ``trace`` is unset for
1479
+ * recording-wide findings.
1452
1480
  */
1453
- export interface QAFailureResult {
1454
- passed: false;
1481
+ export interface QAFinding {
1455
1482
  reason: QAFailureReason;
1456
- affected_traces?: TraceIdentifier[];
1483
+ start_time: number | null;
1484
+ end_time: number | null;
1485
+ trace: TraceIdentifier | null;
1486
+ /**
1487
+ * Human-readable description of the failure reason.
1488
+ */
1489
+ description: string;
1457
1490
  }
1458
1491
  /**
1459
1492
  * Identifies a single raw trace within a recording.
@@ -1490,12 +1523,6 @@ export interface PoseData {
1490
1523
  type: Type15;
1491
1524
  pose: unknown[];
1492
1525
  }
1493
- /**
1494
- * Result when a recording passes a QA check.
1495
- */
1496
- export interface QAPassResult {
1497
- passed: true;
1498
- }
1499
1526
  /**
1500
1527
  * RGB camera data subclass.
1501
1528
  *
@@ -1858,6 +1885,8 @@ export interface TracesMetadataRequest {
1858
1885
  * resumed_from_checkpoint: The name of the checkpoint this job started
1859
1886
  * from, if applicable.
1860
1887
  * previous_training_time: The time spent on the previous training, if applicable.
1888
+ * seconds_per_epoch: Wall-clock seconds for the latest completed post-warmup
1889
+ * epoch, if measured. Used by clients to estimate remaining time.
1861
1890
  * error: Any error message associated with the job, if applicable.
1862
1891
  * resume_points: List of timestamps where the job can be resumed.
1863
1892
  * input_cross_embodiment_description: List of data types for the input data.
@@ -1891,6 +1920,7 @@ export interface TrainingJob {
1891
1920
  resumed_from_job_id?: string | null;
1892
1921
  resumed_from_checkpoint?: string | null;
1893
1922
  previous_training_time?: number | null;
1923
+ seconds_per_epoch?: number | null;
1894
1924
  error?: string | null;
1895
1925
  resume_points: number[];
1896
1926
  input_cross_embodiment_description: {
@@ -2295,7 +2325,12 @@ export declare enum QAFailureReason {
2295
2325
  INCONSISTENT_START_TIME = "INCONSISTENT_START_TIME",
2296
2326
  INCONSISTENT_END_TIME = "INCONSISTENT_END_TIME",
2297
2327
  TOO_FEW_POINTS = "TOO_FEW_POINTS",
2298
- LOW_COVERAGE = "LOW_COVERAGE"
2328
+ LOW_COVERAGE = "LOW_COVERAGE",
2329
+ STILL_LEADING = "STILL_LEADING",
2330
+ STILL_MID = "STILL_MID",
2331
+ STILL_TRAILING = "STILL_TRAILING",
2332
+ NEVER_MOVED = "NEVER_MOVED",
2333
+ TRACKING_ERROR = "TRACKING_ERROR"
2299
2334
  }
2300
2335
  /**
2301
2336
  * 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.179.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"