Thanks for helping improve lerobot-go.
git clone https://github.com/ioai-tech/lerobot-go.git
cd lerobot-go
go test ./... -count=1Requires Go 1.26+ (see go.mod).
- Run tests:
make test - Run linter:
make lint— install the official binary v2.9.0+ (must be built with Go ≥go.mod; do not usego install) - Keep changes focused; match existing naming and package layout
- Public API changes belong in
lerobot/; CLI wiring ininternal/cli/
Use clear, imperative subjects. Examples:
fix merge stats aggregation for v3 episode metadocs: add create command to CLI reference
Heavy dataset tests are optional locally:
make e2eCI runs unit tests only.
For higher-confidence stability validation against the official Python loader:
- Install the official Python runtime into an isolated prefix (one workable approach on this VM was
pip --prefix, sinceuvwas unavailable). - Download authoritative sample datasets such as:
lerobot/pushtlerobot/pusht_image- optionally
nvidia/LIBERO_LeRobot_v3(for examplelibero_10/**)
- Run:
make official-stabilityThe script scripts/run_official_stability_checks.sh:
- loads official datasets with the official
lerobotpackage, - exercises Go convert v3→v2.1→v3 round-trips,
- exercises Go merge on official sample datasets,
- re-loads the resulting v3 outputs with the official
lerobotpackage.
Useful environment overrides:
export LEROBOT_OFFICIAL_PY_PREFIX=/path/to/prefix/local
export LEROBOT_OFFICIAL_DATA_ROOT=/path/to/downloaded/datasets
export LEROBOT_OFFICIAL_WORK_ROOT=/tmp/lerobot-go-official-checksOpen a GitHub issue for bugs or feature requests.