Skip to content

fix: namespace local recording dataset IDs - #120

Merged
nicolas-rabault merged 1 commit into
huggingface:mainfrom
Samuel-Hills:fix/local-dataset-id-recording
Sep 30, 2026
Merged

nicolas-rabault merged 1 commit into
huggingface:mainfrom
Samuel-Hills:fix/local-dataset-id-recording

Conversation

@Samuel-Hills

Copy link
Copy Markdown
Contributor

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.

@nicolas-rabault
nicolas-rabault force-pushed the fix/local-dataset-id-recording branch from a4cd8df to 99b8d2e Compare September 30, 2026 09:32
@nicolas-rabault
nicolas-rabault self-requested a review September 30, 2026 09:40

@nicolas-rabault nicolas-rabault left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, thank you.

@nicolas-rabault
nicolas-rabault merged commit 454b19f into huggingface:main Sep 30, 2026
2 checks passed
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.

2 participants