Close full operational audit findings
This commit is contained in:
@@ -21,17 +21,20 @@ def test_raster_controls_show_manifest_details_and_ai_handoff_action() -> None:
|
||||
)
|
||||
|
||||
assert "latestRasterTileManifest" in controls
|
||||
assert "Tile count" in controls
|
||||
assert "Tile size" in controls
|
||||
assert "Aantal tegels" in controls
|
||||
assert "Tegelgrootte" in controls
|
||||
assert "Overlap" in controls
|
||||
assert "Use manifest in Detection Lab" in controls
|
||||
assert "Use manifest in Segmentation Lab" in controls
|
||||
assert "Gebruik voor gebouwdetectie" in controls
|
||||
assert "Gebruik voor segmentatie" in controls
|
||||
|
||||
|
||||
def test_detection_handoff_opens_ai_lab_preflights_manifest_and_keeps_asset_explicit() -> None:
|
||||
app = (ROOT / "frontend" / "src" / "App.tsx").read_text(encoding="utf-8")
|
||||
lab = (ROOT / "frontend" / "src" / "components" / "detection" / "DetectionLab.tsx").read_text(
|
||||
encoding="utf-8"
|
||||
lab = "\n".join(
|
||||
(
|
||||
(ROOT / "frontend" / "src" / "components" / "detection" / "DetectionLab.tsx").read_text(encoding="utf-8"),
|
||||
(ROOT / "frontend" / "src" / "components" / "detection" / "DetectionModelManagement.tsx").read_text(encoding="utf-8"),
|
||||
)
|
||||
)
|
||||
|
||||
assert "setDetectionTileManifestPath(manifestPath)" in app
|
||||
@@ -41,6 +44,6 @@ def test_detection_handoff_opens_ai_lab_preflights_manifest_and_keeps_asset_expl
|
||||
assert "loadYoloPreflight(manifestPath).catch(() => null)" in app
|
||||
assert "setSelectedModelAssetId(" not in app[app.index("const useRasterTileManifestForDetection"):app.index("const {", app.index("const useRasterTileManifestForDetection"))]
|
||||
assert "Gekoppelde beeldtegels" in lab
|
||||
assert "Tile manifest validation" in lab
|
||||
assert "Tile count" in lab
|
||||
assert "will_run_inference" in lab
|
||||
assert "Gekoppelde beeldtegels" in lab
|
||||
assert "Aantal beeldtegels" in lab
|
||||
assert "yoloPreflight.tile_count" in lab
|
||||
|
||||
Reference in New Issue
Block a user