Generate clean 2D game sprites & animation atlases — component-row pipeline: state rows, alpha cleanup, frame extraction, runtime atlases. Codex/Claude skill.
docs: RIFE is one `sprite-gen rife install`, and a walk without it cuts with a warning
Soohong Kime0458f9f4d00
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex a196530..7df38f7 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -5,7 +5,9 @@ All notable public changes to `sprite-gen` are recorded here. Versions track the## v2.18.0 - A walk's jumping frames are remade by RIFE, its jolt is measured, and a direction set shares one cycle- **Jump frames are repaired** (`video-loop --repair auto`, the default for walk and run): a step whose coverage change is 1.4x the loop's median, over the whole body or the hair behind it (`--facing left` mirrors that box), is a jump, and the frame that broke it is replaced by the RIFE frame half way between its two neighbours — at most three, worst first, never next to a frame already made; every other frame stays the video's own. A single stray frame, which breaks the step into it and out of it, is the one remade. The report's `jump_repair` names the frames, the scores before and after and the interpolator; with a frame replaced the seam gate reads the rendered cells. `--repair off` cuts as filmed. On the 2026-10-03 eight-direction set it replaces the frames the experiment did in 8 of 10 views (the other two differ by one frame).-- **RIFE** is `rife-ncnn-vulkan` 20221029 with `rife-v4.6`, found by `SPRITE_GEN_RIFE` or `PATH` and located only when a frame is to be made; a loop that needs it and finds none fails naming `--repair off`. Colour is interpolated premultiplied and coverage separately. Measured: 0.33-0.41 s a call on an M4 Max GPU; 2.8-3.0 s in a Modal Linux container through Mesa llvmpipe, with the same frame; the binary's own CPU path (`-g -1`) is wrong and never passed. Code and weights are MIT. CI installs it on llvmpipe.+- **RIFE** is `rife-ncnn-vulkan` 20221029 with `rife-v4.6`, found by `SPRITE_GEN_RIFE`, then `PATH`, then where `sprite-gen rife install` puts it, and located only when a frame is to be made. Colour is interpolated premultiplied and coverage separately. Measured: 0.33-0.41 s a call on an M4 Max GPU; 2.8-3.0 s in a Modal Linux container through Mesa llvmpipe, with the same frame; the binary's own CPU path (`-g -1`) is wrong and never passed. Code and weights are MIT. CI installs it with `sprite-gen rife install` and runs it on llvmpipe.+- **Install RIFE in one line**: new `sprite-gen rife install` downloads the release zip for macOS, Linux or Windows (x86-64), checks its pinned SHA-256 before unpacking, keeps the binary, the model and the licence (about 35 MB), and puts them in the user data directory (`SPRITE_GEN_DATA_DIR`, else `~/.local/share/sprite-gen` or `$XDG_DATA_HOME`, `%LOCALAPPDATA%` on Windows), staged and renamed into place. It ends with a check frame through the installed binary. `--zip` installs from a zip already downloaded, `--dir` installs elsewhere and prints the `SPRITE_GEN_RIFE` line, `--force` unpacks again.+- **A walk still cuts without RIFE, and says so**: where a frame is to be made and no RIFE is installed, `video-loop --repair auto` cuts the loop as filmed — `jump_repair` reads `applied: false` with the reason and the install line, and stderr carries one warning — and `video-set` skips that state's cycle alignment (`cycle_align.<state>.applied: false`, listed under the set report's `warnings`, one warning line). Asked for by name, it fails: `video-loop --repair on` and `video-cycle-align`. A RIFE that is found and then fails is an error in every mode. Cutting a loop again removes its `cycle.source/`, so the next alignment reads the new cut.- **The jolt index is reported on every walk and run** (`jolt` in the loop report), read after the repair: how far each step strays from its neighbours' mean over the median step, the hair's, and the head's frame-to-frame moves sideways and up and down in % of the body height (largest, median, largest over median, range). Beyond the reference bounds (index 0.43, head sideways 0.75 %) it is a warning line and the loop is kept; `--jolt-max` / `--head-step-max` turn a bound into a gate (`video-loop: loop jolts — …`). As a default gate the bounds would have refilmed 16 of 30 Lite takes on two refusals' evidence, and the index does not separate an alternating side walk from a kept Pro walk (0.414), so they stay a reference.- **One cycle per direction set**: new `sprite-gen video-cycle-align --loop-dir … --loop-dir …` resamples every loop to the set's median length at times k·L/L* — a time on a source frame keeps that frame, only times between frames are made by RIFE — turns each to start on a foot strike, and rebuilds its cycle, strip, GIF and WebP in place (`cycle_align` in `strip.json`). The cut as filmed is kept in `cycle.source/`, so a second run never resamples a resampled loop. `video-set` runs it for every walk or run filmed in two or more directions (`--align-cycles auto`, default). Strip metadata now records `cell_height_cap`.- **Measured walk defaults**: `build_prompt(model=...)` calms a Lite walk (`LITE_WALK_TEXT`; Lite read "walks naturally" as a run) and holds a Lite back-diagonal walk's head (`LITE_HEAD_TEXT`; sideways sway 2.7-3.8 % fell to 1.7-3.1 %, Pro 0.88 %); Pro prompts are unchanged. A front or back walk films from its base still redrawn mid-step (`WALK_START_TEXT`, `walk_start_prompt`, `starts_mid_step`; 1 of 14 front clips walked straight from a standing still, 14 of 16 from a mid-step one); `video-set --walk-start redraw` (default) draws it with one `sprite-gen gen --ref` call.diff --git a/README.es.md b/README.es.mdindex 70606ba..73046d2 100644--- a/README.es.md+++ b/README.es.md@@ -105,7 +105,7 @@ sprite-gen compose-atlas --run-dir <run> #sprite-gen curation --run-dir <run> # (opcional) elige, ajusta, respira```-**B · vídeo → bucle** — de una imagen fija a bucles transparentes (necesita `ffmpeg`, `img2webp` y tu propio login de `grok` o `XAI_API_KEY`).+**B · vídeo → bucle** — de una imagen fija a bucles transparentes (necesita `ffmpeg`, `img2webp` y tu propio login de `grok` o `XAI_API_KEY`). Los bucles de caminar y correr reparan sus fotogramas que saltan, y un conjunto de direcciones comparte una longitud de ciclo, con RIFE: instálalo una vez con `sprite-gen rife install`. Sin él, esos bucles se cortan tal como se filmaron, con un aviso ([loop-repair](docs/loop-repair.md)).```bashsprite-gen video-set --base side=still.png --states idle,walk,run,jump,attack --out-dir set/diff --git a/README.fr.md b/README.fr.mdindex 714165f..8875a6f 100644--- a/README.fr.md+++ b/README.fr.md@@ -105,7 +105,7 @@ sprite-gen compose-atlas --run-dir <run> #sprite-gen curation --run-dir <run> # (optionnel) choisir, ajuster, breathe```-**B · vidéo → boucle** — d'une image fixe à des boucles transparentes (nécessite `ffmpeg`, `img2webp`, et votre propre connexion `grok` ou `XAI_API_KEY`).+**B · vidéo → boucle** — d'une image fixe à des boucles transparentes (nécessite `ffmpeg`, `img2webp`, et votre propre connexion `grok` ou `XAI_API_KEY`). Les boucles de marche et de course voient leurs images qui sautent réparées, et un jeu de directions partage une même longueur de cycle, grâce à RIFE : installez-le une fois avec `sprite-gen rife install`. Sans lui, ces boucles sont coupées telles que filmées, avec un avertissement ([loop-repair](docs/loop-repair.md)).```bashsprite-gen video-set --base side=still.png --states idle,walk,run,jump,attack --out-dir set/diff --git a/README.ja.md b/README.ja.mdindex dcfeb30..24d83bf 100644--- a/README.ja.md+++ b/README.ja.md@@ -105,7 +105,7 @@ sprite-gen compose-atlas --run-dir <run> #sprite-gen curation --run-dir <run> # (任意) 選別、微調整、breathe```-**B · 動画 → ループ** — 一枚の静止画から透過ループへ(`ffmpeg`、`img2webp`、および自分自身の `grok` ログインまたは `XAI_API_KEY` が必要)。+**B · 動画 → ループ** — 一枚の静止画から透過ループへ(`ffmpeg`、`img2webp`、および自分自身の `grok` ログインまたは `XAI_API_KEY` が必要)。歩き・走りループの飛んだコマの修復と、方向セットの周期合わせは RIFE で行う:`sprite-gen rife install` で一度インストールする。なければそのループは撮影どおりに切り出され、警告が残る([loop-repair](docs/loop-repair.md))。```bashsprite-gen video-set --base side=still.png --states idle,walk,run,jump,attack --out-dir set/diff --git a/README.ko.md b/README.ko.mdindex 87090cc..a89192c 100644--- a/README.ko.md+++ b/README.ko.md@@ -113,7 +113,7 @@ sprite-gen compose-atlas --run-dir <run> #sprite-gen curation --run-dir <run> # (선택) 고르고, 미세 조정하고, breathe```-**B · 비디오 → 루프** — 정지 이미지 한 장에서 투명 루프로 (`ffmpeg`, `img2webp`, 그리고 본인의 `grok` 로그인 또는 `XAI_API_KEY` 필요).+**B · 비디오 → 루프** — 정지 이미지 한 장에서 투명 루프로 (`ffmpeg`, `img2webp`, 그리고 본인의 `grok` 로그인 또는 `XAI_API_KEY` 필요). 걷기·달리기 루프의 튀는 칸 수리와 방향 세트의 주기 맞춤은 RIFE 로 한다: `sprite-gen rife install` 로 한 번 설치한다. 없으면 그 루프는 찍힌 그대로 잘리고 경고가 남는다 ([loop-repair](docs/loop-repair.md)).```bashsprite-gen video-set --base side=still.png --states idle,walk,run,jump,attack --out-dir set/diff --git a/README.md b/README.mdindex b52c2e9..edca905 100644--- a/README.md+++ b/README.md@@ -120,7 +120,7 @@ sprite-gen compose-atlas --run-dir <run> #sprite-gen curation --run-dir <run> # (optional) pick, nudge, breathe```-**B · video → loop** — one still to transparent loops (needs `ffmpeg`, `img2webp`, and your own `grok` login or `XAI_API_KEY`).+**B · video → loop** — one still to transparent loops (needs `ffmpeg`, `img2webp`, and your own `grok` login or `XAI_API_KEY`). Walk and run loops have their jump frames repaired and a direction set shares one cycle length through RIFE: install it once with `sprite-gen rife install`. Without it those loops are cut as filmed, with a warning ([loop-repair](docs/loop-repair.md)).```bashsprite-gen video-set --base side=still.png --states idle,walk,run,jump,attack --out-dir set/diff --git a/README.zh-Hans.md b/README.zh-Hans.mdindex 693b1b5..19e94ce 100644--- a/README.zh-Hans.md+++ b/README.zh-Hans.md@@ -105,7 +105,7 @@ sprite-gen compose-atlas --run-dir <run> #sprite-gen curation --run-dir <run> # (可选)挑选、微调、呼吸```-**B · 视频 → 循环** —— 从一张静态图到透明循环(需要 `ffmpeg`、`img2webp`,以及你自己的 `grok` 登录或 `XAI_API_KEY`)。+**B · 视频 → 循环** —— 从一张静态图到透明循环(需要 `ffmpeg`、`img2webp`,以及你自己的 `grok` 登录或 `XAI_API_KEY`)。行走和奔跑循环的跳帧修复、方向组的周期对齐都用 RIFE:用 `sprite-gen rife install` 安装一次。没有它时,这些循环按拍摄原样裁切,并留下警告([loop-repair](docs/loop-repair.md))。```bashsprite-gen video-set --base side=still.png --states idle,walk,run,jump,attack --out-dir set/diff --git a/SKILL.md b/SKILL.mdindex fa5d153..b99a815 100644--- a/SKILL.md+++ b/SKILL.md@@ -12,7 +12,7 @@ depends_on:- name: img2webpwhy: "video-loop WebP with exact alpha (libwebp); Pillow's animated writer drops -exact"- name: rife-ncnn-vulkan- why: "video-loop jump repair and video-cycle-align (RIFE v4.6 in-betweens, release 20221029; SPRITE_GEN_RIFE names the binary; Linux without a GPU also needs mesa-vulkan-drivers)"+ why: "video-loop jump repair and video-cycle-align (RIFE v4.6 in-betweens, release 20221029). Install once with `sprite-gen rife install` (sha256-checked, into the user data directory); SPRITE_GEN_RIFE or PATH override it; Linux without a GPU also needs libvulkan1 mesa-vulkan-drivers. Without it, walk and run loops are cut as filmed with a warning"required_scripts:- scripts/prepare_sprite_run.py- scripts/generate_sprite_image.py@@ -117,6 +117,10 @@ Scene creation consumes finished assets and remains optional. Asset metadata own`SPRITE_GEN_ROOT` is the absolute installed repository path. Use `$SPRITE_GEN_ROOT/.venv/bin/sprite-gen` or `$SPRITE_GEN_ROOT/.venv/bin/python`; do not assume an activated shell. **폴백 금지**: create a missing venv or report the failure, never use an arbitrary global Python. **NumPy 가 없는 인터프리터** fails at package import. Setup and diagnosis: [interpreter](docs/interpreter.md).+## RIFE for walk and run loops++`video-loop` repairs a walk's or run's jump frames and `video-set` gives a direction set one cycle length, both with RIFE in-betweens. Install it once per machine: `$SPRITE_GEN_ROOT/.venv/bin/sprite-gen rife install` (pinned rife-ncnn-vulkan 20221029 and model rife-v4.6, SHA-256 checked, into the user data directory, ending with a check frame; Linux without a GPU first needs `libvulkan1 mesa-vulkan-drivers`). Without it every loop is still cut, as filmed, and says so: a `warning:` line on stderr, `jump_repair.applied: false` in the loop report, `cycle_align.<state>.applied: false` and `warnings` in `set.report.json`. When that happens, tell the user which loops went unrepaired and offer the install; after it, cut those loops again and run `video-cycle-align`. `video-loop --repair on` and `video-cycle-align` fail without RIFE instead. [loop-repair](docs/loop-repair.md).+## Contracts and advanced tools[run-contract](docs/run-contract.md) owns numeric requests, run layout, atomic publication and curated exports. [architecture](docs/architecture.md) explains domain ownership. [docs index](docs/README.md) lists every specialized feature and QA procedure. `sprite-gen --help` derives the command map from the package catalog. Never replace canonical extraction with temporary crop scripts while presenting the result as a pipeline output.diff --git a/docs/README.md b/docs/README.mdindex ee21f5b..6ee53cc 100644--- a/docs/README.md+++ b/docs/README.md@@ -78,7 +78,7 @@ grouping is derived from `sprite_gen/_modules.py`, the one taxonomy table.| [video.md](video.md) | `sprite-gen video` / `video-extend` / `video-edit`: stills and clips to mp4 through Grok Imagine (image-to-video, last-frame pin, references, extension, editing) with the user's own credential || [video-pipeline.md](video-pipeline.md) | Pipeline B engine contract: state canvas, keyed frames, true-period and one-shot cycles, strip/GIF/WebP, the batch || [loop-review.md](loop-review.md) | Automatic loop decisions, ambiguous gait review, visual evidence and explicit cut/alignment overrides |-| [loop-repair.md](loop-repair.md) | RIFE (where it runs, cost, licences), jump-frame repair, the jolt index and its gate, one cycle length per direction set |+| [loop-repair.md](loop-repair.md) | RIFE (where it runs, cost, licences, `sprite-gen rife install`, what runs without it), jump-frame repair, the jolt index and its gate, one cycle length per direction set || [frame-interpolation.md](frame-interpolation.md) | Generative in-betweens for sprite frames, recorded as a take || [seamless-video-loop.md](seamless-video-loop.md) | Making a non-looping ambient clip loop forever (RIFE seam bridge) — a different job from pipeline B |diff --git a/docs/loop-repair.md b/docs/loop-repair.mdindex 3c4cea0..2441f37 100644--- a/docs/loop-repair.md+++ b/docs/loop-repair.md@@ -1,6 +1,6 @@# Loop repair — RIFE in-betweens for jump frames, the jolt index, one cycle per set-> Owns: Where RIFE runs and what it costs, jump-frame repair in `video-loop`, the jolt index and its gate, cycle alignment across a direction set · Index: [docs/README.md](README.md)+> Owns: Where RIFE runs and what it costs, how it is installed and what runs without it, jump-frame repair in `video-loop`, the jolt index and its gate, cycle alignment across a direction set · Index: [docs/README.md](README.md)A walk loop cut from a generated clip can look right in every still and still hitch when itplays: the video model redraws thin hair a little differently every frame, and now and then@@ -25,11 +25,54 @@ tool, like `ffmpeg` and `img2webp`; nothing is vendored into the package.|---|---|| `rife-ncnn-vulkan-20221029-ubuntu.zip` | `1e2c7ee7fa7daa326542d50622f0afedc80cf6f1858bda411d16385ffa5cdf68` || `rife-ncnn-vulkan-20221029-macos.zip` | `4a63a1f3c9c715773c57d2ee51df1b315ed20cd6c63103e45c483ecc4400b595` |+| `rife-ncnn-vulkan-20221029-windows.zip` | `d8e4d772d26cd8006ef0ad0bc82eb191b53c68677d1ae2f42506d74cbbbea606` |-The engine finds it by `SPRITE_GEN_RIFE` (the binary's path) or `rife-ncnn-vulkan` on `PATH`,-and the model by `SPRITE_GEN_RIFE_MODEL` or `rife-v4.6/` next to the binary. A loop that needs-a repair and finds no RIFE stops with the install line; it is never cut unrepaired in silence-(`--repair off` is the explicit way to skip it).+### Install — `sprite-gen rife install`++```bash+sprite-gen rife install # once per machine+```++It downloads the zip for this platform (macOS, universal; Linux and Windows, x86-64), checks+the SHA-256 above before anything is unpacked, and keeps only what the engine runs — the+binary, `rife-v4.6/`, `LICENSE` and `README.md` (and `vcomp140.dll` on Windows), about 35 MB of+the 430 MB zip. It lands in the user data directory:++| | Install root |+|---|---|+| any platform, when set | `$SPRITE_GEN_DATA_DIR/rife` |+| macOS, Linux | `$XDG_DATA_HOME/sprite-gen/rife`, else `~/.local/share/sprite-gen/rife` |+| Windows | `%LOCALAPPDATA%\sprite-gen\rife` |++It unpacks into a staging directory and renames it into place, so an interrupted install+leaves nothing half-written where the engine looks. A finished install of the same zip is left+alone (`--force` unpacks again). It ends with a check frame: one frame half way between two+discs through the installed binary, so a Linux machine with the files but no Vulkan driver+finds out at install time (`--no-check` skips it). `--zip FILE` installs from a zip already+downloaded (behind a proxy, in an image build), checked the same way; `--dir DIR` installs+elsewhere and prints the `SPRITE_GEN_RIFE=…` line the engine then needs. Other platforms (Linux+on ARM, for one) have no release build: build it from the repository and set `SPRITE_GEN_RIFE`.++The engine finds the binary by, in order: `SPRITE_GEN_RIFE` (the binary's path), then+`rife-ncnn-vulkan` on `PATH`, then the install root above. The model is `SPRITE_GEN_RIFE_MODEL`+or `rife-v4.6/` next to the binary. When an earlier place holds another RIFE, the install says+which one the engine runs.++### Without RIFE++RIFE is located only when a frame is to be made, so a smooth walk never needs it. When one is+to be made and no RIFE is found in those three places, nothing fails by default — a walk that+cut before RIFE existed still cuts — and nothing is left unsaid:++| Where | Default without RIFE | Asked for by name |+|---|---|---|+| `video-loop` jump repair (section 2) | `--repair auto`: the loop is cut as filmed; `jump_repair` reads `applied: false`, `why`, `rife` (what was not found), `install`, and the worst jump's score; one `video-loop: warning:` line on stderr | `--repair on`: fails with the install line |+| `video-set` cycle alignment (section 4) | `--align-cycles auto`: the state is skipped and every loop keeps its own length; `cycle_align.<state>` reads `applied: false` with `why`, `rife`, `install`; the set report lists it under `warnings`; one `video-set: warning:` line | `video-cycle-align`: fails with the install line |++A RIFE that is found and then fails (a binary that cannot reach Vulkan, say) is an error in every+mode: the install is there and broken, which a warning would hide. A jolt gate passed to a loop+whose repair could not run (section 3) reads the loop as filmed, and its failure says the+repair did not run.RIFE reads three colour channels and no alpha. A frame is therefore interpolated as twoimages — its colour premultiplied over black, and its coverage as a grey image — and put back@@ -73,6 +116,9 @@ echo '1e2c7ee7fa7daa326542d50622f0afedc80cf6f1858bda411d16385ffa5cdf68 /tmp/rifunzip -q /tmp/rife.zip -d /opt && ln -s /opt/rife-ncnn-vulkan-20221029-ubuntu/rife-ncnn-vulkan /usr/local/bin/```+`sprite-gen rife install` (after the package, as the image's own user) does the same download,+hash and unpack, and adds the check frame; CI installs RIFE that way.+Cost on Modal (prices read from modal.com/pricing on 2026-10-03: CPU $0.0000131 per core persecond, memory $0.00000222 per GiB per second): one repaired frame is two calls, about 6 s; aloop repairs at most three frames, so at most about 20 s of one container — well under a cent.@@ -120,10 +166,10 @@ its whole/hair parts, `score_max_before` / `score_max_after`, why it stopped, aninterpolator made the frames. When a frame was replaced the seam gate measures the rendered cells(`seam_measurement: rendered-cells`), because the source frames no longer say what plays.-RIFE is located only when a frame is to be made. A loop with a jump and no RIFE fails with the-install line and `--repair off`, which cuts the loop as filmed and records-`jump_repair: {"applied": false, "why": "--repair off"}`. Other states are not touched-(`"why": "not a gait state (…)"`).+RIFE is located only when a frame is to be made. A loop with a jump and no RIFE is cut as filmed+with a warning under `--repair auto`, and fails under `--repair on` (section 1, "Without RIFE").+`--repair off` cuts the loop as filmed and records `jump_repair: {"applied": false, "why":+"--repair off"}`. Other states are not touched (`"why": "not a gait state (…)"`).Checked on the 2026-10-03 takes (`retime.py` in the experiment folder is the reference): theengine replaces the same frames as the experiment on every take tried — Lite side E1@@ -228,7 +274,10 @@ sprite-gen video-cycle-align --loop-dir set/front-walk/loop --loop-dir set/side-`video-set` runs this after its loops are cut, once per walk or run state filmed in two or moredirections (`--align-cycles auto`, default; `off` keeps each loop's own length). Its reportcarries `cycle_align` per state and `<state>.cycle-align.json`; a failed alignment is listed as-`cycle-align:<state>` and the loops stay as cut.+`cycle-align:<state>` and the loops stay as cut. Without RIFE the alignment is skipped, not+failed (section 1, "Without RIFE"); install it and run `video-cycle-align` on the set's loops.+Cutting a loop again with `video-loop` removes its `cycle.source/`, so the next alignment reads+the new cut.How much RIFE that is, on the 2026-10-03 sets (the experiment's `finalize.py`): resampling tothe median made 18 of 21 frames for a Lite side loop of 27, 20 of 21 for a back-diagonal loop ofdiff --git a/docs/video-pipeline.md b/docs/video-pipeline.mdindex 1ff5cc3..d70656a 100644--- a/docs/video-pipeline.md+++ b/docs/video-pipeline.md@@ -429,8 +429,9 @@ transparent corners, no RGB under alpha 0 in the WebP).A walk or run loop then has its jump frames repaired before the strip is built: a frame thatbreaks a step 1.4× the loop's median (whole body, or the hair behind it) is replaced by RIFE'sframe between its two neighbours, at most three and never two side by side (`--repair auto`,-the default; `--repair off` cuts as filmed). The report's `jump_repair` names the frames. See-[loop repair](loop-repair.md). The repaired loop's jolt index and the head's frame-to-frame+the default; `--repair off` cuts as filmed). The report's `jump_repair` names the frames. RIFE+is installed once with `sprite-gen rife install`; without it a loop that needs a frame is cut as+filmed with a warning (`--repair on` fails instead). See [loop repair](loop-repair.md). The repaired loop's jolt index and the head's frame-to-framemoves are reported (`jolt`); beyond the reference bounds that is a warning line, and a gate(`video-loop: loop jolts — …`) only when `--jolt-max` / `--head-step-max` are passed.@@ -531,7 +532,8 @@ length: each loop is resampled to the set's median length (only the frames thatsource frames are made, by RIFE) and turned to start on a foot strike (`--align-cycles auto`, thedefault; `off` keeps each loop's own length). The same step stands alone as`sprite-gen video-cycle-align --loop-dir … --loop-dir …`. `set.report.json` carries `cycle_align`-per state, and a failed alignment is listed as `cycle-align:<state>`. See+per state, and a failed alignment is listed as `cycle-align:<state>`. Without RIFE the alignment+is skipped with a warning (`applied: false`, and a line under the report's `warnings`), not failed. See[loop repair](loop-repair.md) section 4.## What the rules were measured ondiff --git a/tests/video/test_rife.py b/tests/video/test_rife.pyindex fa93393..2d12ab5 100644--- a/tests/video/test_rife.py+++ b/tests/video/test_rife.py@@ -2,7 +2,7 @@"""RIFE runner: it is found or refused by name, and a real binary (when one is installed)interpolates an RGBA frame that sits between its two neighbours, alpha included.-The real-binary test runs only where `rife-ncnn-vulkan` is reachable (SPRITE_GEN_RIFE or PATH);+The real-binary test runs only where `rife-ncnn-vulkan` is reachable (SPRITE_GEN_RIFE, PATH or the install root);the locating rules need no binary at all."""from __future__ import annotations@@ -106,7 +106,7 @@ def _real_rife_available() -> bool:return True[email protected](not _real_rife_available(), reason="rife-ncnn-vulkan not installed (SPRITE_GEN_RIFE / PATH)")[email protected](not _real_rife_available(), reason="rife-ncnn-vulkan not installed (SPRITE_GEN_RIFE / PATH / sprite-gen rife install)")def test_real_rife_makes_the_frame_between_in_colour_and_alpha():interpolate = rife.Rife()mid = interpolate(_disc(40), _disc(72), 0.5)