Add fail-closed source class and SAM fallback filters
GeoIntel release gates / Compile, test, contracts and builds (push) Canceled after 0s
GeoIntel release gates / Python and npm vulnerability policy (push) Canceled after 0s
GeoIntel release gates / GIS image, SBOM and container scan (push) Canceled after 0s

This commit is contained in:
Jens
2026-07-30 04:24:35 +02:00
parent 29378bba42
commit 08422ca50c
6 changed files with 74 additions and 4 deletions
@@ -31,3 +31,9 @@ def test_plausible_refinement_is_fail_closed() -> None:
def test_yolo_round_trip_shape() -> None:
line = MODULE.yolo_line((10.0, 20.0, 30.0, 40.0), 100, 100)
assert line == "0 0.20000000 0.30000000 0.20000000 0.20000000"
def test_cli_exposes_explicit_fallback_policy() -> None:
source = SCRIPT.read_text(encoding="utf-8")
assert 'choices=("retain", "drop")' in source
assert '"dropped_fallback_label_count"' in source