Skip to main content

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:

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robot_recovery_bench-0.1.2.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

robot_recovery_bench-0.1.2-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

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

Hashes for robot_recovery_bench-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0ad1568a577100a2dacdf0b3811d789ff400e2056230ed83b0459bb2397b7897
MD5 0ac9577e8d781b57d86c099c1b7dc5f5
BLAKE2b-256 47092f66267297727d105aa3fe51392d84bf49960a6597a2268634deedfd2c69

See more details on using hashes here.

File details

Details for the file robot_recovery_bench-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for robot_recovery_bench-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ee1768c4cbea3ca4e08fec2b067fb5833f57e527c7042ba2d3de7b4c02ac97ac
MD5 05b0cc53f6b166a4bd9381d2981148bd
BLAKE2b-256 522ca68f9b5ebf663af6f3d09287f75d0545ea8b3b4a916e868b4b7c3593f62d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page