..................................................................F..... [ 11%]
........................................................................ [ 23%]
........................................................................ [ 34%]
.......................................F................................ [ 46%]
........................................................................ [ 57%]
........................................................................ [ 69%]
........................................................................ [ 81%]
........................................................................ [ 92%]
..............................................                           [100%]
=================================== FAILURES ===================================
_ test_all_five_real_combines_have_node_contract_even_when_other_nodes_close_graph _

    def test_all_five_real_combines_have_node_contract_even_when_other_nodes_close_graph():
        seen = []
        for path in (REPO / "example_ComfyUI_workflows").rglob("*"):
            if not path.is_file():
                continue
            source = json.loads(path.read_bytes())
            for n in source.get("nodes", []):
                if n["type"] == "VHS_VideoCombine" and n["properties"].get("ver") == VHS_COMBINE_COMMIT:
                    values = serialize_vhs_node(n)
                    assert values["crf"] == n["widgets_values"]["crf"]
                    assert values["frame_rate"] == n["widgets_values"]["frame_rate"]
                    seen.append((path, n["id"]))
>                   profile = next(
                        p
                        for p, v in VHS_PROFILES.items()
                        if v == (source.get("extra", {}).get("frontendVersion") or "1.37.11")
                    )
E                   StopIteration

calliope-backend/tests/test_vhs_reference.py:350: StopIteration
_ test_library_actual_delta_keeps_every_old_attempt_and_all_six_golden_comparisons _

    def test_library_actual_delta_keeps_every_old_attempt_and_all_six_golden_comparisons():
        previous = json.loads((REPO / "docs/hel-892/media-evidence/library.json").read_bytes())
        profiles = tuple(p for p in audit.REFERENCE_PROFILES if p not in audit.CROP_SPLIT_PROFILES)
        baseline = tuple(p for p in profiles if p != SEPARATION_PROFILE)
        old = audit.audit_library(REPO, baseline)
        current = audit.audit_library(REPO, profiles, baseline_profiles=baseline)
        for historical, before, after in zip(previous["cases"], old["cases"], current["cases"]):
            assert historical["source_path"] == before["source_path"] == after["source_path"]
>           assert historical["attempts"] == before["attempts"] == after["attempts"][:-1]
E           AssertionError: assert [{'profile': ...本不匹配'}]}, ...] == [{'profile': ...本不匹配'}]}, ...]
E             
E             Right contains 2 more items, first extra item: {'profile': 'comfy-frontend-1.37.11-vhs-pinned-reference', 'assumptions': {'frontend': '1.37.11', 'unmodified_frontend...5', 'cnr_id': None, 'aux_id': None, 'ver': None}, ...], 'verified_reference_facts': 'vhs-reference/contract.json', ...}
E             Use -v to get more diff

calliope-backend/tests/test_audio_separation_reference.py:368: AssertionError
=============================== warnings summary ===============================
calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53
  /home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-2d8b4b55fcb9/workdir/aigc-home/calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
    _PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED calliope-backend/tests/test_vhs_reference.py::test_all_five_real_combines_have_node_contract_even_when_other_nodes_close_graph
FAILED calliope-backend/tests/test_audio_separation_reference.py::test_library_actual_delta_keeps_every_old_attempt_and_all_six_golden_comparisons
2 failed, 620 passed, 1 warning in 12.47s
