Build a LeRobotDataset v3 from ROS 2 Robot Episodes
How can a ROS 2 episode become trustworthy training data—and when must a dataset be rejected before it reaches the Hugging Face Hub?
Why this problem is interesting
A fictional robot records task, joints, action vectors and camera frame metadata. The first exercise uses JSON metadata only. Real LeRobotDataset v3 requires actual Parquet/video representation and a successful loader round trip on a pinned version; it is NOT created by the website.
Falsifiable question
Which metadata errors are detectable offline before a dataset reaches the Hub?
Working hypothesis
Explicit schema, units, timestamp and redistribution checks reject more invalid episode definitions than a permissive ingest process, without blocking valid licensed synthetic examples.
Null hypothesis
Structured prepublication checks provide no meaningful increase in detecting invalid episode definitions over naive parsing.
Hugging Face capabilities involved
- ROS 2 observation metadata
- LeRobotDataset v3
- Hugging Face Hub Datasets
- Dataset card & Dataset Viewer
- Immutable HF revisions
Who can contribute?
Data engineering · Robotics metadata · Research reproducibility
Required prerequisites: Depends on #56 data converter and #58 model/data cache; ROS 2 middleware-to-LeRobot semantics must be checked before any real recordings.
Trace the proposed integration
Choose a completely fictional example. Step through how the system should decide which inputs or actions are eligible. This browser animation never calls Hugging Face, LeRobot, Jev, Kubernetes or a physical robot.
Illustrative stage 1 of 4: Collect episode evidence
Tap any stage or choose a case. User-initiated playback, pause and reduced-motion support are provided. Static explanatory content remains available without JavaScript.
Experimental variables, controls and metrics
A useful research scenario is more than a diagram. These are the testable claims and artifacts future contributors should implement or report.
| Design element | How it should be investigated |
|---|---|
| Corpus | At least 12 synthetic positive/negative metadata cases; separate deliberately incomplete examples and record expected rejection codes. |
| Independent variables | Missing camera layout, mixed degrees/radians, sample-clock drift, invalid action dimension, unclear task caption, unknown license. |
| Baseline | Naive metadata JSON parse versus strict schema/semantic/privacy validation. JSON parse is not LeRobot-format verification. |
| Checks | LeRobot v3 official loader round-trip on pinned release; verify episode count, modality keys, frame/timestamp alignment and dataset card. |
| Measurements | Invalid-case detection, valid acceptance, rejection reason agreement, data conversion integrity and future upload/retrieval failures. |
| Evidence | Dataset commit hash, converter/source SHA, tool/version, license, synthetic-data declaration, scripts and loader/test output. |
Proposed experimental steps
- Define source episode ontology with units and time base; never treat filenames as proof of content.
- Create licensed, fabricated metadata fixtures; demonstrate deterministic reject/accept/unknown behavior.
- Choose a specific LeRobot release and map its v3 observation/action/episode schema.
- If building a converter, verify finalize and reload with official LeRobotDataset API; log all errors.
- Only after permission and human review may a real Hub Dataset be published and linked in a card.
Expected contributions
- Synthetic lesson + casebook, rule baseline and failing fixtures
- Validated converter design / optional genuine LeRobot v3 reload test
- Dataset card with provenance, splits, license, consent and limitations
- Immutable HF dataset revision and actual Hub URL only after upload
Publication gate: no result without a source revision, licensed data, raw positive and negative runs, exact method, uncertainty, and human review.
Current benchmark results: N/A
No valid experimental run has been recorded
These pages contain an experiment specification and a synthetic, conceptual animation. A proper ROS 2 → LeRobot dataset result requires actual verified measurements; none are currently supplied. Do not turn example metadata or a model download into claimed accuracy or robot task success.
See results registry ↗Safety and deployment limitations
Do not ship private video, motor command streams, sensitive lab addresses, access tokens or unlicensed model weights. Hard eligibility, quotas, version checks, deadlines and actions remain in deterministic code. Jev is advisory only where included.
Hugging Face integration and external model services may require credentials, licensing review, a subscription or usage charges. Public demos must not claim any official partnership or endorsement.
Help build the first real experiment
Open contributor task #93
Issue #93 contains tasks, acceptance criteria, failing/unknown tests, risk controls, suggested deliverables and Claude Code/Codex handoff instructions. Students, PhD researchers and platform engineers are welcome to propose a reviewable portion.
Collaborate on GitHub ↗More Hugging Face robotics experiments
Jev vs HF classifier
Can a fast structured decision model outperform a compact open classifier for DDS/QoS incident classification—and when is a local baseline more reliable?
Read the research blueprintSCENARIO 07SmolVLA + LIBERO
What does it actually take to show that a Hugging Face robotics policy completes a simulated manipulation task rather than merely loading model weights?
Read the research blueprintSCENARIO 08LeRobot remote inference
Can a remote GPU help a simulated robot without making delayed action chunks unsafe or mistaking a network handshake for working robotics?
Read the research blueprint