Handoff completed training into closed loop
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user