Enable measured provenance relaxation for the Microsoft badge

The OCR badge census split the 343 Microsoft-C2PA uploads into 86 badge
carriers and 257 true badge-less files (the watermark is a per-user opt-in).
Badge-less scores max 0.251 / p99 0.213, so the 0.266 relaxed gate admits the
three faint badges in [0.251, 0.38) with zero measured false fills; re-verified
on the provenance path as 3 band detections and 0/257 badge-less fires.
This commit is contained in:
Victor Kuznetsov
2026-08-28 10:06:13 -07:00
parent 08a4a8d299
commit 23696f42a8
3 changed files with 21 additions and 10 deletions
+6 -3
View File
@@ -76,9 +76,12 @@ class TestLocate:
class TestConfig:
def test_strict_only_no_provenance_relaxation(self):
# Provenance names Microsoft, not the presence of this visible layout.
assert MicrosoftEngine().config.provenance_ncc_factor == 1.0
def test_provenance_relaxation_is_the_measured_07(self):
# The relaxed band was measured on the OCR-censused MS cohort: 257
# badge-less files max 0.251, so the 0.266 relaxed gate admits the three
# faint badges in [0.251, 0.38) with zero measured false fills. Do not
# move the factor without re-censusing the badge-less cohort.
assert MicrosoftEngine().config.provenance_ncc_factor == 0.7
def test_long_scale_basis(self):
assert MicrosoftEngine().config.scale_basis == "long"