From 3a24e426df2a54e1c71dc649743bfdc29773612c Mon Sep 17 00:00:00 2001 From: Pepijn Date: Wed, 3 Jun 2026 16:38:06 +0200 Subject: [PATCH] language: register action_record in CORE_STYLES so STYLE_REGISTRY contains it action_record is in PERSISTENT_STYLES but was missing from CORE_STYLES, so STYLE_REGISTRY (= CORE_STYLES | EXTENDED_STYLES) didn't contain it and the PERSISTENT_STYLES | EVENT_ONLY_STYLES <= STYLE_REGISTRY invariant in test_style_registry_routes_columns failed. Add it to CORE_STYLES so the registry, the persistent-set, and column_for_style() stay consistent. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/lerobot/datasets/language.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lerobot/datasets/language.py b/src/lerobot/datasets/language.py index aaca34e23..f3d371545 100644 --- a/src/lerobot/datasets/language.py +++ b/src/lerobot/datasets/language.py @@ -36,6 +36,7 @@ CORE_STYLES = { "vqa", "trace", "task_aug", + "action_record", } # Project-local styles can be registered at import time by appending to # ``EXTENDED_STYLES`` before ``column_for_style`` is called. Anything added