Skip to content

fix: namespace local recording dataset IDs - #120

Open
Samuel-Hills wants to merge 1 commit into
huggingface:mainfrom
Samuel-Hills:fix/local-dataset-id-recording
Open

Samuel-Hills wants to merge 1 commit into
huggingface:mainfrom
Samuel-Hills:fix/local-dataset-id-recording

Conversation

@Samuel-Hills

Copy link
Copy Markdown

Summary

Fixes local recording for unauthenticated users when they enter a bare dataset name in LeLab. LeRobot expects dataset IDs in
namespace/name form; passing a bare name currently raises an unpacking error before recording begins.

The backend now normalizes a bare local name to local/<name>, while preserving an already namespaced dataset ID.

Validation

  • Added regression coverage for bare and already-namespaced dataset IDs.
  • Focused test suite: uv run pytest tests/test_record.py -q (11 tests previously passed).

Addresses huggingface/lerobot#4663.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant