Repository navigation
Changed
-
velocity_discontinuity_rateseverity ignores sensor noise. The flag
level now comes from the rate after the same ~10 Hz low-pass LDLJ uses (no-op
at ≤10 Hz); the text shows the unfiltered rate when it differs. Unfiltered, the
metric was CRITICAL on clean 50 Hz data and non-monotone: an injected spike
raised peak speed and hid the noise, so lightly corrupted ALOHA scored 2.9% vs
6.5% clean. Filtered: 0.0% clean, rising with corruption. ALOHA CRITICAL → OK,
Unitree H1 CRITICAL → WARNING, PushT unchanged. The unfiltered rate is kept
(mean_disc_fraction, per-episode values) for regime thresholds, prune limits,
profiles, the Calibra Score and claims, so those do not move; filtered values
are added alongside. Evidence:eval/investigations/vel_disc/FINDINGS.md. -
Local dataset copies get their dataset profile automatically when they
can be identified from their own files: thehf downloadrevision equals the
revision a profile was measured on, or the dataset card links a covered Hub
ID. Previously only Hub IDs did, socalibra prune ./pushtsilently used the
global Stage-1 limits and dropped 48 clean PushT episodes (0 with the
profile). The applied profile and the evidence are printed and stored in the
report (dataset_profile_reason); a directory named like a profiled dataset
only prints a--profilehint. An explicit--profilestill wins. -
short_episode_fractionno longer flags fixed-length recordings. The lower
fence is nowQ1 − 1.5 × max(IQR, 0.25 × median). Datasets recorded at a few
fixed lengths have IQR = 0, which put the fence at Q1: on
lerobot/unitreeh1_rearrange_objects(23 × 250 and 7 × 200 steps) every
complete 200-step episode was an "outlier" andcalibra integrityfailed CI.
An episode must now be below about 62% of the typical length to count as
short; ordinary variable-length datasets are unaffected (regression goldens
unchanged for this metric). -
ldljis now computed per sub-movement (ldlj_definition: per_submovement_v1). Whole-episode LDLJ was defined for a single movement;
over a demonstration of N movements it fell by about 4 ln N regardless of
smoothness, and triple differentiation amplified sensor noise by 1/dt³, so it
was CRITICAL on all 30 official LeRobot datasets audited and correlated −0.95
with episode length on PushT. Velocities are now low-pass filtered (moving
average, ~10 Hz; no-op at ≤10 Hz), split into sub-movements at speed minima,
scored per sub-movement and combined as a duration-weighted mean. Thresholds
(−10 / −15) are unchanged; they are the single-movement scale the new values
are on. Details and evidence:eval/investigations/ldlj/FINDINGS.md.- Smooth synthetic demos score −4.6 to −5.0 for any number of movements
(previously −4.5 to −18.4). Injected glitches and heavy noise still lower
the score. White-noise actions score about −11 to −13 (WARNING); they
remain CRITICAL onvelocity_discontinuity_rate. - PushT:
ldljCRITICAL → OK (mean −16.0 → −8.1); Calibra Score
44.3 → 63.1. The old value zeroed the smoothness dimension, which through
the integrity gate also halved coverage and task-structure credit.
Regression goldens updated (ldljonly). - Expect higher Calibra Scores and fewer
ldljflags on most datasets,
especially long or 50 Hz ones. Stage-1 per-episode drops atmin_ldlj
(−30) effectively no longer occur. - Reference profiles in
calibra/references/were made with the old
definition.calibra compareno longer comparesldljagainst them and
says so; regenerate a reference withscripts/profile_dataset.py, which
now recordsldlj_definition. Claims LDLJ-001 / LDLJ-002 are annotated as
measured with the old definition, with re-tests pending.
- Smooth synthetic demos score −4.6 to −5.0 for any number of movements
-
Synthetic timestamps are reported as not evaluable, not passed. When every
episode's timestamps lie on an exactt0 + k*dtgrid (LeRobot writes
frame_index / fps; simulators step a fixed clock),timestamp_jitter_cvand
timestamp_dropout_rateare emitted at level INFO with the reason, and
calibra integritylists them under Not Evaluated instead of Passed. They no
longer count toward the integrity score, so integrity scores of LeRobot and
simulated datasets drop accordingly. Raw metric values, the Calibra Score and
pruning decisions are unchanged. Regression goldens for PushT updated
(OK → INFO for these two metrics only). -
calibra analyzeandcalibra integritytreat INFO integrity flags as not
evaluated. Previously a category with only skipped checks (e.g. calibration
drift with no stationary holds) showed as OK inanalyzeand was omitted
entirely fromintegrity. -
Dataset cards no longer show a predicted training success rate. The
prediction is not validated, and cards are meant for other people's dataset
pages. The Calibra Score is labelled as a heuristic composite. -
calibra pruneprints a readylerobot-traincommand for LeRobot sources
instead of the oldpython train.pyhint.
Added
calibra integrity --decode-videorunsduplicate_frame_rateand
camera_freeze_eventson LeRobot v2/v3 video (previously Not Evaluated).
Opt-in, sampled (--video-sample N, default 20 episodes, evenly spaced),
full resolution in 64-frame chunks, every camera; same measure and
thresholds as for image datasets. Validated on real data: flags
lerobot/aloha_static_battery(cam_high30% repeated frames, cameras
slower than the 50 Hz recording), passesunitreeh1_rearrange_objects
(<1%) andpusht(1.5%).- Duplicate episode check (
duplicate_episode_fraction, task_structure
analyzer): episodes whose actions and numeric observations are byte-identical
to another episode are CRITICAL and block-level incalibra integrity; the
finding names each copy and its original. Found in practice: episode 26 of
lerobot/unitreeh1_rearrange_objects@e874d89bcopies episode 6. calibra integritychecks LeRobot v2/v3 video files (missing, undecodable,
frame-count/coverage mismatch, wrong fps) on local datasets. New optional
extracalibra-robotics[video](OpenCV).calibra.integrations.lerobot:lerobot_train_args,lerobot_episode_indices
andload_lerobot_datasetto train on kept episodes without exporting a copy.calibra card --push --create-propens the card as a Hub pull request.- Real-fault evaluation tooling (
calibra.fault_eval,scripts/fault_eval.py,
eval/real_faults/).
Fixed
calibra card --pushreplaced the dataset's entire README with the card (it
read a non-existent attribute and always saw an empty README). It now edits
only the Calibra section and aborts if the README can't be read.calibra benchmarkprinted--dataset.episodeswith batch positions instead
of LeRobotepisode_indexvalues.
Install: pip install -U calibra-robotics
Full changelog: v0.12.0...v0.13.0