Generate clean 2D game sprites & animation atlases — component-row pipeline: state rows, alpha cleanup, frame extraction, runtime atlases. Codex/Claude skill.
test(video-loop): a cross-faded frame between is not taken, beside the frame that drags a planted foot
Soohong Kim8a006527f42f
diff --git a/tests/video/test_held_fill.py b/tests/video/test_held_fill.pyindex a0224ef..74e1240 100644--- a/tests/video/test_held_fill.py+++ b/tests/video/test_held_fill.py@@ -274,6 +274,14 @@ def test_a_frame_between_that_drags_a_planted_foot_is_not_taken():assert record["held_runs"] == [{"start": 3, "length": 2}]+def test_a_frame_between_that_cross_fades_two_poses_is_not_taken():+ # Two poses laid over each other at half strength: the double exposure an interpolator gives where it cannot follow.+ frames = shown_again(walk(), STALLED)[: N + 3]+ out, record = held_fill.fill(frames, lambda a, b, t: Image.blend(a, b, t), ring=True)+ assert record["made"] == [] and [o.tobytes() for o in out] == [f.tobytes() for f in frames]+ assert all(not r["filled"] and "ghost" in r["faults"] for r in record["before"]["held_runs"])++def test_the_opening_and_the_closing_pose_of_a_cut_played_once_are_kept():frames = _planted([0, 0, 1, 2, 3, 4, 4])calls: list = []