refactor(trajs): fold lamp_kettle_cup into pour_kettle_cup (drop legacy alias)

#19
by Everloom - opened
SomaStacks Inc org

lamp_kettle_cup was the collection-era dir name for the same task, scene and checker as pour_kettle_cup. Keeping it as a registered alias split teleop takes across two trajs/ dirs (output dirs follow the CLI task string) and listed one scene twice in the console menu β€” the trap the articulated tasks' no-alias rule already forbids. The alias is dropped in code and the data is folded into one dir.

bundle before after
parrot/pour_kettle_cup/tianji_wuji 106 252 (+146, 0 content duplicates)
parrot/pour_kettle_cup/openarm_wuji β€” 7 (moved)
parrot/lamp_kettle_cup/* 153 deleted

Dedup is on the action sequence, not a pickle hash β€” the two dirs serialize the same demo differently (_meta / front_table entries differ), so a byte hash reports zero duplicates and silently double-counts.

Known, unchanged by this PR: the merged tianji bundle is mixed-era β€” 39 of 252 episodes carry a 793-float _mujoco_state.buffer (vs 853 for the other 213) and predate instruction stamping, so they no longer snap back byte-perfectly and replay silently degrades to a lossy per-object reset. All 7 openarm episodes are likewise on retired sizes (775/787). Filtering those is a separate decision; this PR only unifies the naming.

parrot_60Hz/pour_kettle_cup/ already used the canonical name and is untouched.

The asset pack assets/lamp_kettle_cup/ keeps its name β€” that is a bundle path, not a task name.

Everloom changed pull request status to merged

Sign up or log in to comment