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
@@ -190,6 +190,8 @@ def test_ten_documents_only_gain_overview_and_new_block_is_independent():
p = "calliope-backend/src/calliope/comfyui/source_reviews.json"
old = json.loads(subprocess.check_output(["git", "show", "ec3388a:" + p], cwd=REPO))
now = json.loads((REPO / p).read_bytes())
birefnet = next(p for p in now if p.endswith("/birefnet_图像移除背景.json"))
now[birefnet].pop("fixed_version_document")
# Freeze the historical eleven-document revision; the two grid additions are
# independently compared against 27e6d56 in test_grid_fixed_document.
# Gemma is separately checked against 9dac1b4 in test_gemma_fixed_document.
@@ -216,7 +218,7 @@ def test_ten_documents_only_gain_overview_and_new_block_is_independent():
assert len(additions) == 12
for p in additions:
now[p].pop("fixed_version_document")
historical = [p for p in DEFINITIONS if p not in additions]
historical = [p for p in DEFINITIONS if p not in additions and p != birefnet]
assert len(historical) == 11
for path in historical:
block = now[path]["fixed_version_document"]