36-task suite (app files)
Browse files- README.md +6 -4
- tests/test_app.py +3 -3
README.md
CHANGED
|
@@ -56,9 +56,11 @@ Space repo with its size.
|
|
| 56 |
|
| 57 |
## What you get
|
| 58 |
|
| 59 |
-
- **Live run** β all
|
| 60 |
9 adversarial), grouped by category, including a Business workflows
|
| 61 |
-
group (CRM record update, vendor application, lead entry)
|
|
|
|
|
|
|
| 62 |
recovery is on or off, press Run. The stream shows each observation
|
| 63 |
(fresh DOM snapshot), each verified step, each failure, each recovery
|
| 64 |
(re-grounding, overlay dismissal), a screenshot after every step, and
|
|
@@ -66,7 +68,7 @@ Space repo with its size.
|
|
| 66 |
recorded full-suite result is shown beside the picker, and the raw
|
| 67 |
task page itself can be opened via "View task page".
|
| 68 |
- **Evaluation** β the recorded full-suite results: recovery ON passed
|
| 69 |
-
|
| 70 |
recovery on versus 0/9 with it off. The view reads the system's own
|
| 71 |
run files (`results/run_on.json`, `results/run_off.json`) at request
|
| 72 |
time β no number is hand-entered, and the recorded suite runs are
|
|
@@ -100,7 +102,7 @@ Space repo with its size.
|
|
| 100 |
|
| 101 |
Boots the real server on a scratch port and verifies over HTTP: the
|
| 102 |
Evaluation payload matches the recorded run files (recomputed
|
| 103 |
-
independently in the test), the catalogue lists all
|
| 104 |
live runs are executed end to end β `adversarial_rename_under_overlay`
|
| 105 |
passes with exactly 2 recoveries and 5 attempts (the recorded
|
| 106 |
behaviour), and the control task `login` passes with 0 recoveries.
|
|
|
|
| 56 |
|
| 57 |
## What you get
|
| 58 |
|
| 59 |
+
- **Live run** β all 36 tasks from the system's suite (27 controls,
|
| 60 |
9 adversarial), grouped by category, including a Business workflows
|
| 61 |
+
group (CRM record update, vendor application, lead entry) and a
|
| 62 |
+
Portal navigation group (three tasks that follow links inside a
|
| 63 |
+
multi-page CRM portal). Choose a task, choose whether
|
| 64 |
recovery is on or off, press Run. The stream shows each observation
|
| 65 |
(fresh DOM snapshot), each verified step, each failure, each recovery
|
| 66 |
(re-grounding, overlay dismissal), a screenshot after every step, and
|
|
|
|
| 68 |
recorded full-suite result is shown beside the picker, and the raw
|
| 69 |
task page itself can be opened via "View task page".
|
| 70 |
- **Evaluation** β the recorded full-suite results: recovery ON passed
|
| 71 |
+
36/36, recovery OFF passed 27/36; on the adversarial tasks, 9/9 with
|
| 72 |
recovery on versus 0/9 with it off. The view reads the system's own
|
| 73 |
run files (`results/run_on.json`, `results/run_off.json`) at request
|
| 74 |
time β no number is hand-entered, and the recorded suite runs are
|
|
|
|
| 102 |
|
| 103 |
Boots the real server on a scratch port and verifies over HTTP: the
|
| 104 |
Evaluation payload matches the recorded run files (recomputed
|
| 105 |
+
independently in the test), the catalogue lists all 36 tasks, and two
|
| 106 |
live runs are executed end to end β `adversarial_rename_under_overlay`
|
| 107 |
passes with exactly 2 recoveries and 5 attempts (the recorded
|
| 108 |
behaviour), and the control task `login` passes with 0 recoveries.
|
tests/test_app.py
CHANGED
|
@@ -6,7 +6,7 @@ Boots the real server on a scratch port, then verifies over HTTP:
|
|
| 6 |
1. /api/evaluation matches the system's recorded run files exactly
|
| 7 |
(results/run_on.json / results/run_off.json, read independently
|
| 8 |
here from the system directory).
|
| 9 |
-
2. /api/tasks lists all
|
| 10 |
adversarial_rename_under_overlay.
|
| 11 |
3. A live SSE run of adversarial_rename_under_overlay (recovery on)
|
| 12 |
passes with exactly 2 recoveries and 5 attempts β the recorded
|
|
@@ -103,7 +103,7 @@ def main():
|
|
| 103 |
ev["summary"]["on"]["adversarial"] == {"passed": adv_on, "total": n_adv}
|
| 104 |
and ev["summary"]["off"]["adversarial"] == {"passed": adv_off, "total": n_adv},
|
| 105 |
f"on {adv_on}/{n_adv}, off {adv_off}/{n_adv}")
|
| 106 |
-
check("per-task rows", len(ev["tasks"]) == on["total"] ==
|
| 107 |
key = next(t for t in ev["tasks"]
|
| 108 |
if t["task"] == "adversarial_rename_under_overlay")
|
| 109 |
key_file = next(r for r in on["tasks"]
|
|
@@ -115,7 +115,7 @@ def main():
|
|
| 115 |
|
| 116 |
# 2. task catalogue
|
| 117 |
cat = get_json("/api/tasks")["tasks"]
|
| 118 |
-
check("catalogue lists
|
| 119 |
check("catalogue includes key task",
|
| 120 |
any(t["name"] == "adversarial_rename_under_overlay" for t in cat))
|
| 121 |
|
|
|
|
| 6 |
1. /api/evaluation matches the system's recorded run files exactly
|
| 7 |
(results/run_on.json / results/run_off.json, read independently
|
| 8 |
here from the system directory).
|
| 9 |
+
2. /api/tasks lists all 36 tasks, including
|
| 10 |
adversarial_rename_under_overlay.
|
| 11 |
3. A live SSE run of adversarial_rename_under_overlay (recovery on)
|
| 12 |
passes with exactly 2 recoveries and 5 attempts β the recorded
|
|
|
|
| 103 |
ev["summary"]["on"]["adversarial"] == {"passed": adv_on, "total": n_adv}
|
| 104 |
and ev["summary"]["off"]["adversarial"] == {"passed": adv_off, "total": n_adv},
|
| 105 |
f"on {adv_on}/{n_adv}, off {adv_off}/{n_adv}")
|
| 106 |
+
check("per-task rows", len(ev["tasks"]) == on["total"] == 36)
|
| 107 |
key = next(t for t in ev["tasks"]
|
| 108 |
if t["task"] == "adversarial_rename_under_overlay")
|
| 109 |
key_file = next(r for r in on["tasks"]
|
|
|
|
| 115 |
|
| 116 |
# 2. task catalogue
|
| 117 |
cat = get_json("/api/tasks")["tasks"]
|
| 118 |
+
check("catalogue lists 36 tasks", len(cat) == 36)
|
| 119 |
check("catalogue includes key task",
|
| 120 |
any(t["name"] == "adversarial_rename_under_overlay" for t in cat))
|
| 121 |
|