Record cold-download validation and CLI/OpenEnv smoke results
Browse files- README.md +2 -2
- reports/cold-download.json +9 -0
- reports/cold-openenv-smoke.json +159 -0
- reports/validation-summary.json +24 -1
- src/agentescape_port/testing.py +12 -0
README.md
CHANGED
|
@@ -50,7 +50,7 @@ from huggingface_hub import snapshot_download
|
|
| 50 |
snapshot_download(
|
| 51 |
repo_id="edbeeching/AgentEscapeBench-harbor",
|
| 52 |
repo_type="dataset",
|
| 53 |
-
revision="
|
| 54 |
local_dir="./agentescape-snapshot",
|
| 55 |
allow_patterns=["tasks/**"],
|
| 56 |
)
|
|
@@ -127,7 +127,7 @@ uv run python tests/openenv_smoke.py
|
|
| 127 |
uv run harbor run -p pilot-tasks -a agentescape_port.testing:ForgeAgent --env docker -n 2
|
| 128 |
```
|
| 129 |
|
| 130 |
-
See `reports/` for measured results and scope. Corpus validation covers all 270 scenarios and all 33 tool templates through the upstream-backed facade, with Python actions in Docker. It is not 270 independent Harbor container trials. Full Harbor and OpenEnv pilot trials separately test their lifecycle and verifier paths. The forgery agent must receive reward 0.
|
| 131 |
|
| 132 |
Do not treat the original scenarios as independent training and test splits. This release retains the original evaluation corpus and difficulty groups.
|
| 133 |
|
|
|
|
| 50 |
snapshot_download(
|
| 51 |
repo_id="edbeeching/AgentEscapeBench-harbor",
|
| 52 |
repo_type="dataset",
|
| 53 |
+
revision="10499427e61ddd71f02c3c59995a12923f87d6e0",
|
| 54 |
local_dir="./agentescape-snapshot",
|
| 55 |
allow_patterns=["tasks/**"],
|
| 56 |
)
|
|
|
|
| 127 |
uv run harbor run -p pilot-tasks -a agentescape_port.testing:ForgeAgent --env docker -n 2
|
| 128 |
```
|
| 129 |
|
| 130 |
+
See `reports/validation-summary.json` for measured results and scope. A cold download of revision `10499427e61ddd71f02c3c59995a12923f87d6e0` matched all 6,481 task-file hashes, exposed all 270 tasks, and passed both OpenEnv/Harbor pilots with scripted text capture. Those cold pilots also checked the agent CLI, invalid-node feedback, and incorrect-answer retries. Corpus validation covers all 270 scenarios and all 33 tool templates through the upstream-backed facade, with Python actions in Docker. It is not 270 independent Harbor container trials. Full Harbor and OpenEnv pilot trials separately test their lifecycle and verifier paths. The forgery agent must receive reward 0.
|
| 131 |
|
| 132 |
Do not treat the original scenarios as independent training and test splits. This release retains the original evaluation corpus and difficulty groups.
|
| 133 |
|
reports/cold-download.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"repo_id": "edbeeching/AgentEscapeBench-harbor",
|
| 3 |
+
"revision": "10499427e61ddd71f02c3c59995a12923f87d6e0",
|
| 4 |
+
"private": true,
|
| 5 |
+
"task_count": 270,
|
| 6 |
+
"files_hash_verified": 6481,
|
| 7 |
+
"snapshot_path": "/home/edward/work/env-tests/agentescapebench-port/hf-validation/10499427e61ddd71f02c3c59995a12923f87d6e0",
|
| 8 |
+
"all_files_real": true
|
| 9 |
+
}
|
reports/cold-openenv-smoke.json
ADDED
|
@@ -0,0 +1,159 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"scope": "Real OpenEnv task discovery, run_rollout and text capture using a scripted localhost endpoint, followed by public-action oracle. No paid model or token/logprob validation.",
|
| 3 |
+
"results": [
|
| 4 |
+
{
|
| 5 |
+
"task_id": "hf-validation/10499427e61ddd71f02c3c59995a12923f87d6e0/tasks/agentescape-25-skeleton-1198101b",
|
| 6 |
+
"task_name": "agentescape-25-skeleton-1198101b",
|
| 7 |
+
"dataset": "hf-validation/10499427e61ddd71f02c3c59995a12923f87d6e0/tasks",
|
| 8 |
+
"harness": "oracle",
|
| 9 |
+
"sandbox": "docker",
|
| 10 |
+
"trial_name": "oe-agentescape-25-skeleton-1198-6ea522bc",
|
| 11 |
+
"session_id": "s26cacb65c1a37e0d2e6f8b2f",
|
| 12 |
+
"reward": 1.0,
|
| 13 |
+
"rewards": {
|
| 14 |
+
"reward": 1.0
|
| 15 |
+
},
|
| 16 |
+
"reward_key": "reward",
|
| 17 |
+
"step_results": [],
|
| 18 |
+
"rollout_type": "eval",
|
| 19 |
+
"capture_level": "text",
|
| 20 |
+
"param_fixes": [],
|
| 21 |
+
"turns": [
|
| 22 |
+
{
|
| 23 |
+
"turn": 0,
|
| 24 |
+
"role": "agent",
|
| 25 |
+
"finish_reason": "stop",
|
| 26 |
+
"prompt_token_ids": [],
|
| 27 |
+
"completion_token_ids": [],
|
| 28 |
+
"per_token_logps": [],
|
| 29 |
+
"loss_mask": [],
|
| 30 |
+
"node_id": "ac2f041b9ffd",
|
| 31 |
+
"n_tools": 0,
|
| 32 |
+
"discarded": false,
|
| 33 |
+
"trainable": false,
|
| 34 |
+
"sampling_params": {},
|
| 35 |
+
"requested_sampling_params": {},
|
| 36 |
+
"text": "Validation acknowledged.",
|
| 37 |
+
"tool_calls": [],
|
| 38 |
+
"request_messages": [
|
| 39 |
+
{
|
| 40 |
+
"role": "user",
|
| 41 |
+
"content": "Acknowledge this lifecycle validation."
|
| 42 |
+
}
|
| 43 |
+
],
|
| 44 |
+
"request_tools": null
|
| 45 |
+
}
|
| 46 |
+
],
|
| 47 |
+
"conversations": [
|
| 48 |
+
{
|
| 49 |
+
"root_id": "ac2f041b9ffd",
|
| 50 |
+
"role": "agent",
|
| 51 |
+
"n_turns": 1,
|
| 52 |
+
"messages": [
|
| 53 |
+
{
|
| 54 |
+
"role": "user",
|
| 55 |
+
"content": "Acknowledge this lifecycle validation."
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"role": "assistant",
|
| 59 |
+
"content": "Validation acknowledged."
|
| 60 |
+
}
|
| 61 |
+
]
|
| 62 |
+
}
|
| 63 |
+
],
|
| 64 |
+
"n_turns": 1,
|
| 65 |
+
"n_roots": 1,
|
| 66 |
+
"budget_stop_count": 0,
|
| 67 |
+
"n_trainable_tokens": 0,
|
| 68 |
+
"multi_turn": false,
|
| 69 |
+
"atif": "none",
|
| 70 |
+
"trace_source": "",
|
| 71 |
+
"findings": [
|
| 72 |
+
"[WARN] degenerate_rollout: exactly 1 model call for the whole task; inspect the agent log if this was unexpected. Valid captured tokens remain eligible for training."
|
| 73 |
+
],
|
| 74 |
+
"wall_s": 33.17,
|
| 75 |
+
"phase_timings": {},
|
| 76 |
+
"agent_log_tail": "",
|
| 77 |
+
"ok": true,
|
| 78 |
+
"error": null,
|
| 79 |
+
"exception_type": null
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"task_id": "hf-validation/10499427e61ddd71f02c3c59995a12923f87d6e0/tasks/agentescape-5-skeleton-032856e7",
|
| 83 |
+
"task_name": "agentescape-5-skeleton-032856e7",
|
| 84 |
+
"dataset": "hf-validation/10499427e61ddd71f02c3c59995a12923f87d6e0/tasks",
|
| 85 |
+
"harness": "oracle",
|
| 86 |
+
"sandbox": "docker",
|
| 87 |
+
"trial_name": "oe-agentescape-5-skeleton-03285-8269eb25",
|
| 88 |
+
"session_id": "s0b470710a35c56fe8f4e9a45",
|
| 89 |
+
"reward": 1.0,
|
| 90 |
+
"rewards": {
|
| 91 |
+
"reward": 1.0
|
| 92 |
+
},
|
| 93 |
+
"reward_key": "reward",
|
| 94 |
+
"step_results": [],
|
| 95 |
+
"rollout_type": "eval",
|
| 96 |
+
"capture_level": "text",
|
| 97 |
+
"param_fixes": [],
|
| 98 |
+
"turns": [
|
| 99 |
+
{
|
| 100 |
+
"turn": 0,
|
| 101 |
+
"role": "agent",
|
| 102 |
+
"finish_reason": "stop",
|
| 103 |
+
"prompt_token_ids": [],
|
| 104 |
+
"completion_token_ids": [],
|
| 105 |
+
"per_token_logps": [],
|
| 106 |
+
"loss_mask": [],
|
| 107 |
+
"node_id": "2c4625363418",
|
| 108 |
+
"n_tools": 0,
|
| 109 |
+
"discarded": false,
|
| 110 |
+
"trainable": false,
|
| 111 |
+
"sampling_params": {},
|
| 112 |
+
"requested_sampling_params": {},
|
| 113 |
+
"text": "Validation acknowledged.",
|
| 114 |
+
"tool_calls": [],
|
| 115 |
+
"request_messages": [
|
| 116 |
+
{
|
| 117 |
+
"role": "user",
|
| 118 |
+
"content": "Acknowledge this lifecycle validation."
|
| 119 |
+
}
|
| 120 |
+
],
|
| 121 |
+
"request_tools": null
|
| 122 |
+
}
|
| 123 |
+
],
|
| 124 |
+
"conversations": [
|
| 125 |
+
{
|
| 126 |
+
"root_id": "2c4625363418",
|
| 127 |
+
"role": "agent",
|
| 128 |
+
"n_turns": 1,
|
| 129 |
+
"messages": [
|
| 130 |
+
{
|
| 131 |
+
"role": "user",
|
| 132 |
+
"content": "Acknowledge this lifecycle validation."
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"role": "assistant",
|
| 136 |
+
"content": "Validation acknowledged."
|
| 137 |
+
}
|
| 138 |
+
]
|
| 139 |
+
}
|
| 140 |
+
],
|
| 141 |
+
"n_turns": 1,
|
| 142 |
+
"n_roots": 1,
|
| 143 |
+
"budget_stop_count": 0,
|
| 144 |
+
"n_trainable_tokens": 0,
|
| 145 |
+
"multi_turn": false,
|
| 146 |
+
"atif": "none",
|
| 147 |
+
"trace_source": "",
|
| 148 |
+
"findings": [
|
| 149 |
+
"[WARN] degenerate_rollout: exactly 1 model call for the whole task; inspect the agent log if this was unexpected. Valid captured tokens remain eligible for training."
|
| 150 |
+
],
|
| 151 |
+
"wall_s": 31.51,
|
| 152 |
+
"phase_timings": {},
|
| 153 |
+
"agent_log_tail": "",
|
| 154 |
+
"ok": true,
|
| 155 |
+
"error": null,
|
| 156 |
+
"exception_type": null
|
| 157 |
+
}
|
| 158 |
+
]
|
| 159 |
+
}
|
reports/validation-summary.json
CHANGED
|
@@ -74,5 +74,28 @@
|
|
| 74 |
"Action budget differs from upstream model-turn budget.",
|
| 75 |
"Agent egress remains available; no contamination-resistance claim.",
|
| 76 |
"Upstream README declares MIT but original LICENSE notice is missing."
|
| 77 |
-
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
}
|
|
|
|
| 74 |
"Action budget differs from upstream model-turn budget.",
|
| 75 |
"Agent egress remains available; no contamination-resistance claim.",
|
| 76 |
"Upstream README declares MIT but original LICENSE notice is missing."
|
| 77 |
+
],
|
| 78 |
+
"cold_download": {
|
| 79 |
+
"repo_id": "edbeeching/AgentEscapeBench-harbor",
|
| 80 |
+
"revision": "10499427e61ddd71f02c3c59995a12923f87d6e0",
|
| 81 |
+
"private": true,
|
| 82 |
+
"task_count": 270,
|
| 83 |
+
"files_hash_verified": 6481,
|
| 84 |
+
"snapshot_path": "/home/edward/work/env-tests/agentescapebench-port/hf-validation/10499427e61ddd71f02c3c59995a12923f87d6e0",
|
| 85 |
+
"all_files_real": true
|
| 86 |
+
},
|
| 87 |
+
"cold_openenv_harbor": {
|
| 88 |
+
"passed": 2,
|
| 89 |
+
"total": 2,
|
| 90 |
+
"rewards": [
|
| 91 |
+
1.0,
|
| 92 |
+
1.0
|
| 93 |
+
],
|
| 94 |
+
"captured_turns": [
|
| 95 |
+
1,
|
| 96 |
+
1
|
| 97 |
+
],
|
| 98 |
+
"cli_observation_invalid_node_and_wrong_answer_checked": true,
|
| 99 |
+
"scope": "Real OpenEnv task discovery, run_rollout and text capture using a scripted localhost endpoint, followed by public-action oracle. No paid model or token/logprob validation."
|
| 100 |
+
}
|
| 101 |
}
|
src/agentescape_port/testing.py
CHANGED
|
@@ -42,6 +42,18 @@ class CaptureOracleAgent(OracleAgent):
|
|
| 42 |
assert json.load(response)["choices"]
|
| 43 |
|
| 44 |
await asyncio.to_thread(call)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
await super().run(instruction, environment, context)
|
| 46 |
|
| 47 |
|
|
|
|
| 42 |
assert json.load(response)["choices"]
|
| 43 |
|
| 44 |
await asyncio.to_thread(call)
|
| 45 |
+
# Exercise the public CLI in the actual agent container as well as the oracle's HTTP path.
|
| 46 |
+
observation = await environment.exec(command="escape observe")
|
| 47 |
+
assert observation.return_code == 0
|
| 48 |
+
assert "available_entities" in json.loads(observation.stdout)
|
| 49 |
+
invalid = await environment.exec(
|
| 50 |
+
command="escape investigate __aeb_nonexistent_node__"
|
| 51 |
+
)
|
| 52 |
+
assert invalid.return_code == 0 and not json.loads(invalid.stdout)["ok"]
|
| 53 |
+
wrong = await environment.exec(
|
| 54 |
+
command="escape submit-answer __aeb_incorrect_answer__"
|
| 55 |
+
)
|
| 56 |
+
assert wrong.return_code == 0 and not json.loads(wrong.stdout)["is_win"]
|
| 57 |
await super().run(instruction, environment, context)
|
| 58 |
|
| 59 |
|