Validate robot recovery segment JSONL and summarize intervention outcomes and timing.
Project description
robot-recovery-bench
robot-recovery-bench validates JSONL records for human intervention and robot
recovery segments, then summarizes outcome and timing metrics without loading
robot media.
At a Glance
| Job | Make recorded intervention and recovery segments structurally reviewable and comparable. |
| Built for | Robotics data curators, HIL researchers, teleoperation teams, and training-data reviewers. |
| Differentiator | Dependency-free schema checks and aggregate metrics over metadata-only segment records. |
| Produces | Validation errors or Markdown/JSON recovery metrics and failure-reason clusters. |
Install
python -m pip install "robot-recovery-bench==0.1.2"
Verified Quickstart
Run from a source checkout:
robot-recovery-bench validate examples/mock_recovery_segments.jsonl
robot-recovery-bench report examples/mock_recovery_segments.jsonl \
--format json \
--out /tmp/robot-recovery-report.json
The bundled fixture validates three segments and reports a recovery success rate
of 0.6667 and a training-ready rate of 0.6667.
Record and Metric Contract
Each segment records an episode ID, task, failure reason, intervention type, start/intervention/end timestamps, and recovery result. Optional fields include operator action and whether the segment is marked training-ready.
Reports include:
- segment count;
- recovery success and training-ready rates;
- average time to intervention and recovery duration;
- failure-reason cluster counts.
The JSON metric intervention_rate is 1.0 whenever segments are present
because every input row is already an intervention segment. It is not an
episode-level, dataset-level, or fleet-level intervention prevalence estimate.
Python adapters can normalize LeRobot intervention lists and RLDS steps into the segment shape; the CLI itself accepts JSONL.
Runtime, Data, and Network Boundary
- Validation and reporting read local JSONL and write a local aggregate report.
- The package does not load video, connect to a robot, execute a policy, or make network requests.
- No redaction is applied. Aggregate reports can preserve failure-reason labels, and validation output identifies line numbers, so review labels before sharing results.
- Metrics describe only the supplied segments and do not infer unrecorded failures, operator quality, causal safety, or real-world recovery capability.
Limitations
- The CLI accepts normalized JSONL segment records only. Upstream conversion from RLDS, LeRobot, or in-house formats remains the caller's job.
- Aggregate rates are segment-level summaries, not episode-level or fleet-level reliability claims.
Compatibility
robostudio-engine exposes a direct robostudio recovery integration that
imports this package when installed or available in the AuraOne monorepo.
Publication Status
Verified on 2026-07-13:
- PyPI:
robot-recovery-bench==0.1.2 - GitHub release:
v0.1.2 - Bundled segment records are synthetic tutorial data, not benchmark evidence.
Next Action
Normalize one reviewed batch of intervention segments, validate it, and inspect the failure-reason clusters before deciding whether any records are training-ready.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file robot_recovery_bench-0.1.2.tar.gz.
File metadata
- Download URL: robot_recovery_bench-0.1.2.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ad1568a577100a2dacdf0b3811d789ff400e2056230ed83b0459bb2397b7897
|
|
| MD5 |
0ac9577e8d781b57d86c099c1b7dc5f5
|
|
| BLAKE2b-256 |
47092f66267297727d105aa3fe51392d84bf49960a6597a2268634deedfd2c69
|
File details
Details for the file robot_recovery_bench-0.1.2-py3-none-any.whl.
File metadata
- Download URL: robot_recovery_bench-0.1.2-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee1768c4cbea3ca4e08fec2b067fb5833f57e527c7042ba2d3de7b4c02ac97ac
|
|
| MD5 |
05b0cc53f6b166a4bd9381d2981148bd
|
|
| BLAKE2b-256 |
522ca68f9b5ebf663af6f3d09287f75d0545ea8b3b4a916e868b4b7c3593f62d
|