expand AI-assisted review to full building corpus
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user