HEL-892: document frame extraction with exact mixed node versions

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
leefer
2026-10-30 19:55:54 +08:00
co-authored by multica-agent
parent 9db8857228
commit 19a7e42bb8
73 changed files with 26271 additions and 13 deletions
@@ -154,12 +154,15 @@ def test_real_document_and_frozen_old_fourteen_blocks():
p
for p in DEFINITIONS
if p != PATH
and not p.endswith("/截取视频每一帧.json")
and not p.endswith(
("NLF_视频人物动作骨架获取.json", "/视频倒放.json", "双图像或视频合并显示.json")
)
)
resource = "calliope-backend/src/calliope/comfyui/source_reviews.json"
now = json.loads((REPO / resource).read_bytes())
later = next(p for p in now if p.endswith("/截取视频每一帧.json"))
now[later].pop("fixed_version_document")
for added in [
p
for p in now
@@ -181,7 +184,7 @@ def test_real_document_and_frozen_old_fourteen_blocks():
assert not doc(review=review)["fixed_version"]["matched"]
now[openpose].pop("fixed_version_document")
old = json.loads(subprocess.check_output(["git", "show", "7291887:" + resource], cwd=REPO))
assert len(now) == 156 and len(DEFINITIONS) == 21
assert len(now) == 156 and len(DEFINITIONS) == 22
old_blocks = [
r["fixed_version_document"] for r in old.values() if "fixed_version_document" in r
]