Skip to content

v2.5.5: refuse a lone step under the gait floor - #55

Merged
aldegad merged 3 commits into
mainfrom
fix/v2.5.5
Sep 22, 2026
Merged

aldegad merged 3 commits into
mainfrom
fix/v2.5.5

Conversation

@aldegad

@aldegad aldegad commented Sep 22, 2026

Copy link
Copy Markdown
Owner
  • Gait loop selection no longer keeps a lone step. When the deepest repeat sits under the gait floor and nothing near twice it repeats about as well, video-loop refuses with no periodic cycle found instead of looping half a stride; the failure report carries the guard's verdict and the minima it weighed. The doubled period is searched among the profile's own minima within three frames of twice the step.
  • Measured: a quadruped walk clip that looped half a stride is now refused; a humanoid clip that only ever took one step is refused too; seven walk and run clips whose full gait repeats select exactly as before. Full suite: 1896 passed.

Release commit bumps 2.5.5. The tag push lets the release workflow create the page.

…ooping half a stride

When the deepest repeat sat under the gait floor and nothing near twice it
repeated about as well, the selector recorded that the double was worse and
then kept the step anyway. A quadruped whose near and far legs read alike
produces exactly that profile, so its walk looped half a stride without a
word (measured on a production cat clip: 12 frames under a 14-frame floor,
best double 22 at 1.37x worse).

Now the double is looked for among the profile's own minima within three
frames of 2p, since a real stride rarely lands on exactly 2p, and when none
repeats within GAIT_DOUBLE_TOL the selector refuses under the same words as
a flat profile, so a caller's regenerate-on-no-period rule covers both. The
failure report carries the guard and the minima it weighed.
@aldegad
aldegad merged commit 68505e9 into main Sep 22, 2026
1 check 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.

1 participant