Files
aigc-home/docs/hel-892/h3-core-evidence/regression-first.txt
T

237 lines
14 KiB
Plaintext

........................................................................ [ 6%]
........................................................................ [ 12%]
........................................................................ [ 19%]
........................................................................ [ 25%]
.........................................F.............................. [ 32%]
...................F.................................................... [ 38%]
.F.........................................................F......F..... [ 44%]
...........................................................F............ [ 51%]
........................................................................ [ 57%]
.......................F................................................ [ 64%]
..................................F..................................... [ 70%]
........................................................................ [ 77%]
........................................................................ [ 83%]
........................................................................ [ 89%]
........................................................................ [ 96%]
......................................... [100%]
=================================== FAILURES ===================================
_______ test_fixed_sources_and_original_profile_cohorts_remain_identical _______
def test_fixed_sources_and_original_profile_cohorts_remain_identical():
assert verify(REPO / "docs/hel-892/grid-reference")["sources_verified"]
old = json.loads((REPO / "docs/hel-892/scail-load-evidence/library.json").read_bytes())
profiles = tuple(old["profiles"])
> assert (
len(profiles) == 24
and tuple(p for p in audit.REFERENCE_PROFILES if p not in (GRID_PROFILE, audit.H3_PROFILE))
== profiles
)
E AssertionError: assert (24 == 24 and ('comfy-front...ference', ...) == ('comfy-front...ference', ...)
E + where 24 = len(('comfy-frontend-1.37.11-core-reference', 'comfy-frontend-1.37.11-controlnet-aux-e8b689a-reference', 'comfy-frontend-1...7.11-preview-reference', 'comfy-frontend-1.48.7-structure-reference', 'comfy-frontend-1.53.6-structure-reference', ...))
E
E Left contains one more item: 'comfy-frontend-1.53.10-core-0.33.0-h3-first-group-reference'
E Use -v to get more diff)
calliope-backend/tests/test_grid_reference.py:340: AssertionError
____________ test_exact_historical_emission_is_not_user_provenance _____________
def test_exact_historical_emission_is_not_user_provenance():
assert verify(ROOT)["sources_verified"]
old = (ROOT / "kj-276955e45fa48c794b47bf49dbc22f2d955d76a8__setgetnodes.js").read_text()
new = (ROOT / "kj-e56b3061ed49251a7b8a5450a2e18295548ea7a1__setgetnodes.js").read_text()
assert 'this.properties["aux_id"] = "SetNode"' in old
assert 'this.properties["aux_id"] = "GetNode"' in old
assert new.count('this.properties["aux_id"] = "kijai/ComfyUI-KJNodes"') == 2
assert 'this.properties["aux_id"] = "SetNode"' not in new
tree = ast.parse((ROOT / "videohelpersuite__load_video_nodes.py").read_text())
cls = next(n for n in tree.body if isinstance(n, ast.ClassDef) and n.name == "LoadVideoUpload")
assert cls.lineno > 0
assert '"VHS_LoadVideo": LoadVideoUpload,' in (ROOT / "videohelpersuite__nodes.py").read_text()
assert serialize_scail_load_node(loader())["custom_width"] == 0
> assert (
len(
[p for p in audit.REFERENCE_PROFILES if p not in (audit.GRID_PROFILE, audit.H3_PROFILE)]
)
== 24
)
E AssertionError: assert 25 == 24
E + where 25 = len(['comfy-frontend-1.37.11-core-reference', 'comfy-frontend-1.37.11-controlnet-aux-e8b689a-reference', 'comfy-frontend-1...7.11-preview-reference', 'comfy-frontend-1.48.7-structure-reference', 'comfy-frontend-1.53.6-structure-reference', ...])
calliope-backend/tests/test_scail_load_reference.py:245: AssertionError
_____ test_real_entities_strict_source_schema_and_old_profiles_stay_frozen _____
def test_real_entities_strict_source_schema_and_old_profiles_stay_frozen():
old = json.loads((REPO / "docs/hel-892/setget-evidence/library.json").read_bytes())
for row in old["cases"]:
if "Scail-2" not in row["source_path"]:
continue
source = json.loads((REPO / row["source_path"]).read_bytes())
n = next(n for n in source["nodes"] if n["type"] == "VHS_VideoInfoLoaded")
assert serialize_videoinfo_node(n) == {}
result = convert_reference(source, PROFILE)
assert result.prompt is None and result.issues
assert all(a["status"] != "complete_reference_candidate" for a in row["attempts"])
> assert (
len(
[
p
for p in audit.REFERENCE_PROFILES
if p not in (*audit.SCAIL_LOAD_PROFILES, audit.GRID_PROFILE, audit.H3_PROFILE)
]
)
== 22
)
E AssertionError: assert 23 == 22
E + where 23 = len(['comfy-frontend-1.37.11-core-reference', 'comfy-frontend-1.37.11-controlnet-aux-e8b689a-reference', 'comfy-frontend-1...7.11-preview-reference', 'comfy-frontend-1.48.7-structure-reference', 'comfy-frontend-1.53.6-structure-reference', ...])
calliope-backend/tests/test_videoinfo_reference.py:278: AssertionError
___________ test_wrong_frontend_missing_policy_and_profile_inventory ___________
def test_wrong_frontend_missing_policy_and_profile_inventory():
p1486 = list(SETGET_PROFILES)[1]
assert convert_reference(synthetic(), p1486).prompt is None
for v in ["1.48.7", "1.53.6", "1.37.11-other"]:
g = synthetic()
g["extra"] = {"frontendVersion": v}
assert convert_reference(g, PROFILE).prompt is None
> assert (
len(
[
p
for p in audit.REFERENCE_PROFILES
if p
not in (
*audit.VIDEOINFO_PROFILES,
*audit.SCAIL_LOAD_PROFILES,
audit.GRID_PROFILE,
audit.H3_PROFILE,
)
]
)
== 20
)
E AssertionError: assert 21 == 20
E + where 21 = len(['comfy-frontend-1.37.11-core-reference', 'comfy-frontend-1.37.11-controlnet-aux-e8b689a-reference', 'comfy-frontend-1...7.11-preview-reference', 'comfy-frontend-1.48.7-structure-reference', 'comfy-frontend-1.53.6-structure-reference', ...])
calliope-backend/tests/test_setget_reference.py:333: AssertionError
___ test_historical_18_profiles_attempts_gaps_and_six_comparisons_unchanged ____
def test_historical_18_profiles_attempts_gaps_and_six_comparisons_unchanged():
old = json.loads((REPO / "docs/hel-892/vhs-evidence/library.json").read_bytes())
baseline = tuple(
p
for p in audit.REFERENCE_PROFILES
if p
not in (
*SETGET_PROFILES,
*audit.VIDEOINFO_PROFILES,
*audit.SCAIL_LOAD_PROFILES,
audit.GRID_PROFILE,
audit.H3_PROFILE,
)
)
now = audit.audit_library(
REPO,
tuple(p for p in audit.REFERENCE_PROFILES if p != audit.H3_PROFILE),
baseline_profiles=baseline,
)
actual_old = audit.audit_library(REPO, baseline)
> assert len(baseline) == 18
E AssertionError: assert 19 == 18
E + where 19 = len(('comfy-frontend-1.37.11-core-reference', 'comfy-frontend-1.37.11-controlnet-aux-e8b689a-reference', 'comfy-frontend-1...7.11-preview-reference', 'comfy-frontend-1.48.7-structure-reference', 'comfy-frontend-1.53.6-structure-reference', ...))
calliope-backend/tests/test_setget_reference.py:440: AssertionError
___ test_old_sixteen_attempts_gaps_candidates_and_six_comparisons_protected ____
def test_old_sixteen_attempts_gaps_candidates_and_six_comparisons_protected():
old = json.loads((REPO / "docs/hel-892/crop-split-evidence/library.json").read_bytes())
# Freeze this batch's 18-profile history; Set/Get has separate current protection.
historical_profiles = tuple(
p
for p in audit.REFERENCE_PROFILES
if p
not in (
*audit.SETGET_PROFILES,
*audit.VIDEOINFO_PROFILES,
*audit.SCAIL_LOAD_PROFILES,
audit.GRID_PROFILE,
audit.H3_PROFILE,
)
)
profiles = tuple(p for p in historical_profiles if p not in VHS_PROFILES)
baseline = audit.audit_library(REPO, profiles)
now = audit.audit_library(REPO, historical_profiles, baseline_profiles=profiles)
> assert len(profiles) == 16 and len(now["profiles"]) == 18
E AssertionError: assert (17 == 16)
E + where 17 = len(('comfy-frontend-1.37.11-core-reference', 'comfy-frontend-1.37.11-controlnet-aux-e8b689a-reference', 'comfy-frontend-1...7.11-preview-reference', 'comfy-frontend-1.48.7-structure-reference', 'comfy-frontend-1.53.6-structure-reference', ...))
calliope-backend/tests/test_vhs_reference.py:304: AssertionError
__ test_all_old_fourteen_profiles_attempts_gaps_and_six_differences_unchanged __
def test_all_old_fourteen_profiles_attempts_gaps_and_six_differences_unchanged():
historical_profiles = tuple(
p
for p in audit.REFERENCE_PROFILES
if p
not in (
*VHS_PROFILES,
*audit.SETGET_PROFILES,
*audit.VIDEOINFO_PROFILES,
*audit.SCAIL_LOAD_PROFILES,
audit.GRID_PROFILE,
audit.H3_PROFILE,
)
)
profiles = tuple(p for p in historical_profiles if p not in CROP_SPLIT_PROFILES)
historical = json.loads((REPO / "docs/hel-892/separation-evidence/library.json").read_bytes())
baseline = audit.audit_library(REPO, profiles)
current = audit.audit_library(REPO, historical_profiles)
> assert baseline["gap_groups"] == historical["gap_groups"]
E AssertionError: assert [{'type': '1d...e', ...}, ...] == [{'type': '1d...e', ...}, ...]
E
E At index 81 diff: {'type': 'BasicGuider', 'provider': None, 'version': None, 'profile': 'comfy-frontend-1.53.10-core-0.33.0-h3-first-group-reference', 'code': 'reference_node_unsupported', 'rule_gap': '固定参考契约未覆盖节点:BasicGuider', 'occurrences': [{'source_path': 'example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3多参生视频无审核版.json', 'node_pointer': '/nodes/16', 'node_id': '126'}, {'source_path': 'example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3文生视频无审核版.json', 'node_pointer': '/nodes/15', 'node_id': '126'}, {'source_path': 'example_ComfyUI_workflows/4-视频生成/uncensored/...
E
E ...Full output truncated (3 lines hidden), use '-vv' to show
calliope-backend/tests/test_crop_split_reference.py:371: AssertionError
_ 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,
*audit.VHS_PROFILES,
*audit.SETGET_PROFILES,
*audit.VIDEOINFO_PROFILES,
*audit.SCAIL_LOAD_PROFILES,
audit.GRID_PROFILE,
audit.H3_PROFILE,
)
)
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 one more item: {'profile': 'comfy-frontend-1.53.10-core-0.33.0-h3-first-group-reference', 'assumptions': {'frontend': '1.53.10', 'unm...e_serializer_match': 'unknown', ...}, 'status': 'rejected', 'rejection_class': 'serializer_or_structure_rejected', ...}
E Use -v to get more diff
calliope-backend/tests/test_audio_separation_reference.py:381: AssertionError
=========================== short test summary info ============================
FAILED calliope-backend/tests/test_grid_reference.py::test_fixed_sources_and_original_profile_cohorts_remain_identical
FAILED calliope-backend/tests/test_scail_load_reference.py::test_exact_historical_emission_is_not_user_provenance
FAILED calliope-backend/tests/test_videoinfo_reference.py::test_real_entities_strict_source_schema_and_old_profiles_stay_frozen
FAILED calliope-backend/tests/test_setget_reference.py::test_wrong_frontend_missing_policy_and_profile_inventory
FAILED calliope-backend/tests/test_setget_reference.py::test_historical_18_profiles_attempts_gaps_and_six_comparisons_unchanged
FAILED calliope-backend/tests/test_vhs_reference.py::test_old_sixteen_attempts_gaps_candidates_and_six_comparisons_protected
FAILED calliope-backend/tests/test_crop_split_reference.py::test_all_old_fourteen_profiles_attempts_gaps_and_six_differences_unchanged
FAILED calliope-backend/tests/test_audio_separation_reference.py::test_library_actual_delta_keeps_every_old_attempt_and_all_six_golden_comparisons
8 failed, 1113 passed, 1 warning in 16.49s