HEL-892: add source-bound BiRefNet background removal reading notes

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
leefer
2026-10-30 20:43:39 +08:00
co-authored by multica-agent
parent 6e1e47b8e7
commit fb93acc3b4
95 changed files with 30951 additions and 13 deletions
@@ -171,6 +171,8 @@ def test_only_two_reviews_change_and_all_old_blocks_preserved():
resource = "calliope-backend/src/calliope/comfyui/source_reviews.json"
old = json.loads(subprocess.check_output(["git", "show", "27e6d56:" + resource], cwd=REPO))
now = json.loads((REPO / resource).read_bytes())
birefnet = next(p for p in now if p.endswith("/birefnet_图像移除背景.json"))
now[birefnet].pop("fixed_version_document")
latent = next(p for p in now if p.endswith("/加载本地latent解码.json"))
now[latent].pop("fixed_version_document")
later = next(p for p in now if p.endswith("/截取视频每一帧.json"))
@@ -195,7 +197,7 @@ def test_only_two_reviews_change_and_all_old_blocks_preserved():
# Gemma addition is independently protected against 9dac1b4 in its own suite.
gemma = next(p for p in now if p.endswith("gemma4_提示词反推(图像视频音频).json"))
now[gemma].pop("fixed_version_document")
assert len(DEFINITIONS) == 23
assert len(DEFINITIONS) == 24
assert (
sum(
len(r["fixed_version_document"]["fields"])