HEL-892: pin AudioCrop and GuHai split reference contracts
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user