Skip to content

v0.12.0: Apache 2.0 core

Choose a tag to compare

@omertt27 omertt27 released this 10 Oct 06:47
· 57 commits to main since this release

Changed

  • Calibra is now licensed under the Apache License 2.0 (previously Business
    Source License 1.1). It is OSI open source with no restriction on hosting.
    The ee/ directory keeps its own license and is not part of the
    calibra-robotics package; see NOTICE and LICENSING.md. Releases up to
    0.11.x keep their BSL terms.
  • Calibra Cloud code moved out of the core into ee/ (ADR-012), ahead of
    relicensing the core under Apache 2.0. calibra/cloud/ is now
    ee/calibra_ee/cloud/ and server/ is now ee/server/; neither is
    published to PyPI. The core finds them through a new calibra.plugins entry
    point (calibra/plugins.py).
    • calibra login, logout, whoami and cloud are available only with
      the extension installed (pip install -e ee/). Without it they exit 2
      with an explanation.
    • The core no longer contacts Calibra Cloud on its own. Recording an
      outcome stays local (~/.calibra/outcomes.jsonl); the anonymous outcome
      sync, the community percentiles printed after
      calibra predict --record-outcome, and badge registration after
      calibra card --push now run only with the extension. Dataset cards use
      the static shields.io badge unless the extension provides a live one.
      calibra compare --community and calibra calibrate --global still reach
      the service, because the user asks for them explicitly.
    • predict_outcome() accepts an outcome_source for empirical blending;
      the local outcome store remains the default.
  • Outside contributions are closed for now: issues and discussions are
    turned off, and a workflow closes external pull requests automatically with
    a pointer to the contact email. A draft Contributor License Agreement
    (CLA.md) is kept for when contributions open. GOVERNANCE.md describes
    who decides what.
  • CI now also runs on Python 3.13, fails if the mypy error count rises
    above its baseline (scripts/mypy_ratchet.py), and fails if test coverage
    drops below 58%
    (measured with only the dev extra installed, as in CI).
  • Added pre-commit hooks and CITATION.cff. SECURITY.md now points to
    private vulnerability reporting, and SECURITY.md and CODE_OF_CONDUCT.md
    name a contact.

Fixed

  • The certify GitHub Actions never failed a job. In
    .github/actions/certify and the reusable .github/workflows/certify.yml,
    $(calibra certify ...) || true followed by EXIT_CODE=$? always read 0, so
    NOT CERTIFIED datasets passed and strict had no effect. Both now fail on
    NOT CERTIFIED, and on warnings when strict is on.
  • The reusable certify workflow could not see local datasets: it never
    checked out the caller's repository. It now does.
  • The root action.yml interpolated the report into its PR-comment script,
    so report text containing a backtick or ${ broke the script or ran as
    JavaScript. All three certify entry points now pass inputs and outputs
    through environment variables. Its score output was always empty (it read
    a key certify --json does not emit) and now comes from calibra score.
    The comment is truncated to fit GitHub's size limit, and a comment that
    cannot be posted no longer fails the job.
  • calibra compare <dataset> pusht judged velocity discontinuities with the
    position-command thresholds calibrated on arm datasets once the PushT
    reference was correctly labelled position, so PushT-like data (~17%) read
    as "significantly rougher than pusht". References produced under a dataset
    profile are now interpreted against their own clean baseline, and only
    class-agnostic claims are shown next to them.
  • Claim confidence now follows the SPEC scale (calibra/claims/SPEC.md):
    2–4 supporting datasets is MODERATE. The code had labelled 2 as LOW (below
    1's LOW-MODERATE) and 3–4 as an undocumented MEDIUM. JS-003, PAI-001 and
    TEMP-003 (2 supporting datasets each) move LOW → MODERATE.
  • aloha_mobile_cabinet numbers in calibra/references/README.md quoted
    the first reference run (2026-06-15, 5387172), which excluded only dim 13 and
    scored the left gripper as motion. They now match the committed reference
    (both grippers excluded), which reproduces on current code: LDLJ −24.08 →
    −24.70, spikes 1.0% → 0.42%, velocity discontinuities 1.3% → 0.84%, jitter
    3.1e-5 → 3.0e-5, contact 78.9% → 78.8%. The 8 / 85 outliers reproduce
    exactly (same episodes) and are unchanged.
  • An explicit --gripper-dims now survives a dataset profile. Profiles
    replaced any gripper_dims equal to the default [-1], so asking for -1
    explicitly on a profiled Hub ID (e.g. lerobot/pusht) was silently
    overridden. Analyzers now default to a marked DefaultGripperDims([-1]),
    which behaves identically but is the only value a profile replaces.
    compare, corrupt and scripts/profile_dataset.py share one
    parse_gripper_dims helper. No default behavior changes (the benchmark
    regression gate is unchanged).

Added

  • Evidence-gated dataset profiles. Every profile now carries a
    ProfileEvidence record (dataset revision, sampling rate, action space,
    reference run, clean baseline, justification, reproduction command). Tests
    fail if it is incomplete, if the baseline disagrees with the cited reference
    file, or if a profile's prune limits would cut its own clean episodes.
  • Benchmark regression gate (tests/regression/, its own CI step). Runs
    analyze and prune on a frozen copy of lerobot/pusht (revision 7628202a,
    259 KB fixture) and fails when any flag level, regime, headline metric or
    kept/dropped episode changes. Intended changes regenerate the golden file
    with CALIBRA_UPDATE_GOLDEN=1 pytest tests/regression.
  • Evidence rules for GitHub Copilot code review
    (.github/copilot-instructions.md, plus path-specific rules in
    .github/instructions/ for claims and for references, golden results and
    profiles). Copilot's advisory review flags PRs that change golden results,
    thresholds, profiles, claims or reference data without evidence. It needs no
    repository secret, unlike the Claude Code workflow it replaces.
  • .github/CODEOWNERS for verdict-affecting code, a dataset profile proposal
    issue form, and contribution docs describing the evidence standard.

Changed

  • Refreshed the PushT reference (calibra/references/pusht_velocity_command.json).
    It predated the float64 differentiation fix in the smoothness analyzer, so its
    means were stale: spike rate 4.939% → 4.946%, velocity discontinuity rate
    16.718% → 16.696%. p95 and max, which the profile thresholds rest on, are
    unchanged, so no verdict moves. The stale control_mode: velocity label is
    dropped (PushT actions are position targets).
  • Regenerated the pusht_image reference. The old file reproduces exactly
    on its original code (8762669), which scored only the x axis (the y target
    was excluded as a "gripper"), differentiated in float32, and labelled the
    data velocity without using that label. lerobot/pusht_image has the same
    actions as lerobot/pusht; profiled correctly (position, both axes) its
    smoothness distributions match PushT exactly (spike 7.76% → 4.95%, velocity
    discontinuities 11.11% → 16.70%, LDLJ −16.01 → −16.34).
  • Reference metadata is now authoritative. scripts/profile_pusht.py
    records control_mode, gripper_dims and dataset_profile, and
    scripts/profile_dataset.py records the gripper dims actually applied (a
    dataset profile can replace an explicit --gripper-dims equal to the
    default). The paper table's Ctrl column for both PushT rows now reads
    position from that metadata.
  • PushT episode outliers in calibra/references/README.md: 27 / 206 → 16 / 206.
    27 reproduces only on June 2026 code (x axis only, float32).
  • Claims registry corrected. PushT is position control, so it was never
    evidence for the velocity-class claims JS-002, JS-004, VD-002 and VD-003, and
    pusht_image (the same data) was never a second dataset. Those entries, and
    two BridgeData-vs-PushT comparisons that assumed both were velocity control
    (JS-003, LDLJ-002), move to a new retracted_evidence list with a date and
    reason. Confidence: JS-004 and VD-003 MEDIUM → LOW-MODERATE, LDLJ-002
    STRONG → HIGH; no status changes. LDLJ-001 and ENT-001 keep their PushT
    evidence with dated corrections to its reasoning. Three stale values
    (ENT-001 for two ALOHA datasets, VD-001 for aloha_mobile_cabinet) now match
    their references and still support their claims.
  • Claim values are checked against references
    (tests/test_claims_references.py): every numeric evidence entry must match
    its dataset's reference file. docs/claims.md shows retracted evidence.
  • The report's cross-dataset table lists pusht and pusht_image as one row.