Handoff completed training into closed loop
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-29 15:45:41 +02:00
parent d5bf9c102e
commit d6502140da
8 changed files with 117 additions and 1 deletions
@@ -59,6 +59,9 @@ def test_training_command_supports_conservative_aerial_finetuning(tmp_path: Path
assert "mosaic=0.0" in command
assert "scale=0.2" in command
assert "translate=0.05" in command
assert "degrees=0.0" in command
assert "flipud=0.0" in command
assert "fliplr=0.5" in command
assert f"data={tmp_path / 'dataset.yaml'}" in command
@@ -28,3 +28,10 @@ def test_container_running_fails_closed_on_inspect_error(monkeypatch) -> None:
monkeypatch.setattr(MODULE.subprocess, "run", lambda *args, **kwargs: Result())
assert MODULE.container_running("missing") is False
def test_completion_command_requires_non_empty_string_list(tmp_path: Path) -> None:
invalid = tmp_path / "command.json"
invalid.write_text('{"shell": "unsafe"}', encoding="utf-8")
value = MODULE.json.loads(invalid.read_text(encoding="utf-8"))
assert not isinstance(value, list)