Generate clean 2D game sprites & animation atlases — component-row pipeline: state rows, alpha cleanup, frame extraction, runtime atlases. Codex/Claude skill.
test(video): an aligned loop's record holds where every cell is from and the cut it was made from
Soohong Kim5d4db32c2fd8
diff --git a/tests/video/test_loop_prop_seam_held.py b/tests/video/test_loop_prop_seam_held.pyindex 7901f30..728061a 100644--- a/tests/video/test_loop_prop_seam_held.py+++ b/tests/video/test_loop_prop_seam_held.py@@ -373,6 +373,8 @@ SOURCE_KEYS_2390 = {"sample_indices", "source_cut", "source_rect"}CYCLE_ALIGN_KEYS_2350 = {"between", "cycle_screen", "cycles_given", "drawings", "foot_why", "fps", "from", "made_at","made_by_rife", "nearest_at", "reach_swing", "retake", "seam_ratio", "source", "start_foot","start_foot_source", "stride_swing", "strikes", "taken", "to", "turned_by", "turned_on", "view"}+# 2.41.0: where every cell is from, and the cut the first alignment was made from (video-follow --read-on)+CORRESPONDENCE_KEYS_2410 = {"cells_from", "origin"}def test_cycle_align_writes_a_loop_without_a_held_part_as_before(tmp_path):@@ -396,7 +398,7 @@ def test_cycle_align_writes_a_loop_without_a_held_part_as_before(tmp_path):for d in dirs:meta = json.loads((d / "loop.strip.json").read_text())assert set(meta) == STRIP_KEYS_2350 | SOURCE_KEYS_2390- assert set(meta["cycle_align"]) == CYCLE_ALIGN_KEYS_2350+ assert set(meta["cycle_align"]) == CYCLE_ALIGN_KEYS_2350 | CORRESPONDENCE_KEYS_2410# The cut's source stays as the cut wrote it: `cycle_align` says the cells were turned after it, so it# no longer names each cell's frame (docs/loop-comparison.md). The rebuilt strip names its own cells —# the same frames, turned, under the same crop.