openadapt-ml 0.2.1__py3-none-any.whl → 0.3.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- openadapt_ml/benchmarks/cli.py +7346 -945
- openadapt_ml/benchmarks/vm_monitor.py +6 -3
- {openadapt_ml-0.2.1.dist-info → openadapt_ml-0.3.0.dist-info}/METADATA +1 -1
- {openadapt_ml-0.2.1.dist-info → openadapt_ml-0.3.0.dist-info}/RECORD +6 -6
- {openadapt_ml-0.2.1.dist-info → openadapt_ml-0.3.0.dist-info}/WHEEL +0 -0
- {openadapt_ml-0.2.1.dist-info → openadapt_ml-0.3.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -154,11 +154,14 @@ class VMMonitor:
|
|
|
154
154
|
def check_waa_probe(self) -> tuple[bool, str | None]:
|
|
155
155
|
"""Check if WAA /probe endpoint responds.
|
|
156
156
|
|
|
157
|
+
The probe must run INSIDE the container to reach 172.30.0.2 (Docker internal network).
|
|
158
|
+
|
|
157
159
|
Returns:
|
|
158
160
|
Tuple of (ready, response_text).
|
|
159
161
|
"""
|
|
160
162
|
try:
|
|
161
|
-
|
|
163
|
+
# Run curl inside container to access Docker internal network
|
|
164
|
+
cmd = f"docker exec {self.config.docker_container} curl -s --max-time {self.timeout} http://{self.config.internal_ip}:{self.config.waa_port}/probe 2>/dev/null || echo FAIL"
|
|
162
165
|
result = subprocess.run(
|
|
163
166
|
[
|
|
164
167
|
"ssh",
|
|
@@ -173,10 +176,10 @@ class VMMonitor:
|
|
|
173
176
|
],
|
|
174
177
|
capture_output=True,
|
|
175
178
|
text=True,
|
|
176
|
-
timeout=self.timeout +
|
|
179
|
+
timeout=self.timeout + 15,
|
|
177
180
|
)
|
|
178
181
|
response = result.stdout.strip()
|
|
179
|
-
if response and "error" not in response.lower():
|
|
182
|
+
if response and "FAIL" not in response and "error" not in response.lower():
|
|
180
183
|
return True, response
|
|
181
184
|
return False, response or None
|
|
182
185
|
except (subprocess.TimeoutExpired, Exception) as e:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: openadapt-ml
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: Model-agnostic, domain-agnostic ML engine for GUI automation agents
|
|
5
5
|
Project-URL: Homepage, https://github.com/OpenAdaptAI/openadapt-ml
|
|
6
6
|
Project-URL: Repository, https://github.com/OpenAdaptAI/openadapt-ml
|
|
@@ -10,10 +10,10 @@ openadapt_ml/benchmarks/__init__.py,sha256=FaEGc7pRM-eLUXEEpJXcIckwkIWKhfaDkaxGM
|
|
|
10
10
|
openadapt_ml/benchmarks/agent.py,sha256=8UcS9skCy6l18fGYaYt0JzJmYSGNB_WxDWhApbM7QH0,26940
|
|
11
11
|
openadapt_ml/benchmarks/azure.py,sha256=dCrxi90X5NmFNMTT-2WG4AF3-IOO4zQs7yPpnqR-jLc,28238
|
|
12
12
|
openadapt_ml/benchmarks/azure_ops_tracker.py,sha256=NOW21LPagOWIThSCIotI5cBvve92dtIktRIDLuyJ2CI,19309
|
|
13
|
-
openadapt_ml/benchmarks/cli.py,sha256=
|
|
13
|
+
openadapt_ml/benchmarks/cli.py,sha256=FkZ2MQUWEFbnunokMGVJajlHhm_7ozZmp4CDGKKmKH0,288794
|
|
14
14
|
openadapt_ml/benchmarks/trace_export.py,sha256=Zx-pryEuLe734YHY8MgJsNdj3I3TcTY61OQ9iurgGB0,21746
|
|
15
15
|
openadapt_ml/benchmarks/viewer.py,sha256=Jztt_IoDW1u0WjPqlikfR8dunYzj66xCx0bMDDzJHQ8,41586
|
|
16
|
-
openadapt_ml/benchmarks/vm_monitor.py,sha256=
|
|
16
|
+
openadapt_ml/benchmarks/vm_monitor.py,sha256=EYgPRok2MPqs8Yajg7EJaqyb4EtRpqt8URQMLhE9Ego,35991
|
|
17
17
|
openadapt_ml/benchmarks/waa_deploy/Dockerfile,sha256=F4GzVUoAUHvGlTFj-gGIPSlncG-JIz1_JyeaHvTnLpA,10853
|
|
18
18
|
openadapt_ml/benchmarks/waa_deploy/__init__.py,sha256=KV71HrrgETytfY0i4vFSi-yM0KjoQP2hd9Bl03cZ9yc,320
|
|
19
19
|
openadapt_ml/benchmarks/waa_deploy/api_agent.py,sha256=A5ZFhtBTKz0Q1GarNV51JhkEJwAgJfm9tK4CTJ1UEnE,20040
|
|
@@ -110,7 +110,7 @@ openadapt_ml/training/trainer.py,sha256=yGK79alY9Z0xGRQ2r9EaiWbzGlmE5WZJQL_2TWgc
|
|
|
110
110
|
openadapt_ml/training/trl_trainer.py,sha256=AL1KFWXMub4vWE2w8eoAoQbSgm2fXO82CIqXULLYwVo,13223
|
|
111
111
|
openadapt_ml/training/viewer.py,sha256=rXpREFbDK_tsu719VUej6iXrgnB8eNP0SEuvB9NUUhA,128104
|
|
112
112
|
openadapt_ml/training/viewer_components.py,sha256=XilaX7r4YXFMT1QkooNnPWqR14SpsiTf7YbrN_g-Lq0,5478
|
|
113
|
-
openadapt_ml-0.
|
|
114
|
-
openadapt_ml-0.
|
|
115
|
-
openadapt_ml-0.
|
|
116
|
-
openadapt_ml-0.
|
|
113
|
+
openadapt_ml-0.3.0.dist-info/METADATA,sha256=6vXl-Q-0p9kNrfHiFfro7b7YPUgkkokrdHas9cq3Guw,36696
|
|
114
|
+
openadapt_ml-0.3.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
115
|
+
openadapt_ml-0.3.0.dist-info/licenses/LICENSE,sha256=2E5UY67RVLedJuNnwGudkAMtfM3LZNUcHgmaL89TAfw,1068
|
|
116
|
+
openadapt_ml-0.3.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|