HEL-892: pin AudioCrop and GuHai split reference contracts

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
leefer
2026-10-30 03:44:25 +08:00
co-authored by multica-agent
parent b30ea8917d
commit 9fb77d5360
23 changed files with 5143 additions and 25 deletions
@@ -359,9 +359,10 @@ def test_old_mp3_profile_rejects_real_graph_and_new_profile_rejects_old_core():
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())
baseline = tuple(p for p in audit.REFERENCE_PROFILES if p != SEPARATION_PROFILE)
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)
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]