Initial public release
GeoIntel release gates / Compile, test, contracts and builds (push) Successful in 1m49s
GeoIntel release gates / Python and npm vulnerability policy (push) Successful in 21s
GeoIntel release gates / Production AI image, SBOM and container scan (push) Successful in 5m39s
GeoIntel release gates / Deploy exact gated revision to Unraid (push) Failing after 58m43s

This commit is contained in:
Jens
2026-08-31 21:56:53 +02:00
commit faeb58ef6d
1386 changed files with 263203 additions and 0 deletions
@@ -0,0 +1,27 @@
from pathlib import Path
ROOT = Path(__file__).resolve().parents[2]
def test_operator_hard_negative_matrix_scores_background_samples_without_qa() -> None:
script_path = ROOT / "scripts" / "run_operator_hard_negative_detection_matrix.sh"
readiness = (ROOT / "scripts" / "run_readiness_check.sh").read_text(encoding="utf-8")
assert script_path.exists()
script = script_path.read_text(encoding="utf-8")
assert "bash -n scripts/run_operator_hard_negative_detection_matrix.sh" in readiness
assert "OPERATOR_SAMPLE_MANIFEST_PATH" in script
assert "OPERATOR_BACKGROUND_SAMPLE_SLUGS" in script
assert "background_candidate" in script
assert "allow_empty_reference" in script
assert "/api/v1/detection/run" in script
assert "/api/v1/detection/runs/${analysis_run_id}/detections" in script
assert "hard_negative_matrix_summary.json" in script
assert "false_positive_pressure" in script
assert "best_by_lowest_pressure" in script
assert "REAL_REFERENCE_VECTOR_PATH" not in script
assert "/qa/reference" not in script
assert "fixture_mode" not in script
assert "demo/workflow" not in script