expand AI-assisted review to full building corpus
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-08-09 18:37:08 +02:00
parent f9a466b221
commit 7e07fe8486
7 changed files with 112 additions and 50 deletions
@@ -1,6 +1,9 @@
import pytest
from scripts.render_operator_yolo_label_qa_contact_sheets import filter_tiles_by_samples
from scripts.render_operator_yolo_label_qa_contact_sheets import (
CONTACT_SHEET_NAME_TEMPLATE,
filter_tiles_by_samples,
)
TILES = [
@@ -24,3 +27,8 @@ def test_filter_tiles_by_samples_rejects_missing_sample() -> None:
def test_filter_tiles_by_samples_without_filter_preserves_tiles() -> None:
assert filter_tiles_by_samples(TILES, []) is TILES
def test_contact_sheet_name_template_is_stable_and_one_indexed() -> None:
assert CONTACT_SHEET_NAME_TEMPLATE.format(index=1) == "contact_sheet_001.png"
assert CONTACT_SHEET_NAME_TEMPLATE.format(index=12) == "contact_sheet_012.png"