Update adapter with restricted verifier operations and regression checks
Browse files- .github/workflows/publish.yml +4 -4
- README.md +4 -4
- evidence/anonymous-format-code-task-001661.json +166 -0
- evidence/format-code-task-000636.json +5 -4
- evidence/format-code-task-000666.json +6 -5
- evidence/format-code-task-000932.json +6 -5
- evidence/format-code-task-001457.json +5 -4
- evidence/format-code-task-001547.json +6 -5
- evidence/format-code-task-001661.json +4 -3
- evidence/format-code-task-002105.json +5 -4
- evidence/format-code-task-002658.json +5 -4
- evidence/provenance.json +45 -0
- evidence/unsolved-verifier-output.json +10 -0
- prepare.py +1 -1
- server.py +15 -3
- verify.py +7 -0
.github/workflows/publish.yml
CHANGED
|
@@ -25,7 +25,7 @@ jobs:
|
|
| 25 |
runs-on: ubuntu-latest
|
| 26 |
strategy:
|
| 27 |
fail-fast: false
|
| 28 |
-
max-parallel:
|
| 29 |
matrix: ${{ fromJSON(needs.matrix.outputs.tasks) }}
|
| 30 |
steps:
|
| 31 |
- uses: actions/checkout@v4
|
|
@@ -39,14 +39,14 @@ jobs:
|
|
| 39 |
TASK_ID: ${{ matrix.task_id }}
|
| 40 |
TASK_IMAGE: ${{ matrix.source_image }}
|
| 41 |
DOCKER_DEFAULT_PLATFORM: linux/amd64
|
| 42 |
-
run: openenv build -t "ghcr.io/akseljoonas/mimo-openenv-software:${TASK_ID}-
|
| 43 |
- name: Replay real episodes
|
| 44 |
env:
|
| 45 |
TASK_ID: ${{ matrix.task_id }}
|
| 46 |
run: |
|
| 47 |
solution=()
|
| 48 |
if [[ "$TASK_ID" == format-code-task-001661 ]]; then solution=(--solution solutions/friendship.py); fi
|
| 49 |
-
python verify.py "ghcr.io/akseljoonas/mimo-openenv-software:${TASK_ID}-
|
| 50 |
- uses: actions/upload-artifact@v4
|
| 51 |
if: always()
|
| 52 |
with:
|
|
@@ -60,4 +60,4 @@ jobs:
|
|
| 60 |
- name: Publish verified image
|
| 61 |
env:
|
| 62 |
TASK_ID: ${{ matrix.task_id }}
|
| 63 |
-
run: docker push "ghcr.io/akseljoonas/mimo-openenv-software:${TASK_ID}-
|
|
|
|
| 25 |
runs-on: ubuntu-latest
|
| 26 |
strategy:
|
| 27 |
fail-fast: false
|
| 28 |
+
max-parallel: 4
|
| 29 |
matrix: ${{ fromJSON(needs.matrix.outputs.tasks) }}
|
| 30 |
steps:
|
| 31 |
- uses: actions/checkout@v4
|
|
|
|
| 39 |
TASK_ID: ${{ matrix.task_id }}
|
| 40 |
TASK_IMAGE: ${{ matrix.source_image }}
|
| 41 |
DOCKER_DEFAULT_PLATFORM: linux/amd64
|
| 42 |
+
run: openenv build -t "ghcr.io/akseljoonas/mimo-openenv-software:${TASK_ID}-v2" --build-arg "TASK_ID=$TASK_ID" --build-arg "TASK_IMAGE=$TASK_IMAGE"
|
| 43 |
- name: Replay real episodes
|
| 44 |
env:
|
| 45 |
TASK_ID: ${{ matrix.task_id }}
|
| 46 |
run: |
|
| 47 |
solution=()
|
| 48 |
if [[ "$TASK_ID" == format-code-task-001661 ]]; then solution=(--solution solutions/friendship.py); fi
|
| 49 |
+
python verify.py "ghcr.io/akseljoonas/mimo-openenv-software:${TASK_ID}-v2" "$TASK_ID" "${solution[@]}" --output "evidence/${TASK_ID}.json"
|
| 50 |
- uses: actions/upload-artifact@v4
|
| 51 |
if: always()
|
| 52 |
with:
|
|
|
|
| 60 |
- name: Publish verified image
|
| 61 |
env:
|
| 62 |
TASK_ID: ${{ matrix.task_id }}
|
| 63 |
+
run: docker push "ghcr.io/akseljoonas/mimo-openenv-software:${TASK_ID}-v2"
|
README.md
CHANGED
|
@@ -27,9 +27,9 @@ Dataset: https://huggingface.co/datasets/akseljoonas/mimo-openenv-software
|
|
| 27 |
|
| 28 |
## Runtime contract
|
| 29 |
|
| 30 |
-
Each task has a separate public `linux/amd64` image tagged `ghcr.io/akseljoonas/mimo-openenv-software:TASK_ID-
|
| 31 |
|
| 32 |
-
Reset restores the repository snapshot. Shell actions start in the task's original working directory, run as UID 2000, last at most 60 seconds, and return at most 12,000 output bytes. `finish` invokes Xiaomi's original verifier and returns `done: true`; reaching 64 actions also grades. A terminal session returns its cached verdict until reset. Tests are installed only while grading.
|
| 33 |
|
| 34 |
Build preparation uses Xiaomi's existing Git-history stripping routine, then its setup assertion, before snapshotting the repository. This removes reachable future fixes present in some original images. Existing task files and grading code are not rewritten. The adapter has its own Python runtime so task dependencies remain intact.
|
| 35 |
|
|
@@ -48,7 +48,7 @@ Install the pinned OpenEnv CLI. For a row in `tasks.jsonl`:
|
|
| 48 |
|
| 49 |
```sh
|
| 50 |
export DOCKER_DEFAULT_PLATFORM=linux/amd64
|
| 51 |
-
openenv build -t ghcr.io/akseljoonas/mimo-openenv-software:TASK_ID-
|
| 52 |
--build-arg TASK_ID=TASK_ID --build-arg TASK_IMAGE=SOURCE_IMAGE_DIGEST
|
| 53 |
python verify.py IMAGE TASK_ID --output evidence/TASK_ID.json
|
| 54 |
```
|
|
@@ -59,4 +59,4 @@ The `Publish images` GitHub workflow builds, tests and publishes the selected im
|
|
| 59 |
|
| 60 |
## Status
|
| 61 |
|
| 62 |
-
|
|
|
|
| 27 |
|
| 28 |
## Runtime contract
|
| 29 |
|
| 30 |
+
Each task has a separate public `linux/amd64` image tagged `ghcr.io/akseljoonas/mimo-openenv-software:TASK_ID-v2`. The image starts its own OpenEnv server on port 8000 without mounted files, secrets or additional environment variables. Use an OpenEnv WebSocket session at `/ws`: `reset` accepts `task_id`; `step` accepts `{"operation":"shell","command":"..."}` or `{"operation":"finish"}`. Standalone HTTP `/reset` and `/step` are stateless in the pinned OpenEnv release.
|
| 31 |
|
| 32 |
+
Reset restores the repository snapshot. Shell actions start in the task's original working directory, run as UID 2000, last at most 60 seconds, and return at most 12,000 output bytes. `finish` invokes Xiaomi's original verifier and returns `done: true`; reaching 64 actions also grades. A terminal session returns its cached verdict until reset. Tests are installed only while grading. All runtime verifier commands and patch writes also run as UID 2000; the server and stored task record are inaccessible to that user. This is not a security boundary against every possible reward exploit in arbitrary upstream repositories.
|
| 33 |
|
| 34 |
Build preparation uses Xiaomi's existing Git-history stripping routine, then its setup assertion, before snapshotting the repository. This removes reachable future fixes present in some original images. Existing task files and grading code are not rewritten. The adapter has its own Python runtime so task dependencies remain intact.
|
| 35 |
|
|
|
|
| 48 |
|
| 49 |
```sh
|
| 50 |
export DOCKER_DEFAULT_PLATFORM=linux/amd64
|
| 51 |
+
openenv build -t ghcr.io/akseljoonas/mimo-openenv-software:TASK_ID-v2 \
|
| 52 |
--build-arg TASK_ID=TASK_ID --build-arg TASK_IMAGE=SOURCE_IMAGE_DIGEST
|
| 53 |
python verify.py IMAGE TASK_ID --output evidence/TASK_ID.json
|
| 54 |
```
|
|
|
|
| 59 |
|
| 60 |
## Status
|
| 61 |
|
| 62 |
+
The initial eight images passed local endpoint and episode checks, with a Django reference repair scoring 1. Revision v2 addresses a verifier privilege issue found in final review; rebuild and regression verification are in progress. Do not submit v1 images. No Arena submission or training run has been started.
|
evidence/anonymous-format-code-task-001661.json
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"image": "ghcr.io/akseljoonas/mimo-openenv-software@sha256:a62d14fd21422a966cb6c412f771670e25c9c271658c42d493c711bdbd1c480f",
|
| 3 |
+
"task_id": "format-code-task-001661",
|
| 4 |
+
"checks": [
|
| 5 |
+
"health_within_120_seconds",
|
| 6 |
+
"openenv_endpoint_validation",
|
| 7 |
+
"reset_task_identity",
|
| 8 |
+
"unprivileged_agent_and_protected_verifier",
|
| 9 |
+
"no_future_git_history",
|
| 10 |
+
"unsolved_terminal_reward_zero",
|
| 11 |
+
"terminal_reward_is_stable",
|
| 12 |
+
"reset_removes_previous_edits",
|
| 13 |
+
"reference_repair_applied_through_action",
|
| 14 |
+
"reference_terminal_reward_one",
|
| 15 |
+
"reset_restores_unsolved_task"
|
| 16 |
+
],
|
| 17 |
+
"ready_seconds": 3.04,
|
| 18 |
+
"schema": {
|
| 19 |
+
"action": {
|
| 20 |
+
"additionalProperties": false,
|
| 21 |
+
"properties": {
|
| 22 |
+
"metadata": {
|
| 23 |
+
"additionalProperties": true,
|
| 24 |
+
"description": "Additional metadata for the action",
|
| 25 |
+
"title": "Metadata",
|
| 26 |
+
"type": "object"
|
| 27 |
+
},
|
| 28 |
+
"operation": {
|
| 29 |
+
"description": "Run a bash command or finish and grade the repository.",
|
| 30 |
+
"enum": [
|
| 31 |
+
"shell",
|
| 32 |
+
"finish"
|
| 33 |
+
],
|
| 34 |
+
"title": "Operation",
|
| 35 |
+
"type": "string"
|
| 36 |
+
},
|
| 37 |
+
"command": {
|
| 38 |
+
"default": "",
|
| 39 |
+
"description": "Bash command; each call starts in the task repository.",
|
| 40 |
+
"maxLength": 16000,
|
| 41 |
+
"title": "Command",
|
| 42 |
+
"type": "string"
|
| 43 |
+
}
|
| 44 |
+
},
|
| 45 |
+
"required": [
|
| 46 |
+
"operation"
|
| 47 |
+
],
|
| 48 |
+
"title": "ShellAction",
|
| 49 |
+
"type": "object"
|
| 50 |
+
},
|
| 51 |
+
"observation": {
|
| 52 |
+
"additionalProperties": false,
|
| 53 |
+
"properties": {
|
| 54 |
+
"done": {
|
| 55 |
+
"default": false,
|
| 56 |
+
"description": "Whether the episode has terminated",
|
| 57 |
+
"title": "Done",
|
| 58 |
+
"type": "boolean"
|
| 59 |
+
},
|
| 60 |
+
"reward": {
|
| 61 |
+
"anyOf": [
|
| 62 |
+
{
|
| 63 |
+
"type": "boolean"
|
| 64 |
+
},
|
| 65 |
+
{
|
| 66 |
+
"type": "integer"
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"type": "number"
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "null"
|
| 73 |
+
}
|
| 74 |
+
],
|
| 75 |
+
"default": null,
|
| 76 |
+
"description": "Reward signal from the last action",
|
| 77 |
+
"title": "Reward"
|
| 78 |
+
},
|
| 79 |
+
"metadata": {
|
| 80 |
+
"additionalProperties": true,
|
| 81 |
+
"description": "Additional metadata for the observation",
|
| 82 |
+
"title": "Metadata",
|
| 83 |
+
"type": "object"
|
| 84 |
+
},
|
| 85 |
+
"task_id": {
|
| 86 |
+
"title": "Task Id",
|
| 87 |
+
"type": "string"
|
| 88 |
+
},
|
| 89 |
+
"output": {
|
| 90 |
+
"maxLength": 16000,
|
| 91 |
+
"title": "Output",
|
| 92 |
+
"type": "string"
|
| 93 |
+
},
|
| 94 |
+
"exit_code": {
|
| 95 |
+
"anyOf": [
|
| 96 |
+
{
|
| 97 |
+
"type": "integer"
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"type": "null"
|
| 101 |
+
}
|
| 102 |
+
],
|
| 103 |
+
"default": null,
|
| 104 |
+
"title": "Exit Code"
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
"required": [
|
| 108 |
+
"task_id",
|
| 109 |
+
"output"
|
| 110 |
+
],
|
| 111 |
+
"title": "ShellObservation",
|
| 112 |
+
"type": "object"
|
| 113 |
+
},
|
| 114 |
+
"state": {
|
| 115 |
+
"additionalProperties": true,
|
| 116 |
+
"description": "Base class for environment state.\n\nRepresents internal environment state, separate from observations.",
|
| 117 |
+
"properties": {
|
| 118 |
+
"episode_id": {
|
| 119 |
+
"anyOf": [
|
| 120 |
+
{
|
| 121 |
+
"type": "string"
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"type": "null"
|
| 125 |
+
}
|
| 126 |
+
],
|
| 127 |
+
"default": null,
|
| 128 |
+
"description": "Unique identifier for the current episode",
|
| 129 |
+
"title": "Episode Id"
|
| 130 |
+
},
|
| 131 |
+
"step_count": {
|
| 132 |
+
"default": 0,
|
| 133 |
+
"description": "Number of steps taken in the current episode",
|
| 134 |
+
"minimum": 0,
|
| 135 |
+
"title": "Step Count",
|
| 136 |
+
"type": "integer"
|
| 137 |
+
}
|
| 138 |
+
},
|
| 139 |
+
"title": "State",
|
| 140 |
+
"type": "object"
|
| 141 |
+
}
|
| 142 |
+
},
|
| 143 |
+
"openenv_validation": "Validation report for http://127.0.0.1:53395 (profile: openenv-http/1.x)\n standard version: 1.0.0 \u00b7 mode: simulation\n PASS openapi_version_available\n PASS health_endpoint\n PASS metadata_endpoint\n PASS schema_endpoint\n PASS mcp_endpoint\n PASS mode_endpoint_consistency\nVerdict: PASS\n",
|
| 144 |
+
"unsolved_result": {
|
| 145 |
+
"observation": {
|
| 146 |
+
"metadata": {},
|
| 147 |
+
"task_id": "format-code-task-001661",
|
| 148 |
+
"output": "Original MiMo verifier completed.",
|
| 149 |
+
"exit_code": 2
|
| 150 |
+
},
|
| 151 |
+
"reward": 0.0,
|
| 152 |
+
"done": true
|
| 153 |
+
},
|
| 154 |
+
"reference_result": {
|
| 155 |
+
"observation": {
|
| 156 |
+
"metadata": {},
|
| 157 |
+
"task_id": "format-code-task-001661",
|
| 158 |
+
"output": "Original MiMo verifier completed.",
|
| 159 |
+
"exit_code": 0
|
| 160 |
+
},
|
| 161 |
+
"reward": 1.0,
|
| 162 |
+
"done": true
|
| 163 |
+
},
|
| 164 |
+
"passed": true,
|
| 165 |
+
"container_logs": "INFO: Started server process [1]\nINFO: Waiting for application startup.\nINFO: Application startup complete.\nINFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)\nINFO: 172.17.0.1:59942 - \"WebSocket /ws\" [accepted]\nINFO: connection open\n"
|
| 166 |
+
}
|
evidence/format-code-task-000636.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"image": "ghcr.io/akseljoonas/mimo-openenv-software:format-code-task-000636-
|
| 3 |
"task_id": "format-code-task-000636",
|
| 4 |
"checks": [
|
| 5 |
"health_within_120_seconds",
|
|
@@ -9,7 +9,8 @@
|
|
| 9 |
"no_future_git_history",
|
| 10 |
"unsolved_terminal_reward_zero",
|
| 11 |
"terminal_reward_is_stable",
|
| 12 |
-
"reset_removes_previous_edits"
|
|
|
|
| 13 |
],
|
| 14 |
"ready_seconds": 3.03,
|
| 15 |
"schema": {
|
|
@@ -137,7 +138,7 @@
|
|
| 137 |
"type": "object"
|
| 138 |
}
|
| 139 |
},
|
| 140 |
-
"openenv_validation": "Validation report for http://127.0.0.1:
|
| 141 |
"unsolved_result": {
|
| 142 |
"observation": {
|
| 143 |
"metadata": {},
|
|
@@ -149,5 +150,5 @@
|
|
| 149 |
"done": true
|
| 150 |
},
|
| 151 |
"passed": true,
|
| 152 |
-
"container_logs": "INFO: Started server process [1]\nINFO: Waiting for application startup.\nINFO: Application startup complete.\nINFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)\nINFO: 172.17.0.1:
|
| 153 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"image": "ghcr.io/akseljoonas/mimo-openenv-software:format-code-task-000636-v2",
|
| 3 |
"task_id": "format-code-task-000636",
|
| 4 |
"checks": [
|
| 5 |
"health_within_120_seconds",
|
|
|
|
| 9 |
"no_future_git_history",
|
| 10 |
"unsolved_terminal_reward_zero",
|
| 11 |
"terminal_reward_is_stable",
|
| 12 |
+
"reset_removes_previous_edits",
|
| 13 |
+
"verifier_git_hooks_are_unprivileged"
|
| 14 |
],
|
| 15 |
"ready_seconds": 3.03,
|
| 16 |
"schema": {
|
|
|
|
| 138 |
"type": "object"
|
| 139 |
}
|
| 140 |
},
|
| 141 |
+
"openenv_validation": "Validation report for http://127.0.0.1:53983 (profile: openenv-http/1.x)\n standard version: 1.0.0 \u00b7 mode: simulation\n PASS openapi_version_available\n PASS health_endpoint\n PASS metadata_endpoint\n PASS schema_endpoint\n PASS mcp_endpoint\n PASS mode_endpoint_consistency\nVerdict: PASS\n",
|
| 142 |
"unsolved_result": {
|
| 143 |
"observation": {
|
| 144 |
"metadata": {},
|
|
|
|
| 150 |
"done": true
|
| 151 |
},
|
| 152 |
"passed": true,
|
| 153 |
+
"container_logs": "INFO: Started server process [1]\nINFO: Waiting for application startup.\nINFO: Application startup complete.\nINFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)\nINFO: 172.17.0.1:59272 - \"WebSocket /ws\" [accepted]\nINFO: connection open\n"
|
| 154 |
}
|
evidence/format-code-task-000666.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"image": "ghcr.io/akseljoonas/mimo-openenv-software:format-code-task-000666-
|
| 3 |
"task_id": "format-code-task-000666",
|
| 4 |
"checks": [
|
| 5 |
"health_within_120_seconds",
|
|
@@ -9,9 +9,10 @@
|
|
| 9 |
"no_future_git_history",
|
| 10 |
"unsolved_terminal_reward_zero",
|
| 11 |
"terminal_reward_is_stable",
|
| 12 |
-
"reset_removes_previous_edits"
|
|
|
|
| 13 |
],
|
| 14 |
-
"ready_seconds": 3.
|
| 15 |
"schema": {
|
| 16 |
"action": {
|
| 17 |
"additionalProperties": false,
|
|
@@ -137,7 +138,7 @@
|
|
| 137 |
"type": "object"
|
| 138 |
}
|
| 139 |
},
|
| 140 |
-
"openenv_validation": "Validation report for http://127.0.0.1:
|
| 141 |
"unsolved_result": {
|
| 142 |
"observation": {
|
| 143 |
"metadata": {},
|
|
@@ -149,5 +150,5 @@
|
|
| 149 |
"done": true
|
| 150 |
},
|
| 151 |
"passed": true,
|
| 152 |
-
"container_logs": "INFO: Started server process [1]\nINFO: Waiting for application startup.\nINFO: Application startup complete.\nINFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)\nINFO: 172.17.0.1:
|
| 153 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"image": "ghcr.io/akseljoonas/mimo-openenv-software:format-code-task-000666-v2",
|
| 3 |
"task_id": "format-code-task-000666",
|
| 4 |
"checks": [
|
| 5 |
"health_within_120_seconds",
|
|
|
|
| 9 |
"no_future_git_history",
|
| 10 |
"unsolved_terminal_reward_zero",
|
| 11 |
"terminal_reward_is_stable",
|
| 12 |
+
"reset_removes_previous_edits",
|
| 13 |
+
"verifier_git_hooks_are_unprivileged"
|
| 14 |
],
|
| 15 |
+
"ready_seconds": 3.03,
|
| 16 |
"schema": {
|
| 17 |
"action": {
|
| 18 |
"additionalProperties": false,
|
|
|
|
| 138 |
"type": "object"
|
| 139 |
}
|
| 140 |
},
|
| 141 |
+
"openenv_validation": "Validation report for http://127.0.0.1:54001 (profile: openenv-http/1.x)\n standard version: 1.0.0 \u00b7 mode: simulation\n PASS openapi_version_available\n PASS health_endpoint\n PASS metadata_endpoint\n PASS schema_endpoint\n PASS mcp_endpoint\n PASS mode_endpoint_consistency\nVerdict: PASS\n",
|
| 142 |
"unsolved_result": {
|
| 143 |
"observation": {
|
| 144 |
"metadata": {},
|
|
|
|
| 150 |
"done": true
|
| 151 |
},
|
| 152 |
"passed": true,
|
| 153 |
+
"container_logs": "INFO: Started server process [1]\nINFO: Waiting for application startup.\nINFO: Application startup complete.\nINFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)\nINFO: 172.17.0.1:61524 - \"WebSocket /ws\" [accepted]\nINFO: connection open\n"
|
| 154 |
}
|
evidence/format-code-task-000932.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"image": "ghcr.io/akseljoonas/mimo-openenv-software:format-code-task-000932-
|
| 3 |
"task_id": "format-code-task-000932",
|
| 4 |
"checks": [
|
| 5 |
"health_within_120_seconds",
|
|
@@ -9,9 +9,10 @@
|
|
| 9 |
"no_future_git_history",
|
| 10 |
"unsolved_terminal_reward_zero",
|
| 11 |
"terminal_reward_is_stable",
|
| 12 |
-
"reset_removes_previous_edits"
|
|
|
|
| 13 |
],
|
| 14 |
-
"ready_seconds": 3.
|
| 15 |
"schema": {
|
| 16 |
"action": {
|
| 17 |
"additionalProperties": false,
|
|
@@ -137,7 +138,7 @@
|
|
| 137 |
"type": "object"
|
| 138 |
}
|
| 139 |
},
|
| 140 |
-
"openenv_validation": "Validation report for http://127.0.0.1:
|
| 141 |
"unsolved_result": {
|
| 142 |
"observation": {
|
| 143 |
"metadata": {},
|
|
@@ -149,5 +150,5 @@
|
|
| 149 |
"done": true
|
| 150 |
},
|
| 151 |
"passed": true,
|
| 152 |
-
"container_logs": "INFO: Started server process [1]\nINFO: Waiting for application startup.\nINFO: Application startup complete.\nINFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)\nINFO: 172.17.0.1:
|
| 153 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"image": "ghcr.io/akseljoonas/mimo-openenv-software:format-code-task-000932-v2",
|
| 3 |
"task_id": "format-code-task-000932",
|
| 4 |
"checks": [
|
| 5 |
"health_within_120_seconds",
|
|
|
|
| 9 |
"no_future_git_history",
|
| 10 |
"unsolved_terminal_reward_zero",
|
| 11 |
"terminal_reward_is_stable",
|
| 12 |
+
"reset_removes_previous_edits",
|
| 13 |
+
"verifier_git_hooks_are_unprivileged"
|
| 14 |
],
|
| 15 |
+
"ready_seconds": 3.02,
|
| 16 |
"schema": {
|
| 17 |
"action": {
|
| 18 |
"additionalProperties": false,
|
|
|
|
| 138 |
"type": "object"
|
| 139 |
}
|
| 140 |
},
|
| 141 |
+
"openenv_validation": "Validation report for http://127.0.0.1:53946 (profile: openenv-http/1.x)\n standard version: 1.0.0 \u00b7 mode: simulation\n PASS openapi_version_available\n PASS health_endpoint\n PASS metadata_endpoint\n PASS schema_endpoint\n PASS mcp_endpoint\n PASS mode_endpoint_consistency\nVerdict: PASS\n",
|
| 142 |
"unsolved_result": {
|
| 143 |
"observation": {
|
| 144 |
"metadata": {},
|
|
|
|
| 150 |
"done": true
|
| 151 |
},
|
| 152 |
"passed": true,
|
| 153 |
+
"container_logs": "INFO: Started server process [1]\nINFO: Waiting for application startup.\nINFO: Application startup complete.\nINFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)\nINFO: 172.17.0.1:64670 - \"WebSocket /ws\" [accepted]\nINFO: connection open\n"
|
| 154 |
}
|
evidence/format-code-task-001457.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"image": "ghcr.io/akseljoonas/mimo-openenv-software:format-code-task-001457-
|
| 3 |
"task_id": "format-code-task-001457",
|
| 4 |
"checks": [
|
| 5 |
"health_within_120_seconds",
|
|
@@ -9,7 +9,8 @@
|
|
| 9 |
"no_future_git_history",
|
| 10 |
"unsolved_terminal_reward_zero",
|
| 11 |
"terminal_reward_is_stable",
|
| 12 |
-
"reset_removes_previous_edits"
|
|
|
|
| 13 |
],
|
| 14 |
"ready_seconds": 3.03,
|
| 15 |
"schema": {
|
|
@@ -137,7 +138,7 @@
|
|
| 137 |
"type": "object"
|
| 138 |
}
|
| 139 |
},
|
| 140 |
-
"openenv_validation": "Validation report for http://127.0.0.1:
|
| 141 |
"unsolved_result": {
|
| 142 |
"observation": {
|
| 143 |
"metadata": {},
|
|
@@ -149,5 +150,5 @@
|
|
| 149 |
"done": true
|
| 150 |
},
|
| 151 |
"passed": true,
|
| 152 |
-
"container_logs": "INFO: Started server process [1]\nINFO: Waiting for application startup.\nINFO: Application startup complete.\nINFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)\nINFO: 172.17.0.1:
|
| 153 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"image": "ghcr.io/akseljoonas/mimo-openenv-software:format-code-task-001457-v2",
|
| 3 |
"task_id": "format-code-task-001457",
|
| 4 |
"checks": [
|
| 5 |
"health_within_120_seconds",
|
|
|
|
| 9 |
"no_future_git_history",
|
| 10 |
"unsolved_terminal_reward_zero",
|
| 11 |
"terminal_reward_is_stable",
|
| 12 |
+
"reset_removes_previous_edits",
|
| 13 |
+
"verifier_git_hooks_are_unprivileged"
|
| 14 |
],
|
| 15 |
"ready_seconds": 3.03,
|
| 16 |
"schema": {
|
|
|
|
| 138 |
"type": "object"
|
| 139 |
}
|
| 140 |
},
|
| 141 |
+
"openenv_validation": "Validation report for http://127.0.0.1:53850 (profile: openenv-http/1.x)\n standard version: 1.0.0 \u00b7 mode: simulation\n PASS openapi_version_available\n PASS health_endpoint\n PASS metadata_endpoint\n PASS schema_endpoint\n PASS mcp_endpoint\n PASS mode_endpoint_consistency\nVerdict: PASS\n",
|
| 142 |
"unsolved_result": {
|
| 143 |
"observation": {
|
| 144 |
"metadata": {},
|
|
|
|
| 150 |
"done": true
|
| 151 |
},
|
| 152 |
"passed": true,
|
| 153 |
+
"container_logs": "INFO: Started server process [1]\nINFO: Waiting for application startup.\nINFO: Application startup complete.\nINFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)\nINFO: 172.17.0.1:61264 - \"WebSocket /ws\" [accepted]\nINFO: connection open\n"
|
| 154 |
}
|
evidence/format-code-task-001547.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"image": "ghcr.io/akseljoonas/mimo-openenv-software:format-code-task-001547-
|
| 3 |
"task_id": "format-code-task-001547",
|
| 4 |
"checks": [
|
| 5 |
"health_within_120_seconds",
|
|
@@ -9,9 +9,10 @@
|
|
| 9 |
"no_future_git_history",
|
| 10 |
"unsolved_terminal_reward_zero",
|
| 11 |
"terminal_reward_is_stable",
|
| 12 |
-
"reset_removes_previous_edits"
|
|
|
|
| 13 |
],
|
| 14 |
-
"ready_seconds": 3.
|
| 15 |
"schema": {
|
| 16 |
"action": {
|
| 17 |
"additionalProperties": false,
|
|
@@ -137,7 +138,7 @@
|
|
| 137 |
"type": "object"
|
| 138 |
}
|
| 139 |
},
|
| 140 |
-
"openenv_validation": "Validation report for http://127.0.0.1:
|
| 141 |
"unsolved_result": {
|
| 142 |
"observation": {
|
| 143 |
"metadata": {},
|
|
@@ -149,5 +150,5 @@
|
|
| 149 |
"done": true
|
| 150 |
},
|
| 151 |
"passed": true,
|
| 152 |
-
"container_logs": "INFO: Started server process [1]\nINFO: Waiting for application startup.\nINFO: Application startup complete.\nINFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)\nINFO: 172.17.0.1:
|
| 153 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"image": "ghcr.io/akseljoonas/mimo-openenv-software:format-code-task-001547-v2",
|
| 3 |
"task_id": "format-code-task-001547",
|
| 4 |
"checks": [
|
| 5 |
"health_within_120_seconds",
|
|
|
|
| 9 |
"no_future_git_history",
|
| 10 |
"unsolved_terminal_reward_zero",
|
| 11 |
"terminal_reward_is_stable",
|
| 12 |
+
"reset_removes_previous_edits",
|
| 13 |
+
"verifier_git_hooks_are_unprivileged"
|
| 14 |
],
|
| 15 |
+
"ready_seconds": 3.03,
|
| 16 |
"schema": {
|
| 17 |
"action": {
|
| 18 |
"additionalProperties": false,
|
|
|
|
| 138 |
"type": "object"
|
| 139 |
}
|
| 140 |
},
|
| 141 |
+
"openenv_validation": "Validation report for http://127.0.0.1:53925 (profile: openenv-http/1.x)\n standard version: 1.0.0 \u00b7 mode: simulation\n PASS openapi_version_available\n PASS health_endpoint\n PASS metadata_endpoint\n PASS schema_endpoint\n PASS mcp_endpoint\n PASS mode_endpoint_consistency\nVerdict: PASS\n",
|
| 142 |
"unsolved_result": {
|
| 143 |
"observation": {
|
| 144 |
"metadata": {},
|
|
|
|
| 150 |
"done": true
|
| 151 |
},
|
| 152 |
"passed": true,
|
| 153 |
+
"container_logs": "INFO: Started server process [1]\nINFO: Waiting for application startup.\nINFO: Application startup complete.\nINFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)\nINFO: 172.17.0.1:65054 - \"WebSocket /ws\" [accepted]\nINFO: connection open\n"
|
| 154 |
}
|
evidence/format-code-task-001661.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"image": "ghcr.io/akseljoonas/mimo-openenv-software:format-code-task-001661-
|
| 3 |
"task_id": "format-code-task-001661",
|
| 4 |
"checks": [
|
| 5 |
"health_within_120_seconds",
|
|
@@ -10,6 +10,7 @@
|
|
| 10 |
"unsolved_terminal_reward_zero",
|
| 11 |
"terminal_reward_is_stable",
|
| 12 |
"reset_removes_previous_edits",
|
|
|
|
| 13 |
"reference_repair_applied_through_action",
|
| 14 |
"reference_terminal_reward_one",
|
| 15 |
"reset_restores_unsolved_task"
|
|
@@ -140,7 +141,7 @@
|
|
| 140 |
"type": "object"
|
| 141 |
}
|
| 142 |
},
|
| 143 |
-
"openenv_validation": "Validation report for http://127.0.0.1:
|
| 144 |
"unsolved_result": {
|
| 145 |
"observation": {
|
| 146 |
"metadata": {},
|
|
@@ -162,5 +163,5 @@
|
|
| 162 |
"done": true
|
| 163 |
},
|
| 164 |
"passed": true,
|
| 165 |
-
"container_logs": "INFO: Started server process [1]\nINFO: Waiting for application startup.\nINFO: Application startup complete.\nINFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)\nINFO: 172.17.0.1:
|
| 166 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"image": "ghcr.io/akseljoonas/mimo-openenv-software:format-code-task-001661-v2",
|
| 3 |
"task_id": "format-code-task-001661",
|
| 4 |
"checks": [
|
| 5 |
"health_within_120_seconds",
|
|
|
|
| 10 |
"unsolved_terminal_reward_zero",
|
| 11 |
"terminal_reward_is_stable",
|
| 12 |
"reset_removes_previous_edits",
|
| 13 |
+
"verifier_git_hooks_are_unprivileged",
|
| 14 |
"reference_repair_applied_through_action",
|
| 15 |
"reference_terminal_reward_one",
|
| 16 |
"reset_restores_unsolved_task"
|
|
|
|
| 141 |
"type": "object"
|
| 142 |
}
|
| 143 |
},
|
| 144 |
+
"openenv_validation": "Validation report for http://127.0.0.1:53725 (profile: openenv-http/1.x)\n standard version: 1.0.0 \u00b7 mode: simulation\n PASS openapi_version_available\n PASS health_endpoint\n PASS metadata_endpoint\n PASS schema_endpoint\n PASS mcp_endpoint\n PASS mode_endpoint_consistency\nVerdict: PASS\n",
|
| 145 |
"unsolved_result": {
|
| 146 |
"observation": {
|
| 147 |
"metadata": {},
|
|
|
|
| 163 |
"done": true
|
| 164 |
},
|
| 165 |
"passed": true,
|
| 166 |
+
"container_logs": "INFO: Started server process [1]\nINFO: Waiting for application startup.\nINFO: Application startup complete.\nINFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)\nINFO: 172.17.0.1:60084 - \"WebSocket /ws\" [accepted]\nINFO: connection open\n"
|
| 167 |
}
|
evidence/format-code-task-002105.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"image": "ghcr.io/akseljoonas/mimo-openenv-software:format-code-task-002105-
|
| 3 |
"task_id": "format-code-task-002105",
|
| 4 |
"checks": [
|
| 5 |
"health_within_120_seconds",
|
|
@@ -9,7 +9,8 @@
|
|
| 9 |
"no_future_git_history",
|
| 10 |
"unsolved_terminal_reward_zero",
|
| 11 |
"terminal_reward_is_stable",
|
| 12 |
-
"reset_removes_previous_edits"
|
|
|
|
| 13 |
],
|
| 14 |
"ready_seconds": 3.03,
|
| 15 |
"schema": {
|
|
@@ -137,7 +138,7 @@
|
|
| 137 |
"type": "object"
|
| 138 |
}
|
| 139 |
},
|
| 140 |
-
"openenv_validation": "Validation report for http://127.0.0.1:
|
| 141 |
"unsolved_result": {
|
| 142 |
"observation": {
|
| 143 |
"metadata": {},
|
|
@@ -149,5 +150,5 @@
|
|
| 149 |
"done": true
|
| 150 |
},
|
| 151 |
"passed": true,
|
| 152 |
-
"container_logs": "INFO: Started server process [1]\nINFO: Waiting for application startup.\nINFO: Application startup complete.\nINFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)\nINFO: 172.17.0.1:
|
| 153 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"image": "ghcr.io/akseljoonas/mimo-openenv-software:format-code-task-002105-v2",
|
| 3 |
"task_id": "format-code-task-002105",
|
| 4 |
"checks": [
|
| 5 |
"health_within_120_seconds",
|
|
|
|
| 9 |
"no_future_git_history",
|
| 10 |
"unsolved_terminal_reward_zero",
|
| 11 |
"terminal_reward_is_stable",
|
| 12 |
+
"reset_removes_previous_edits",
|
| 13 |
+
"verifier_git_hooks_are_unprivileged"
|
| 14 |
],
|
| 15 |
"ready_seconds": 3.03,
|
| 16 |
"schema": {
|
|
|
|
| 138 |
"type": "object"
|
| 139 |
}
|
| 140 |
},
|
| 141 |
+
"openenv_validation": "Validation report for http://127.0.0.1:54026 (profile: openenv-http/1.x)\n standard version: 1.0.0 \u00b7 mode: simulation\n PASS openapi_version_available\n PASS health_endpoint\n PASS metadata_endpoint\n PASS schema_endpoint\n PASS mcp_endpoint\n PASS mode_endpoint_consistency\nVerdict: PASS\n",
|
| 142 |
"unsolved_result": {
|
| 143 |
"observation": {
|
| 144 |
"metadata": {},
|
|
|
|
| 150 |
"done": true
|
| 151 |
},
|
| 152 |
"passed": true,
|
| 153 |
+
"container_logs": "INFO: Started server process [1]\nINFO: Waiting for application startup.\nINFO: Application startup complete.\nINFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)\nINFO: 172.17.0.1:55214 - \"WebSocket /ws\" [accepted]\nINFO: connection open\n"
|
| 154 |
}
|
evidence/format-code-task-002658.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"image": "ghcr.io/akseljoonas/mimo-openenv-software:format-code-task-002658-
|
| 3 |
"task_id": "format-code-task-002658",
|
| 4 |
"checks": [
|
| 5 |
"health_within_120_seconds",
|
|
@@ -9,7 +9,8 @@
|
|
| 9 |
"no_future_git_history",
|
| 10 |
"unsolved_terminal_reward_zero",
|
| 11 |
"terminal_reward_is_stable",
|
| 12 |
-
"reset_removes_previous_edits"
|
|
|
|
| 13 |
],
|
| 14 |
"ready_seconds": 3.03,
|
| 15 |
"schema": {
|
|
@@ -137,7 +138,7 @@
|
|
| 137 |
"type": "object"
|
| 138 |
}
|
| 139 |
},
|
| 140 |
-
"openenv_validation": "Validation report for http://127.0.0.1:
|
| 141 |
"unsolved_result": {
|
| 142 |
"observation": {
|
| 143 |
"metadata": {},
|
|
@@ -149,5 +150,5 @@
|
|
| 149 |
"done": true
|
| 150 |
},
|
| 151 |
"passed": true,
|
| 152 |
-
"container_logs": "INFO: Started server process [1]\nINFO: Waiting for application startup.\nINFO: Application startup complete.\nINFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)\nINFO: 172.17.0.1:
|
| 153 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"image": "ghcr.io/akseljoonas/mimo-openenv-software:format-code-task-002658-v2",
|
| 3 |
"task_id": "format-code-task-002658",
|
| 4 |
"checks": [
|
| 5 |
"health_within_120_seconds",
|
|
|
|
| 9 |
"no_future_git_history",
|
| 10 |
"unsolved_terminal_reward_zero",
|
| 11 |
"terminal_reward_is_stable",
|
| 12 |
+
"reset_removes_previous_edits",
|
| 13 |
+
"verifier_git_hooks_are_unprivileged"
|
| 14 |
],
|
| 15 |
"ready_seconds": 3.03,
|
| 16 |
"schema": {
|
|
|
|
| 138 |
"type": "object"
|
| 139 |
}
|
| 140 |
},
|
| 141 |
+
"openenv_validation": "Validation report for http://127.0.0.1:53844 (profile: openenv-http/1.x)\n standard version: 1.0.0 \u00b7 mode: simulation\n PASS openapi_version_available\n PASS health_endpoint\n PASS metadata_endpoint\n PASS schema_endpoint\n PASS mcp_endpoint\n PASS mode_endpoint_consistency\nVerdict: PASS\n",
|
| 142 |
"unsolved_result": {
|
| 143 |
"observation": {
|
| 144 |
"metadata": {},
|
|
|
|
| 150 |
"done": true
|
| 151 |
},
|
| 152 |
"passed": true,
|
| 153 |
+
"container_logs": "INFO: Started server process [1]\nINFO: Waiting for application startup.\nINFO: Application startup complete.\nINFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)\nINFO: 172.17.0.1:57876 - \"WebSocket /ws\" [accepted]\nINFO: connection open\n"
|
| 154 |
}
|
evidence/provenance.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_revision": "639865fd3374018d6cb29b9fb82dd531406fcf5f",
|
| 3 |
+
"records": [
|
| 4 |
+
{
|
| 5 |
+
"task_id": "format-code-task-000636",
|
| 6 |
+
"unchanged": true,
|
| 7 |
+
"sha256": "4eb64932ee8bcbc46e7f6fb5355dbb986829d8e5a67c4ef3970667ebc7c793b0"
|
| 8 |
+
},
|
| 9 |
+
{
|
| 10 |
+
"task_id": "format-code-task-000666",
|
| 11 |
+
"unchanged": true,
|
| 12 |
+
"sha256": "b0c7534ea52eeffaa057ad8ad995f0fa4f75cc76eedf9080460a3fff02a9efc4"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"task_id": "format-code-task-000932",
|
| 16 |
+
"unchanged": true,
|
| 17 |
+
"sha256": "87270573d34c6ccee12bedf16f46840655ad351fbbe092c4833cc6bbaf3a56c0"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"task_id": "format-code-task-001457",
|
| 21 |
+
"unchanged": true,
|
| 22 |
+
"sha256": "ac06754253d5be509a2d4a593912dd06731db035c717813e7f7d2dd12d9553d4"
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"task_id": "format-code-task-001547",
|
| 26 |
+
"unchanged": true,
|
| 27 |
+
"sha256": "7cf54d3ddd4d1e031675e8b8cbe5dfed1656e4aee27542277b24ae7af019f92e"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"task_id": "format-code-task-001661",
|
| 31 |
+
"unchanged": true,
|
| 32 |
+
"sha256": "d2433c2e98102a601db0e5ed8fd54a77a866749b3e42cc594a4a38f77df21808"
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"task_id": "format-code-task-002105",
|
| 36 |
+
"unchanged": true,
|
| 37 |
+
"sha256": "08b2a4e44869b9bf7fb392c59956df940c9ed371d3a8b66289bb54144b27cf75"
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"task_id": "format-code-task-002658",
|
| 41 |
+
"unchanged": true,
|
| 42 |
+
"sha256": "e9af1b41bb765151b0c4d14ced8ed18bf5827fcf7b07b24ebe4448b008feeeb1"
|
| 43 |
+
}
|
| 44 |
+
]
|
| 45 |
+
}
|
evidence/unsolved-verifier-output.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format-code-task-000636": "{'verifier_returncode': 1, 'resolved': False, 'test_duration': 0.6234040260314941, 'test_command': 'bash /testbed/mimo_test_command.sh', 'model_patch': ''}\nt_wrap_socket_sni_accepts_ca_certs_kwarg FAILED [ 14%]\nt/unit/test_transport.py::test_SSLTransport::test_wrap_socket_sni_loads_ca_certs FAILED [ 28%]\nt/unit/test_transport.py::test_SSLTransport::test_wrap_socket_sni_no_ca_certs_no_load PASSED [ 42%]\nt/unit/test_transport.py::test_SSLTransport::test_wrap_socket_sni_accepts_ciphers_kwarg FAILED [ 57%]\nt/unit/test_transport.py::test_SSLTransport::test_wrap_socket_sni_sets_ciphers FAILED [ 71%]\nt/unit/test_transport.py::test_SSLTransport::test_wrap_socket_sni_no_ciphers_no_call PASSED [ 85%]\nt/unit/test_transport.py::test_SSLTransport::test_wrap_socket_full_sslopts_dict_reproduces_issue FAILED [100%]\n\n=================================== FAILURES ===================================\n________ test_SSLTransport.test_wrap_socket_sni_accepts_ca_certs_kwarg _________\n\nself = <t.unit.test_transport.test_SSLTransport object at 0x7ffffd9c75b0>\n\n def test_wrap_socket_sni_accepts_ca_certs_kwarg(self):\n \n sock = Mock()\n with patch('ssl.SSLContext'):\n> self.t._wrap_socket_sni(sock, ca_certs='/path/to/ca.pem')\nE TypeError: _wrap_socket_sni() got an unexpected keyword argument 'ca_certs'\n\nt/unit/test_transport.py:707: TypeError\n____________ test_SSLTransport.test_wrap_socket_sni_loads_ca_certs _____________\n\nself = <t.unit.test_transport.test_SSLTransport object at 0x7ffffda4f3a0>\n\n def test_wrap_socket_sni_loads_ca_certs(self):\n import ssl as _ssl\n sock = Mock()\n with patch('ssl.SSLContext') as mock_ctx_cls:\n mock_ctx = mock_ctx_cls.return_value\n> self.t._wrap_socket_sni(sock, ca_certs='/path/to/ca.pem')\nE TypeError: _wrap_socket_sni() got an unexpected keyword argument 'ca_certs'\n\nt/unit/test_transport.py:714: TypeError\n_________ test_SSLTransport.test_wrap_socket_sni_accepts_ciphers_kwarg _________\n\nself = <t.unit.test_transport.test_SSLTransport object at 0x7ffffd9e6d00>\n\n def test_wrap_socket_sni_accepts_ciphers_kwarg(self):\n sock = Mock()\n with patch('ssl.SSLContext'):\n> self.t._wrap_socket_sni(sock, ciphers='HIGH:!aNULL')\nE TypeError: _wrap_socket_sni() got an unexpected keyword argument 'ciphers'\n\nt/unit/test_transport.py:732: TypeError\n_____________ test_SSLTransport.test_wrap_socket_sni_sets_ciphers ______________\n\nself = <t.unit.test_transport.test_SSLTransport object at 0x7ffffd74ee50>\n\n def test_wrap_socket_sni_sets_ciphers(self):\n sock = Mock()\n with patch('ssl.SSLContext') as mock_ctx_cls:\n mock_ctx = mock_ctx_cls.return_value\n> self.t._wrap_socket_sni(sock, ciphers='HIGH:!aNULL')\nE TypeError: _wrap_socket_sni() got an unexpected keyword argument 'ciphers'\n\nt/unit/test_transport.py:738: TypeError\n____ test_SSLTransport.test_wrap_socket_full_sslopts_dict_reproduces_issue _____\n\nself = <t.unit.test_transport.test_SSLTransport object at 0x7ffffd751940>\n\n def test_wrap_socket_full_sslopts_dict_reproduces_issue(self):\n \n \n import ssl as _ssl\n sock = Mock()\n sslopts = {\n 'ca_certs': '/path/to/ca.pem',\n 'cert_reqs': _ssl.CERT_REQUIRED,\n 'certfile': '/path/to/cert.pem',\n 'keyfile': '/path/to/key.pem',\n }\n with patch('ssl.SSLContext') as mock_ctx_cls:\n mock_ctx = mock_ctx_cls.return_value\n \n \n> self.t._wrap_socket(sock, **sslopts)\n\nt/unit/test_transport.py:764: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = <Transport: (disconnected) at 0x7ffffd751b80>\nsock = <Mock id='140737445783104'>, context = None\nsslopts = {'ca_certs': '/path/to/ca.pem', 'cert_reqs': <VerifyMode.CERT_REQUIRED: 2>, 'certfile': '/path/to/cert.pem', 'keyfile': '/path/to/key.pem'}\n\n def _wrap_socket(self, sock, context=None, **sslopts):\n if context:\n return self._wrap_context(sock, sslopts, **context)\n> return self._wrap_socket_sni(sock, **sslopts)\nE TypeError: _wrap_socket_sni() got an unexpected keyword argument 'ca_certs'\n\namqp/transport.py:348: TypeError\n==================================== PASSES ====================================\n=========================== short test summary info ============================\nPASSED t/unit/test_transport.py::test_SSLTransport::test_wrap_socket_sni_no_ca_certs_no_load\nPASSED t/unit/test_transport.py::test_SSLTransport::test_wrap_socket_sni_no_ciphers_no_call\nFAILED t/unit/test_transport.py::test_SSLTransport::test_wrap_socket_sni_accepts_ca_certs_kwarg\nFAILED t/unit/test_transport.py::test_SSLTransport::test_wrap_socket_sni_loads_ca_certs\nFAILED t/unit/test_transport.py::test_SSLTransport::test_wrap_socket_sni_accepts_ciphers_kwarg\nFAILED t/unit/test_transport.py::test_SSLTransport::test_wrap_socket_sni_sets_ciphers\nFAILED t/unit/test_transport.py::test_SSLTransport::test_wrap_socket_full_sslopts_dict_reproduces_issue\n========================= 5 failed, 2 passed in 0.15s ==========================\n\n",
|
| 3 |
+
"format-code-task-002105": "{'verifier_returncode': 1, 'resolved': False, 'test_duration': 2.7896926403045654, 'test_command': 'bash /workspace/repo/mimo_test_command.sh', 'model_patch': 'diff --git a/examples/gpt-oss-tools-stream.py b/examples/gpt-oss-tools-stream.py\\ndeleted file mode 100644\\nindex 97be624..0000000\\n--- a/examples/gpt-oss-tools-stream.py\\n+++ /dev/null\\n@@ -1,105 +0,0 @@\\n-# /// script\\n-# requires-python = \">=3.11\"\\n-# dependencies = [\\n-# \"gpt-oss\",\\n-# \"ollama\",\\n-# \"rich\",\\n-# ]\\n-# ///\\n-import random\\n-from typing import Iterator\\n-\\n-from rich import print\\n-\\n-from ollama import Client\\n-from ollama._types import ChatResponse\\n-\\n-\\n-def get_weather(city: str) -> str:\\n- \"\"\"\\n- Get the current temperature for a city\\n-\\n- Args:\\n- city (str): The name of the city\\n-\\n- Returns:\\n- str: The current temperature\\n- \"\"\"\\n- temperatures = list(range(-10, 35))\\n-\\n- temp = random.choice(temperatures)\\n-\\n- return f\\'The temperature in {city} is {temp}\u00b0C\\'\\n-\\n-\\n-def get_weather_conditions(city: str) -> str:\\n- \"\"\"\\n- Get the weather conditions for a city\\n-\\n- Args:\\n- city (str): The name of the city\\n-\\n- Returns:\\n- str: The current weather conditions\\n- \"\"\"\\n- conditions = [\\'sunny\\', \\'cloudy\\', \\'rainy\\', \\'snowy\\', \\'foggy\\']\\n- return random.choice(conditions)\\n-\\n-\\n-available_tools = {\\'get_weather\\': get_weather, \\'get_weather_conditions\\': get_weather_conditions}\\n-\\n-messages = [{\\'role\\': \\'user\\', \\'content\\': \\'What is the weather like in London? What are the conditions in Toronto?\\'}]\\n-\\n-client = Client(\\n- # Ollama Turbo\\n- # host=\"https://ollama.com\", headers={\\'Authorization\\': (os.getenv(\\'OLLAMA_API_KEY\\'))}\\n-)\\n-\\n-model = \\'gpt-oss:20b\\'\\n-# gpt-oss can call tools while \"thinking\"\\n-# a loop is needed to call the tools and get the results\\n-final = True\\n-while True:\\n- response_stream: Iterator[ChatResponse] = client.chat(model=model, messages=messages, tools=[get_weather, get_weather_conditions], stream=True)\\n- tool_calls = []\\n- thinking = \\'\\'\\n- content = \\'\\'\\n-\\n- for chunk in response_stream:\\n- if chunk.message.tool_calls:\\n- tool_calls.extend(chunk.message.tool_calls)\\n-\\n- if chunk.message.content:\\n- if not (chunk.message.thinking or chunk.message.thinking == \\'\\') and final:\\n- print(\\'\\\\n\\\\n\\' + \\'=\\' * 10)\\n- print(\\'Final result: \\')\\n- final = False\\n- print(chunk.message.content, end=\\'\\', flush=True)\\n-\\n- if chunk.message.thinking:\\n- # accumulate thinking\\n- thinking += chunk.message.thinking\\n- print(chunk.message.thinking, end=\\'\\', flush=True)\\n-\\n- if thinking != \\'\\' or content != \\'\\' or len(tool_calls) > 0:\\n- messages.append({\\'role\\': \\'assistant\\', \\'thinking\\': thinking, \\'content\\': content, \\'tool_calls\\': tool_calls})\\n-\\n- print()\\n-\\n- if tool_calls:\\n- for tool_call in tool_calls:\\n- function_to_call = available_tools.get(tool_call.function.name)\\n- if function_to_call:\\n- print(\\'\\\\nCalling tool:\\', tool_call.function.name, \\'with arguments: \\', tool_call.function.arguments)\\n- result = function_to_call(**tool_call.function.arguments)\\n- print(\\'Tool result: \\', result + \\'\\\\n\\')\\n-\\n- result_message = {\\'role\\': \\'tool\\', \\'content\\': result, \\'tool_name\\': tool_call.function.name}\\n- messages.append(result_message)\\n- else:\\n- print(f\\'Tool {tool_call.function.name} not found\\')\\n- messages.append({\\'role\\': \\'tool\\', \\'content\\': f\\'Tool {tool_call.function.name} not found\\', \\'tool_name\\': tool_call.function.name})\\n-\\n- else:\\n- # no more tool calls, we can stop the loop\\n- break\\ndiff --git a/examples/gpt-oss-tools.py b/examples/gpt-oss-tools.py\\ndeleted file mode 100644\\nindex d4a20f7..0000000\\n--- a/examples/gpt-oss-tools.py\\n+++ /dev/null\\n@@ -1,84 +0,0 @@\\n-# /// script\\n-# requires-python = \">=3.11\"\\n-# dependencies = [\\n-# \"gpt-oss\",\\n-# \"ollama\",\\n-# \"rich\",\\n-# ]\\n-# ///\\n-import random\\n-\\n-from rich import print\\n-\\n-from ollama import Client\\n-from ollama._types import ChatResponse\\n-\\n-\\n-def get_weather(city: str) -> str:\\n- \"\"\"\\n- Get the current temperature for a city\\n-\\n- Args:\\n- city (str): The name of the city\\n-\\n- Returns:\\n- str: The current temperature\\n- \"\"\"\\n- temperatures = list(range(-10, 35))\\n-\\n- temp = random.choice(temperatures)\\n-\\n- return f\\'The temperature in {city} is {temp}\u00b0C\\'\\n-\\n-\\n-def get_weather_conditions(city: str) -> str:\\n- \"\"\"\\n- Get the weather conditions for a city\\n-\\n- Args:\\n- city (str): The name of the city\\n-\\n- Returns:\\n- str: The current weather conditions\\n- \"\"\"\\n- conditions = [\\'sunny\\', \\'cloudy\\', \\'rainy\\', \\'snowy\\', \\'foggy\\']\\n- return random.choice(conditions)\\n-\\n-\\n-available_tools = {\\'get_weather\\': get_weather, \\'get_weather_conditions\\': get_weather_conditions}\\n-\\n-messages = [{\\'role\\': \\'user\\', \\'content\\': \\'What is the weather like in London? What are the conditions in Toronto?\\'}]\\n-\\n-\\n-client = Client(\\n- # Ollama Turbo\\n- # host=\"https://ollama.com\", headers={\\'Authorization\\': (os.getenv(\\'OLLAMA_API_KEY\\'))}\\n-)\\n-model = \\'gpt-oss:20b\\'\\n-# gpt-oss can call tools while \"thinking\"\\n-# a loop is needed to call the tools and get the results\\n-while True:\\n- response: ChatResponse = client.chat(model=model, messages=messages, tools=[get_weather, get_weather_conditions])\\n-\\n- if response.message.content:\\n- print(\\'Content: \\')\\n- print(response.message.content + \\'\\\\n\\')\\n- if response.message.thinking:\\n- print(\\'Thinking: \\')\\n- print(response.message.thinking + \\'\\\\n\\')\\n-\\n- messages.append(response.message)\\n-\\n- if response.message.tool_calls:\\n- for tool_call in response.message.tool_calls:\\n- function_to_call = available_tools.get(tool_call.function.name)\\n- if function_to_call:\\n- result = function_to_call(**tool_call.function.arguments)\\n- print(\\'Result from tool call name: \\', tool_call.function.name, \\'with arguments: \\', tool_call.function.arguments, \\'result: \\', result + \\'\\\\n\\')\\n- messages.append({\\'role\\': \\'tool\\', \\'content\\': result, \\'tool_name\\': tool_call.function.name})\\n- else:\\n- print(f\\'Tool {tool_call.function.name} not found\\')\\n- messages.append({\\'role\\': \\'tool\\', \\'content\\': f\\'Tool {tool_call.function.name} not found\\', \\'tool_name\\': tool_call.function.name})\\n- else:\\n- # no more tool calls, we can stop the loop\\n- break\\ndiff --git a/examples/web-search-gpt-oss.py b/examples/web-search-gpt-oss.py\\ndeleted file mode 100644\\nindex 7ba8803..0000000\\n--- a/examples/web-search-gpt-oss.py\\n+++ /dev/null\\n@@ -1,99 +0,0 @@\\n-# /// script\\n-# requires-python = \">=3.11\"\\n-# dependencies = [\\n-# \"ollama\",\\n-# ]\\n-# ///\\n-from typing import Any, Dict, List\\n-\\n-from web_search_gpt_oss_helper import Browser\\n-\\n-from ollama import Client\\n-\\n-\\n-def main() -> None:\\n- client = Client()\\n- browser = Browser(initial_state=None, client=client)\\n-\\n- def browser_search(query: str, topn: int = 10) -> str:\\n- return browser.search(query=query, topn=topn)[\\'pageText\\']\\n-\\n- def browser_open(id: int | str | None = None, cursor: int = -1, loc: int = -1, num_lines: int = -1) -> str:\\n- return browser.open(id=id, cursor=cursor, loc=loc, num_lines=num_lines)[\\'pageText\\']\\n-\\n- def browser_find(pattern: str, cursor: int = -1, **_: Any) -> str:\\n- return browser.find(pattern=pattern, cursor=cursor)[\\'pageText\\']\\n-\\n- browser_search_schema = {\\n- \\'type\\': \\'function\\',\\n- \\'function\\': {\\n- \\'name\\': \\'browser.search\\',\\n- },\\n- }\\n-\\n- browser_open_schema = {\\n- \\'type\\': \\'function\\',\\n- \\'function\\': {\\n- \\'name\\': \\'browser.open\\',\\n- },\\n- }\\n-\\n- browser_find_schema = {\\n- \\'type\\': \\'function\\',\\n- \\'function\\': {\\n- \\'name\\': \\'browser.find\\',\\n- },\\n- }\\n-\\n- available_tools = {\\n- \\'browser.search\\': browser_search,\\n- \\'browser.open\\': browser_open,\\n- \\'browser.find\\': browser_find,\\n- }\\n-\\n- query = \"what is ollama\\'s new engine\"\\n- print(\\'Prompt:\\', query, \\'\\\\n\\')\\n-\\n- messages: List[Dict[str, Any]] = [{\\'role\\': \\'user\\', \\'content\\': query}]\\n-\\n- while True:\\n- resp = client.chat(\\n- model=\\'gpt-oss:120b-cloud\\',\\n- messages=messages,\\n- tools=[browser_search_schema, browser_open_schema, browser_find_schema],\\n- think=True,\\n- )\\n-\\n- if resp.message.thinking:\\n- print(\\'Thinking:\\\\n========\\\\n\\')\\n- print(resp.message.thinking + \\'\\\\n\\')\\n-\\n- if resp.message.content:\\n- print(\\'Response:\\\\n========\\\\n\\')\\n- print(resp.message.content + \\'\\\\n\\')\\n-\\n- messages.append(resp.message)\\n-\\n- if not resp.message.tool_calls:\\n- break\\n-\\n- for tc in resp.message.tool_calls:\\n- tool_name = tc.function.name\\n- args = tc.function.arguments or {}\\n- print(f\\'Tool name: {tool_name}, args: {args}\\')\\n- fn = available_tools.get(tool_name)\\n- if not fn:\\n- messages.append({\\'role\\': \\'tool\\', \\'content\\': f\\'Tool {tool_name} not found\\', \\'tool_name\\': tool_name})\\n- continue\\n-\\n- try:\\n- result_text = fn(**args)\\n- print(\\'Result: \\', result_text[:200] + \\'...\\')\\n- except Exception as e:\\n- result_text = f\\'Error from {tool_name}: {e}\\'\\n-\\n- messages.append({\\'role\\': \\'tool\\', \\'content\\': result_text, \\'tool_name\\': tool_name})\\n-\\n-\\n-if __name__ == \\'__main__\\':\\n- main()\\n'}\n _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\n async def run():\n records = []\n client = AsyncClient(host='http://testserver', transport=_create_json_transport(records))\n \n> response = await client.create('dummy', from_='llama2')\n ^^^^^^^^^^^^^\nE AttributeError: 'AsyncClient' object has no attribute 'create'\n\nusercase-test-coderl/test_custom_model_creation.py:476: AttributeError\n____________ test_async_create_omits_none_fields_explicitly_passed _____________\n\n def test_async_create_omits_none_fields_explicitly_passed():\n \n \n \n \n \n async def run():\n records = []\n client = AsyncClient(host='http://testserver', transport=_create_json_transport(records))\n \n response = await client.create('dummy-none', quantize=None, from_='llama2', template=None)\n \n \n assert response.status == 'success'\n assert records == [('POST', '/api/create', {'model': 'dummy-none', 'stream': False, 'from': 'llama2'})]\n await client.close()\n \n> anyio.run(run)\n\nusercase-test-coderl/test_custom_model_creation.py:503: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/local/lib/python3.12/site-packages/anyio/_core/_eventloop.py:83: in run\n return async_backend.run(func, args, {}, backend_options)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n/usr/local/lib/python3.12/site-packages/anyio/_backends/_asyncio.py:2481: in run\n return runner.run(wrapper())\n ^^^^^^^^^^^^^^^^^^^^^\n/usr/local/lib/python3.12/asyncio/runners.py:118: in run\n return self._loop.run_until_complete(task)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n/usr/local/lib/python3.12/asyncio/base_events.py:691: in run_until_complete\n return future.result()\n ^^^^^^^^^^^^^^^\n/usr/local/lib/python3.12/site-packages/anyio/_backends/_asyncio.py:2464: in wrapper\n return await func(*args)\n ^^^^^^^^^^^^^^^^^\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\n async def run():\n records = []\n client = AsyncClient(host='http://testserver', transport=_create_json_transport(records))\n \n> response = await client.create('dummy-none', quantize=None, from_='llama2', template=None)\n ^^^^^^^^^^^^^\nE AttributeError: 'AsyncClient' object has no attribute 'create'\n\nusercase-test-coderl/test_custom_model_creation.py:496: AttributeError\n=========================== short test summary info ============================\nFAILED usercase-test-coderl/test_custom_model_creation.py::test_sync_create_from_model_posts_literal_json_and_returns_progress_status\nFAILED usercase-test-coderl/test_custom_model_creation.py::test_sync_create_serializes_all_creation_options_with_string_license\nFAILED usercase-test-coderl/test_custom_model_creation.py::test_sync_create_accepts_options_and_message_models\nFAILED usercase-test-coderl/test_custom_model_creation.py::test_sync_create_stream_returns_progress_iterator_chunks\nFAILED usercase-test-coderl/test_custom_model_creation.py::test_sync_create_blob_uploads_empty_file_and_returns_digest_for_created_blob\nFAILED usercase-test-coderl/test_custom_model_creation.py::test_sync_create_blob_returns_digest_for_existing_blob\nFAILED usercase-test-coderl/test_custom_model_creation.py::test_sync_create_blob_missing_path_raises_file_not_found_before_upload\nFAILED usercase-test-coderl/test_custom_model_creation.py::test_sync_create_uses_public_client_api_without_post_close_requirement\nFAILED usercase-test-coderl/test_custom_model_creation.py::test_sync_create_omits_none_fields_explicitly_passed\nFAILED usercase-test-coderl/test_custom_model_creation.py::test_two_sync_clients_keep_independent_request_state\nFAILED usercase-test-coderl/test_custom_model_creation.py::test_module_level_create_uses_default_sync_client_public_api\nFAILED usercase-test-coderl/test_custom_model_creation.py::test_sync_create_repeated_clients_send_create_requests\nFAILED usercase-test-coderl/test_custom_model_creation.py::test_async_create_from_model_posts_literal_json_and_returns_progress_status\nFAILED usercase-test-coderl/test_custom_model_creation.py::test_async_create_serializes_options_with_license_list\nFAILED usercase-test-coderl/test_custom_model_creation.py::test_async_create_stream_returns_progress_async_iterator_chunks\nFAILED usercase-test-coderl/test_custom_model_creation.py::test_async_create_blob_uploads_empty_file_and_returns_digest_for_existing_blob\nFAILED usercase-test-coderl/test_custom_model_creation.py::test_async_create_blob_missing_path_raises_file_not_found_before_upload\nFAILED usercase-test-coderl/test_custom_model_creation.py::test_async_create_uses_public_client_api_without_post_close_requirement\nFAILED usercase-test-coderl/test_custom_model_creation.py::test_async_create_omits_none_fields_explicitly_passed\n============================== 19 failed in 2.00s ==============================\n\n",
|
| 4 |
+
"format-code-task-001547": "{'verifier_returncode': 1, 'resolved': False, 'test_duration': 3.5962603092193604, 'test_command': 'bash /testbed/mimo_test_command.sh', 'model_patch': '[output truncated to final 12000 bytes]\\nFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==\",\\n+ \"dev\": true,\\n+ \"license\": \"MIT\",\\n+ \"engines\": {\\n+ \"node\": \">=0.10.0\"\\n+ }\\n+ },\\n+ \"node_modules/user-home\": {\\n+ \"version\": \"1.1.1\",\\n+ \"resolved\": \"https://registry.npmjs.org/user-home/-/user-home-1.1.1.tgz\",\\n+ \"integrity\": \"sha512-aggiKfEEubv3UwRNqTzLInZpAOmKzwdHqEBmW/hBA/mt99eg+b4VrX6i+IRLxU8+WJYfa33rGwRseg4eElUgsQ==\",\\n+ \"dev\": true,\\n+ \"license\": \"MIT\",\\n+ \"bin\": {\\n+ \"user-home\": \"cli.js\"\\n+ },\\n+ \"engines\": {\\n+ \"node\": \">=0.10.0\"\\n+ }\\n+ },\\n+ \"node_modules/util-deprecate\": {\\n+ \"version\": \"1.0.2\",\\n+ \"resolved\": \"https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz\",\\n+ \"integrity\": \"sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==\",\\n+ \"license\": \"MIT\"\\n+ },\\n+ \"node_modules/uuid\": {\\n+ \"version\": \"3.4.0\",\\n+ \"resolved\": \"https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz\",\\n+ \"integrity\": \"sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==\",\\n+ \"deprecated\": \"Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.\",\\n+ \"dev\": true,\\n+ \"license\": \"MIT\",\\n+ \"bin\": {\\n+ \"uuid\": \"bin/uuid\"\\n+ }\\n+ },\\n+ \"node_modules/v8flags\": {\\n+ \"version\": \"2.1.1\",\\n+ \"resolved\": \"https://registry.npmjs.org/v8flags/-/v8flags-2.1.1.tgz\",\\n+ \"integrity\": \"sha512-SKfhk/LlaXzvtowJabLZwD4K6SGRYeoxA7KJeISlUMAB/NT4CBkZjMq3WceX2Ckm4llwqYVo8TICgsDYCBU2tA==\",\\n+ \"dev\": true,\\n+ \"dependencies\": {\\n+ \"user-home\": \"^1.1.1\"\\n+ },\\n+ \"engines\": {\\n+ \"node\": \">= 0.10.0\"\\n+ }\\n+ },\\n+ \"node_modules/value-or-function\": {\\n+ \"version\": \"3.0.0\",\\n+ \"resolved\": \"https://registry.npmjs.org/value-or-function/-/value-or-function-3.0.0.tgz\",\\n+ \"integrity\": \"sha512-jdBB2FrWvQC/pnPtIqcLsMaQgjhdb6B7tk1MMyTKapox+tQZbdRP4uLxu/JY0t7fbfDCUMnuelzEYv5GsxHhdg==\",\\n+ \"license\": \"MIT\",\\n+ \"engines\": {\\n+ \"node\": \">= 0.10\"\\n+ }\\n+ },\\n+ \"node_modules/verror\": {\\n+ \"version\": \"1.10.0\",\\n+ \"resolved\": \"https://registry.npmjs.org/verror/-/verror-1.10.0.tgz\",\\n+ \"integrity\": \"sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw==\",\\n+ \"dev\": true,\\n+ \"engines\": [\\n+ \"node >=0.6.0\"\\n+ ],\\n+ \"license\": \"MIT\",\\n+ \"dependencies\": {\\n+ \"assert-plus\": \"^1.0.0\",\\n+ \"core-util-is\": \"1.0.2\",\\n+ \"extsprintf\": \"^1.2.0\"\\n+ }\\n+ },\\n+ \"node_modules/verror/node_modules/core-util-is\": {\\n+ \"version\": \"1.0.2\",\\n+ \"resolved\": \"https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz\",\\n+ \"integrity\": \"sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==\",\\n+ \"dev\": true,\\n+ \"license\": \"MIT\"\\n+ },\\n+ \"node_modules/vinyl\": {\\n+ \"version\": \"2.2.1\",\\n+ \"resolved\": \"https://registry.npmjs.org/vinyl/-/vinyl-2.2.1.tgz\",\\n+ \"integrity\": \"sha512-LII3bXRFBZLlezoG5FfZVcXflZgWP/4dCwKtxd5ky9+LOtM4CS3bIRQsmR1KMnMW07jpE8fqR2lcxPZ+8sJIcw==\",\\n+ \"license\": \"MIT\",\\n+ \"dependencies\": {\\n+ \"clone\": \"^2.1.1\",\\n+ \"clone-buffer\": \"^1.0.0\",\\n+ \"clone-stats\": \"^1.0.0\",\\n+ \"cloneable-readable\": \"^1.0.0\",\\n+ \"remove-trailing-separator\": \"^1.0.1\",\\n+ \"replace-ext\": \"^1.0.0\"\\n+ },\\n+ \"engines\": {\\n+ \"node\": \">= 0.10\"\\n+ }\\n+ },\\n+ \"node_modules/vinyl-fs\": {\\n+ \"version\": \"3.0.3\",\\n+ \"resolved\": \"https://registry.npmjs.org/vinyl-fs/-/vinyl-fs-3.0.3.tgz\",\\n+ \"integrity\": \"sha512-vIu34EkyNyJxmP0jscNzWBSygh7VWhqun6RmqVfXePrOwi9lhvRs//dOaGOTRUQr4tx7/zd26Tk5WeSVZitgng==\",\\n+ \"license\": \"MIT\",\\n+ \"dependencies\": {\\n+ \"fs-mkdirp-stream\": \"^1.0.0\",\\n+ \"glob-stream\": \"^6.1.0\",\\n+ \"graceful-fs\": \"^4.0.0\",\\n+ \"is-valid-glob\": \"^1.0.0\",\\n+ \"lazystream\": \"^1.0.0\",\\n+ \"lead\": \"^1.0.0\",\\n+ \"object.assign\": \"^4.0.4\",\\n+ \"pumpify\": \"^1.3.5\",\\n+ \"readable-stream\": \"^2.3.3\",\\n+ \"remove-bom-buffer\": \"^3.0.0\",\\n+ \"remove-bom-stream\": \"^1.2.0\",\\n+ \"resolve-options\": \"^1.1.0\",\\n+ \"through2\": \"^2.0.0\",\\n+ \"to-through\": \"^2.0.0\",\\n+ \"value-or-function\": \"^3.0.0\",\\n+ \"vinyl\": \"^2.0.0\",\\n+ \"vinyl-sourcemap\": \"^1.1.0\"\\n+ },\\n+ \"engines\": {\\n+ \"node\": \">= 0.10\"\\n+ }\\n+ },\\n+ \"node_modules/vinyl-sourcemap\": {\\n+ \"version\": \"1.1.0\",\\n+ \"resolved\": \"https://registry.npmjs.org/vinyl-sourcemap/-/vinyl-sourcemap-1.1.0.tgz\",\\n+ \"integrity\": \"sha512-NiibMgt6VJGJmyw7vtzhctDcfKch4e4n9TBeoWlirb7FMg9/1Ov9k+A5ZRAtywBpRPiyECvQRQllYM8dECegVA==\",\\n+ \"license\": \"MIT\",\\n+ \"dependencies\": {\\n+ \"append-buffer\": \"^1.0.2\",\\n+ \"convert-source-map\": \"^1.5.0\",\\n+ \"graceful-fs\": \"^4.1.6\",\\n+ \"normalize-path\": \"^2.1.1\",\\n+ \"now-and-later\": \"^2.0.0\",\\n+ \"remove-bom-buffer\": \"^3.0.0\",\\n+ \"vinyl\": \"^2.0.0\"\\n+ },\\n+ \"engines\": {\\n+ \"node\": \">= 0.10\"\\n+ }\\n+ },\\n+ \"node_modules/vinyl/node_modules/replace-ext\": {\\n+ \"version\": \"1.0.1\",\\n+ \"resolved\": \"https://registry.npmjs.org/replace-ext/-/replace-ext-1.0.1.tgz\",\\n+ \"integrity\": \"sha512-yD5BHCe7quCgBph4rMQ+0KkIRKwWCrHDOX1p1Gp6HwjPM5kVoCdKGNhN7ydqqsX6lJEnQDKZ/tFMiEdQ1dvPEw==\",\\n+ \"license\": \"MIT\",\\n+ \"engines\": {\\n+ \"node\": \">= 0.10\"\\n+ }\\n+ },\\n+ \"node_modules/which\": {\\n+ \"version\": \"1.3.1\",\\n+ \"resolved\": \"https://registry.npmjs.org/which/-/which-1.3.1.tgz\",\\n+ \"integrity\": \"sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==\",\\n+ \"dev\": true,\\n+ \"license\": \"ISC\",\\n+ \"dependencies\": {\\n+ \"isexe\": \"^2.0.0\"\\n+ },\\n+ \"bin\": {\\n+ \"which\": \"bin/which\"\\n+ }\\n+ },\\n+ \"node_modules/which-boxed-primitive\": {\\n+ \"version\": \"1.1.1\",\\n+ \"resolved\": \"https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.1.1.tgz\",\\n+ \"integrity\": \"sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==\",\\n+ \"dev\": true,\\n+ \"license\": \"MIT\",\\n+ \"dependencies\": {\\n+ \"is-bigint\": \"^1.1.0\",\\n+ \"is-boolean-object\": \"^1.2.1\",\\n+ \"is-number-object\": \"^1.1.1\",\\n+ \"is-string\": \"^1.1.1\",\\n+ \"is-symbol\": \"^1.1.1\"\\n+ },\\n+ \"engines\": {\\n+ \"node\": \">= 0.4\"\\n+ },\\n+ \"funding\": {\\n+ \"url\": \"https://github.com/sponsors/ljharb\"\\n+ }\\n+ },\\n+ \"node_modules/which-builtin-type\": {\\n+ \"version\": \"1.2.1\",\\n+ \"resolved\": \"https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.2.1.tgz\",\\n+ \"integrity\": \"sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==\",\\n+ \"dev\": true,\\n+ \"license\": \"MIT\",\\n+ \"dependencies\": {\\n+ \"call-bound\": \"^1.0.2\",\\n+ \"function.prototype.name\": \"^1.1.6\",\\n+ \"has-tostringtag\": \"^1.0.2\",\\n+ \"is-async-function\": \"^2.0.0\",\\n+ \"is-date-object\": \"^1.1.0\",\\n+ \"is-finalizationregistry\": \"^1.1.0\",\\n+ \"is-generator-function\": \"^1.0.10\",\\n+ \"is-regex\": \"^1.2.1\",\\n+ \"is-weakref\": \"^1.0.2\",\\n+ \"isarray\": \"^2.0.5\",\\n+ \"which-boxed-primitive\": \"^1.1.0\",\\n+ \"which-collection\": \"^1.0.2\",\\n+ \"which-typed-array\": \"^1.1.16\"\\n+ },\\n+ \"engines\": {\\n+ \"node\": \">= 0.4\"\\n+ },\\n+ \"funding\": {\\n+ \"url\": \"https://github.com/sponsors/ljharb\"\\n+ }\\n+ },\\n+ \"node_modules/which-builtin-type/node_modules/isarray\": {\\n+ \"version\": \"2.0.5\",\\n+ \"resolved\": \"https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz\",\\n+ \"integrity\": \"sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==\",\\n+ \"dev\": true,\\n+ \"license\": \"MIT\"\\n+ },\\n+ \"node_modules/which-collection\": {\\n+ \"version\": \"1.0.2\",\\n+ \"resolved\": \"https://registry.npmjs.org/which-collection/-/which-collection-1.0.2.tgz\",\\n+ \"integrity\": \"sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==\",\\n+ \"dev\": true,\\n+ \"license\": \"MIT\",\\n+ \"dependencies\": {\\n+ \"is-map\": \"^2.0.3\",\\n+ \"is-set\": \"^2.0.3\",\\n+ \"is-weakmap\": \"^2.0.2\",\\n+ \"is-weakset\": \"^2.0.3\"\\n+ },\\n+ \"engines\": {\\n+ \"node\": \">= 0.4\"\\n+ },\\n+ \"funding\": {\\n+ \"url\": \"https://github.com/sponsors/ljharb\"\\n+ }\\n+ },\\n+ \"node_modules/which-typed-array\": {\\n+ \"version\": \"1.1.19\",\\n+ \"resolved\": \"https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.19.tgz\",\\n+ \"integrity\": \"sha512-rEvr90Bck4WZt9HHFC4DJMsjvu7x+r6bImz0/BrbWb7A2djJ8hnZMrWnHo9F8ssv0OMErasDhftrfROTyqSDrw==\",\\n+ \"dev\": true,\\n+ \"license\": \"MIT\",\\n+ \"dependencies\": {\\n+ \"available-typed-arrays\": \"^1.0.7\",\\n+ \"call-bind\": \"^1.0.8\",\\n+ \"call-bound\": \"^1.0.4\",\\n+ \"for-each\": \"^0.3.5\",\\n+ \"get-proto\": \"^1.0.1\",\\n+ \"gopd\": \"^1.2.0\",\\n+ \"has-tostringtag\": \"^1.0.2\"\\n+ },\\n+ \"engines\": {\\n+ \"node\": \">= 0.4\"\\n+ },\\n+ \"funding\": {\\n+ \"url\": \"https://github.com/sponsors/ljharb\"\\n+ }\\n+ },\\n+ \"node_modules/word-wrap\": {\\n+ \"version\": \"1.2.5\",\\n+ \"resolved\": \"https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz\",\\n+ \"integrity\": \"sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==\",\\n+ \"dev\": true,\\n+ \"license\": \"MIT\",\\n+ \"engines\": {\\n+ \"node\": \">=0.10.0\"\\n+ }\\n+ },\\n+ \"node_modules/wrappy\": {\\n+ \"version\": \"1.0.2\",\\n+ \"resolved\": \"https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz\",\\n+ \"integrity\": \"sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==\",\\n+ \"license\": \"ISC\"\\n+ },\\n+ \"node_modules/write\": {\\n+ \"version\": \"0.2.1\",\\n+ \"resolved\": \"https://registry.npmjs.org/write/-/write-0.2.1.tgz\",\\n+ \"integrity\": \"sha512-CJ17OoULEKXpA5pef3qLj5AxTJ6mSt7g84he2WIskKwqFO4T97d5V7Tadl0DYDk7qyUOQD5WlUlOMChaYrhxeA==\",\\n+ \"dev\": true,\\n+ \"license\": \"MIT\",\\n+ \"dependencies\": {\\n+ \"mkdirp\": \"^0.5.1\"\\n+ },\\n+ \"engines\": {\\n+ \"node\": \">=0.10.0\"\\n+ }\\n+ },\\n+ \"node_modules/write-file-atomic\": {\\n+ \"version\": \"2.4.3\",\\n+ \"resolved\": \"https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.3.tgz\",\\n+ \"integrity\": \"sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ==\",\\n+ \"dev\": true,\\n+ \"license\": \"ISC\",\\n+ \"dependencies\": {\\n+ \"graceful-fs\": \"^4.1.11\",\\n+ \"imurmurhash\": \"^0.1.4\",\\n+ \"signal-exit\": \"^3.0.2\"\\n+ }\\n+ },\\n+ \"node_modules/xtend\": {\\n+ \"version\": \"4.0.2\",\\n+ \"resolved\": \"https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz\",\\n+ \"integrity\": \"sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==\",\\n+ \"license\": \"MIT\",\\n+ \"engines\": {\\n+ \"node\": \">=0.4\"\\n+ }\\n+ },\\n+ \"node_modules/yallist\": {\\n+ \"version\": \"2.1.2\",\\n+ \"resolved\": \"https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz\",\\n+ \"integrity\": \"sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==\",\\n+ \"dev\": true,\\n+ \"license\": \"ISC\"\\n+ },\\n+ \"node_modules/yapool\": {\\n+ \"version\": \"1.0.0\",\\n+ \"resolved\": \"https://registry.npmjs.org/yapool/-/yapool-1.0.0.tgz\",\\n+ \"integrity\": \"sha512-RONBZndo8Lo8pKPfORRxr2DIk2NZKIml654o4kaIu7RXVxQCKsAN6AqrcoZsI3h+2H5YO2mD/04Wy4LbAgd+Pg==\",\\n+ \"dev\": true,\\n+ \"license\": \"ISC\"\\n+ }\\n+ }\\n+}\\n'}\n ok 14 - parseAttrFromString(content, { list: [\"data-i18n\"] }) # time=4.455ms\n \n # Subtest: parseAttrFromString(content, customHandler)\n ok 1 - should be equivalent\n ok 2 - should be equivalent\n ok 3 - should be equal\n ok 4 - should be equal\n ok 5 - should be equal\n 1..5\n ok 15 - parseAttrFromString(content, customHandler) # time=4.948ms\n \n # Subtest: parseAttrFromString(content, { list: [\"data-i18n\"] }, customHandler)\n ok 1 - should be equivalent\n ok 2 - should be equivalent\n ok 3 - should be equal\n ok 4 - should be equal\n ok 5 - should be equal\n 1..5\n ok 16 - parseAttrFromString(content, { list: [\"data-i18n\"] }, customHandler) # time=7.416ms\n \n # Subtest: Gettext style i18n\n ok 1 - should be equivalent\n 1..1\n ok 17 - Gettext style i18n # time=6.941ms\n \n # Subtest: Quotes\n ok 1 - should be equivalent\n 1..1\n ok 18 - Quotes # time=2.05ms\n \n # Subtest: Disable nsSeparator\n ok 1 - The key should not use default nsSeparator : to split\n 1..1\n ok 19 - Disable nsSeparator # time=0.606ms\n \n # Subtest: Disable keySeparator\n ok 1 - The key should not use default keySeparator . to split\n 1..1\n ok 20 - Disable keySeparator # time=0.598ms\n \n # Subtest: Default nsSeparator\n ok 1 - The key should use default nsSeparator : to split\n 1..1\n ok 21 - Default nsSeparator # time=0.58ms\n \n # Subtest: Default keySeparator\n ok 1 - The key should use default keySeparator . to split\n 1..1\n ok 22 - Default keySeparator # time=0.683ms\n \n # Subtest: Override nsSeparator with a false value\n ok 1 - Override nsSeparator with a false value\n 1..1\n ok 23 - Override nsSeparator with a false value # time=0.789ms\n \n # Subtest: Override keySeparator with a false value\n ok 1 - Override keySeparator with a false value\n 1..1\n ok 24 - Override keySeparator with a false value # time=0.496ms\n \n # Subtest: Multiline (Line Endings: LF)\n ok 1 - should be equivalent\n 1..1\n ok 25 - Multiline (Line Endings: LF) # time=0.999ms\n \n # Subtest: Multiline (Line Endings: CRLF)\n ok 1 - should be equivalent\n 1..1\n ok 26 - Multiline (Line Endings: CRLF) # time=1.222ms\n \n # Subtest: Plural\n 1..0\n ok 27 - Plural # time=1.994ms\n \n # Subtest: Default options\n ok 1 - should be equivalent\n 1..1\n ok 28 - Default options # time=9.916ms\n \n # Subtest: User defined function\n ok 1 - should be equivalent\n 1..1\n ok 29 - User defined function # time=8.275ms\n \n # Subtest: Namespace\n ok 1 - should be equivalent\n 1..1\n ok 30 - Namespace # time=2.15ms\n \n # Subtest: Context\n 1..0\n ok 31 - Context # time=1.702ms\n \n # Subtest: Default options\n ok 1 - should be equivalent\n 1..1\n ok 32 - Default options # time=1.479ms\n \n # Subtest: User defined function\n ok 1 - should be equivalent\n 1..1\n ok 33 - User defined function # time=2.385ms\n \n # Subtest: Context with plural combined\n 1..0\n ok 34 - Context with plural combined # time=4.576ms\n \n # Subtest: Default options\n ok 1 - should be equivalent\n 1..1\n ok 35 - Default options # time=6.261ms\n \n # Subtest: Context form only\n ok 1 - should be equivalent\n 1..1\n ok 36 - Context form only # time=4.391ms\n \n # Subtest: No context fallback\n ok 1 - should be equivalent\n 1..1\n ok 37 - No context fallback # time=3.206ms\n \n # Subtest: Plural form only\n ok 1 - should be equivalent\n 1..1\n ok 38 - Plural form only # time=0.549ms\n \n # Subtest: No plural fallback\n ok 1 - should be equivalent\n 1..1\n ok 39 - No plural fallback # time=2.775ms\n \n # Subtest: parser.toJSON()\n ok 1 - should be equivalent\n 1..1\n ok 40 - parser.toJSON() # time=1.062ms\n \n # Subtest: parser.toJSON({ sort: true })\n ok 1 - should be equivalent\n 1..1\n ok 41 - parser.toJSON({ sort: true }) # time=0.471ms\n \n # Subtest: parser.toJSON({ sort: true, space: 2 })\n ok 1 - should be equivalent\n 1..1\n ok 42 - parser.toJSON({ sort: true, space: 2 }) # time=0.419ms\n \n # Subtest: Extract properties from template literals\n ok 1 - should be equivalent\n 1..1\n ok 43 - Extract properties from template literals # time=2.008ms\n \n 1..43\n # failed 3 of 43 tests\n # time=343.098ms\nnot ok 1 - test/parser.js # time=1966.608ms\n ---\n timeout: 30000\n file: test/parser.js\n command: /usr/local/bin/node\n args:\n - '--require'\n - babel-register\n - '--require'\n - babel-polyfill\n - test/parser.js\n stdio:\n - 0\n - pipe\n - 2\n cwd: /testbed\n exitCode: 1\n ...\n\n1..1\n# failed 1 test\n# time=2007.202ms\n\n",
|
| 5 |
+
"format-code-task-000932": "{'verifier_returncode': 1, 'resolved': False, 'test_duration': 0.44805169105529785, 'test_command': 'bash /testbed/mimo_test_command.sh', 'model_patch': ''}\n============================= test session starts ==============================\nplatform linux -- Python 3.10.18, pytest-7.0.1, pluggy-1.0.0 -- /usr/local/bin/python\ncachedir: .pytest_cache\nSEED is 1791472761.5430846\nrootdir: /testbed, configfile: pytest.ini\nplugins: cov-3.0.0\ncollecting ... collected 6 items\n\ntests/test_json.py::test_json_writer_validator_true_raises_on_type_mismatch FAILED [ 16%]\ntests/test_json.py::test_json_writer_validator_true_passes_valid_records FAILED [ 33%]\ntests/test_json.py::test_json_writer_no_validator_is_backward_compatible PASSED [ 50%]\ntests/test_json.py::test_json_writer_custom_validator_callable_is_invoked FAILED [ 66%]\ntests/test_json.py::test_json_writer_custom_validator_can_raise FAILED [ 83%]\ntests/test_json.py::test_json_writer_issue_reproduction_with_validator FAILED [100%]\n\n=================================== FAILURES ===================================\n___________ test_json_writer_validator_true_raises_on_type_mismatch ____________\nTraceback (most recent call last):\n File \"/testbed/tests/test_json.py\", line 696, in test_json_writer_validator_true_raises_on_type_mismatch\n json_writer(text_stream, parsed_schema, records, validator=True)\nTypeError: json_writer() got an unexpected keyword argument 'validator'\n_____________ test_json_writer_validator_true_passes_valid_records _____________\nTraceback (most recent call last):\n File \"/testbed/tests/test_json.py\", line 708, in test_json_writer_validator_true_passes_valid_records\n json_writer(text_stream, parsed_schema, records, validator=True)\nTypeError: json_writer() got an unexpected keyword argument 'validator'\n____________ test_json_writer_custom_validator_callable_is_invoked _____________\nTraceback (most recent call last):\n File \"/testbed/tests/test_json.py\", line 750, in test_json_writer_custom_validator_callable_is_invoked\n json_writer(text_stream, parsed_schema, records, validator=my_validator)\nTypeError: json_writer() got an unexpected keyword argument 'validator'\n_________________ test_json_writer_custom_validator_can_raise __________________\nTraceback (most recent call last):\n File \"/testbed/tests/test_json.py\", line 769, in test_json_writer_custom_validator_can_raise\n json_writer(text_stream, parsed_schema, records, validator=my_validator)\nTypeError: json_writer() got an unexpected keyword argument 'validator'\n______________ test_json_writer_issue_reproduction_with_validator ______________\nTraceback (most recent call last):\n File \"/testbed/tests/test_json.py\", line 788, in test_json_writer_issue_reproduction_with_validator\n json_writer(text_stream, parsed_schema, records, validator=True)\nTypeError: json_writer() got an unexpected keyword argument 'validator'\n==================================== PASSES ====================================\n=========================== short test summary info ============================\nPASSED tests/test_json.py::test_json_writer_no_validator_is_backward_compatible\nFAILED tests/test_json.py::test_json_writer_validator_true_raises_on_type_mismatch\nFAILED tests/test_json.py::test_json_writer_validator_true_passes_valid_records\nFAILED tests/test_json.py::test_json_writer_custom_validator_callable_is_invoked\nFAILED tests/test_json.py::test_json_writer_custom_validator_can_raise - Type...\nFAILED tests/test_json.py::test_json_writer_issue_reproduction_with_validator\n========================= 5 failed, 1 passed in 0.06s ==========================\n\n",
|
| 6 |
+
"format-code-task-001457": "{'verifier_returncode': 1, 'resolved': False, 'test_duration': 3.4024252891540527, 'test_command': 'bash /testbed/mimo_test_command.sh', 'model_patch': ''}\nFAIL src/action.test.js\n parseSecretsInput\n \u2713 parses simple secret (3 ms)\n \u2713 parses mapped secret (1 ms)\n \u2713 fails on invalid mapped name (5 ms)\n \u2713 fails on invalid path for mapped\n \u2713 parses multiple secrets (1 ms)\n \u2713 parses multiple complex secret input\n \u2713 parses multiline input (2 ms)\n parseHeaders\n \u2713 parses simple header (2 ms)\n \u2713 parses simple header with whitespace (1 ms)\n \u2713 parses multiple headers (1 ms)\n \u2713 parses null response\n exportSecrets\n \u2713 simple secret retrieval (4 ms)\n \u2713 intl secret retrieval (4 ms)\n \u2713 mapped secret retrieval (4 ms)\n \u2713 simple secret retrieval from K/V v1 (1 ms)\n \u2713 simple secret retrieval with extra headers (2 ms)\n \u2713 nested secret retrieval (1 ms)\n \u2713 export Vault token (1 ms)\n \u2713 not export Vault token (1 ms)\n \u2713 single-line secret gets masked (2 ms)\n \u2713 multi-line secret gets masked for each line (1 ms)\n parseSecretsInput optional\n \u2713 returns empty array for empty string\n exportSecrets optional secrets\n \u2713 exports only VAULT_TOKEN when secrets is empty and exportToken=true (1 ms)\n \u2715 does not mark secrets input as required (3 ms)\n \u2713 does not throw when secrets is empty and exportToken is not set (2 ms)\n \u2715 exports VAULT_TOKEN when secrets input is missing entirely and exportToken=true (2 ms)\n\n \u25cf exportSecrets optional secrets \u203a does not mark secrets input as required\n\n expect(jest.fn()).not.toHaveBeenCalledWith(...expected)\n\n Expected: not \"secrets\", ObjectContaining {\"required\": true}\n Received\n 6: \"secrets\", {\"required\": true}\n\n Number of calls: 14\n\n 388 | \n 389 | \n > 390 | expect(core.getInput).not.toHaveBeenCalledWith('secrets', expect.objectContaining({ required: true }));\n | ^\n 391 | });\n 392 | \n 393 | it('does not throw when secrets is empty and exportToken is not set', async () => {\n\n at Object.<anonymous> (src/action.test.js:390:35)\n\n \u25cf exportSecrets optional secrets \u203a exports VAULT_TOKEN when secrets input is missing entirely and exportToken=true\n\n TypeError: Cannot read properties of undefined (reading 'split')\n\n 105 | function parseSecretsInput(secretsInput) {\n 106 | const secrets = secretsInput\n > 107 | .split(';')\n | ^\n 108 | .filter(key => !!key)\n 109 | .map(key => key.trim())\n 110 | .filter(key => key.length !== 0);\n\n at parseSecretsInput (src/action.js:107:10)\n at exportSecrets (src/action.js:18:28)\n at Object.<anonymous> (src/action.test.js:410:15)\n\nTest Suites: 1 failed, 1 total\nTests: 2 failed, 24 passed, 26 total\nSnapshots: 0 total\nTime: 1.061 s\nRan all test suites matching /src\\/action.test.js/i.\n\n",
|
| 7 |
+
"format-code-task-000666": "{'verifier_returncode': 1, 'resolved': False, 'test_duration': 0.6858139038085938, 'test_command': 'bash /workspace/repo/mimo_test_command.sh', 'model_patch': ''}\n\n___________________ test_get_returns_exact_multiphase_water ____________________\n\n def test_get_returns_exact_multiphase_water():\n \n \n \n> actual = pm.get(\"mp.H2O\")\n ^^^^^^\nE AttributeError: module 'pyromat' has no attribute 'get'\n\nusercase-test-coderl/test_get_catalog_lookup.py:66: AttributeError\n_______________ test_get_returns_another_exact_loaded_substance ________________\n\n def test_get_returns_another_exact_loaded_substance():\n \n \n \n> actual = pm.get(\"ig.Ar\")\n ^^^^^^\nE AttributeError: module 'pyromat' has no attribute 'get'\n\nusercase-test-coderl/test_get_catalog_lookup.py:76: AttributeError\n____________________ test_get_reports_invalid_substance_id _____________________\n\ncapsys = <_pytest.capture.CaptureFixture object at 0x7ffffe076cf0>\n\n def test_get_reports_invalid_substance_id(capsys):\n \n \n \n with pytest.raises(pm.utility.PMParamError) as excinfo:\n> pm.get(\"not.a.real.substance\")\n ^^^^^^\nE AttributeError: module 'pyromat' has no attribute 'get'\n\nusercase-test-coderl/test_get_catalog_lookup.py:87: AttributeError\n_________________ test_get_requires_exact_case_for_loaded_ids __________________\n\ncapsys = <_pytest.capture.CaptureFixture object at 0x7fffce660b00>\n\n def test_get_requires_exact_case_for_loaded_ids(capsys):\n \n \n \n with pytest.raises(pm.utility.PMParamError) as excinfo:\n> pm.get(\"ig.o2\")\n ^^^^^^\nE AttributeError: module 'pyromat' has no attribute 'get'\n\nusercase-test-coderl/test_get_catalog_lookup.py:98: AttributeError\n______________ test_get_is_referentially_transparent_for_same_id _______________\n\n def test_get_is_referentially_transparent_for_same_id():\n> first = pm.get(\"ig.O2\")\n ^^^^^^\nE AttributeError: module 'pyromat' has no attribute 'get'\n\nusercase-test-coderl/test_get_catalog_lookup.py:105: AttributeError\n___________ test_get_does_not_mutate_caller_input_or_loaded_catalog ____________\n\n def test_get_does_not_mutate_caller_input_or_loaded_catalog():\n idstr = \"mp.H2O\"\n original_idstr = copy.deepcopy(idstr)\n before_catalog = _catalog_fingerprint()\n \n> actual = pm.get(idstr)\n ^^^^^^\nE AttributeError: module 'pyromat' has no attribute 'get'\n\nusercase-test-coderl/test_get_catalog_lookup.py:120: AttributeError\n__________________ test_get_has_same_result_in_fresh_process ___________________\n\n def test_get_has_same_result_in_fresh_process():\n> obj = pm.get(\"ig.CO2\")\n ^^^^^^\nE AttributeError: module 'pyromat' has no attribute 'get'\n\nusercase-test-coderl/test_get_catalog_lookup.py:129: AttributeError\n____________ test_get_does_not_scan_files_write_cwd_or_use_network _____________\n\ntmp_path = PosixPath('/tmp/pytest-of-arena-agent/pytest-0/test_get_does_not_scan_files_w0')\nmonkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fffcdef55b0>\n\n def test_get_does_not_scan_files_write_cwd_or_use_network(tmp_path, monkeypatch):\n before_entries = sorted(path.name for path in tmp_path.iterdir())\n \n def forbidden_side_effect(*args, **kwargs):\n raise AssertionError(\"pm.get performed undeclared IO, scanning, or networking\")\n \n with monkeypatch.context() as guard:\n guard.chdir(tmp_path)\n guard.setattr(builtins, \"open\", forbidden_side_effect)\n guard.setattr(os, \"listdir\", forbidden_side_effect)\n guard.setattr(os, \"scandir\", forbidden_side_effect)\n guard.setattr(os, \"walk\", forbidden_side_effect)\n guard.setattr(socket, \"socket\", forbidden_side_effect)\n \n> actual = pm.get(\"ig.O2\")\n ^^^^^^\nE AttributeError: module 'pyromat' has no attribute 'get'\n\nusercase-test-coderl/test_get_catalog_lookup.py:171: AttributeError\n=========================== short test summary info ============================\nFAILED usercase-test-coderl/test_get_catalog_lookup.py::test_get_returns_exact_ideal_gas_oxygen\nFAILED usercase-test-coderl/test_get_catalog_lookup.py::test_get_returns_exact_multiphase_water\nFAILED usercase-test-coderl/test_get_catalog_lookup.py::test_get_returns_another_exact_loaded_substance\nFAILED usercase-test-coderl/test_get_catalog_lookup.py::test_get_reports_invalid_substance_id\nFAILED usercase-test-coderl/test_get_catalog_lookup.py::test_get_requires_exact_case_for_loaded_ids\nFAILED usercase-test-coderl/test_get_catalog_lookup.py::test_get_is_referentially_transparent_for_same_id\nFAILED usercase-test-coderl/test_get_catalog_lookup.py::test_get_does_not_mutate_caller_input_or_loaded_catalog\nFAILED usercase-test-coderl/test_get_catalog_lookup.py::test_get_has_same_result_in_fresh_process\nFAILED usercase-test-coderl/test_get_catalog_lookup.py::test_get_does_not_scan_files_write_cwd_or_use_network\n============================== 9 failed in 0.32s ===============================\n\n",
|
| 8 |
+
"format-code-task-001661": "{'verifier_returncode': 2, 'resolved': False, 'test_duration': 0.6830809116363525, 'test_command': 'bash /workspace/repo/mimo_test_command.sh', 'model_patch': ''}\n============================= test session starts ==============================\nplatform linux -- Python 3.12.13, pytest-9.1.1, pluggy-1.6.0 -- /usr/local/bin/python\ncachedir: .pytest_cache\nrootdir: /workspace/repo\ncollecting ... collected 0 items / 1 error\n\n==================================== ERRORS ====================================\n____ ERROR collecting usercase-test-coderl/test_bidirectional_friendship.py ____\nImportError while importing test module '/workspace/repo/usercase-test-coderl/test_bidirectional_friendship.py'.\nHint: make sure your test modules/packages have valid Python names.\nTraceback:\n/usr/local/lib/python3.12/importlib/__init__.py:90: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nusercase-test-coderl/test_bidirectional_friendship.py:47: in <module>\n from friends.models import Friendship, FriendshipInvitation, FriendshipInvitationHistory, friend_set_for\nE ImportError: cannot import name 'friend_set_for' from 'friends.models' (/workspace/repo/friends/models.py)\n=========================== short test summary info ============================\nERROR usercase-test-coderl/test_bidirectional_friendship.py\n!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!\n=============================== 1 error in 0.28s ===============================\n\n",
|
| 9 |
+
"format-code-task-002658": "{'verifier_returncode': 1, 'resolved': False, 'test_duration': 2.0652737617492676, 'test_command': 'bash /testbed/mimo_test_command.sh', 'model_patch': ''}\n\n[baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`\n \u2716 use extendEnv with shell:true and explicit empty env (sync) \n \u2716 default extendEnv with shell:true merges process.env and provided env (sync) \n \u2714 extendEnv:false with shell:true uses only provided env, not process.env\n \u2716 use extendEnv with shell:true and explicit empty env (async) \n \u2716 default extendEnv with m.shell() merges process.env and provided env \n \u2714 do not extend environment with `extendEnv` option (202ms)\n\n 4 tests failed\n\n use extendEnv with shell:true and explicit empty env (sync)\n\n /testbed/test.js:492\n\n 491: const {stdout} = m.sync('echo $FOO', {shell: true, env: {}, extendEnv\u2026\n 492: t.is(stdout, 'foo'); \n 493: }); \n\n Difference:\n\n - ''\n + 'foo'\n\n\n\n default extendEnv with shell:true merges process.env and provided env (sync)\n\n /testbed/test.js:502\n\n 501: const {stdout} = m.sync('echo $FOO+$BAR', {shell: true, env: {BAR: 'b\u2026\n 502: t.is(stdout, 'foo+bar'); \n 503: }); \n\n Difference:\n\n - '+bar'\n + 'foo+bar'\n\n\n\n use extendEnv with shell:true and explicit empty env (async)\n\n /testbed/test.js:497\n\n 496: const {stdout} = await m('echo $FOO', {shell: true, env: {}, extendEn\u2026\n 497: t.is(stdout, 'foo'); \n 498: }); \n\n Difference:\n\n - ''\n + 'foo'\n\n\n\n default extendEnv with m.shell() merges process.env and provided env\n\n /testbed/test.js:507\n\n 506: const {stdout} = await m.shell('echo $FOO+$BAR', {env: {BAR: 'bar'}});\n 507: t.is(stdout, 'foo+bar'); \n 508: }); \n\n Difference:\n\n - '+bar'\n + 'foo+bar'\n\n\n"
|
| 10 |
+
}
|
prepare.py
CHANGED
|
@@ -10,7 +10,7 @@ from server import VerifierExecution
|
|
| 10 |
root = Path("/opt/arena")
|
| 11 |
instance = json.loads((root / "instance.json").read_text())
|
| 12 |
cwd = Path(instance["cwd"])
|
| 13 |
-
env = OpenSourceCodeEnvironment(VerifierExecution(cwd=str(cwd)), instance)
|
| 14 |
base = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=cwd, text=True).strip()
|
| 15 |
if not env._strip_future_commits(base):
|
| 16 |
raise RuntimeError("Upstream history stripping failed")
|
|
|
|
| 10 |
root = Path("/opt/arena")
|
| 11 |
instance = json.loads((root / "instance.json").read_text())
|
| 12 |
cwd = Path(instance["cwd"])
|
| 13 |
+
env = OpenSourceCodeEnvironment(VerifierExecution(cwd=str(cwd), privileged=True), instance)
|
| 14 |
base = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=cwd, text=True).strip()
|
| 15 |
if not env._strip_future_commits(base):
|
| 16 |
raise RuntimeError("Upstream history stripping failed")
|
server.py
CHANGED
|
@@ -4,6 +4,7 @@ import json
|
|
| 4 |
import os
|
| 5 |
from pathlib import Path
|
| 6 |
import shutil
|
|
|
|
| 7 |
import signal
|
| 8 |
import subprocess
|
| 9 |
import tarfile
|
|
@@ -38,12 +39,23 @@ class ShellObservation(Observation):
|
|
| 38 |
class VerifierExecution(LocalEnvironment):
|
| 39 |
"""Keep upstream verifier operations in the container, with bounded processes."""
|
| 40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
def execute(self, command, cwd="", timeout=None):
|
| 42 |
return run_command(command, cwd or str(WORKSPACE), timeout or 120,
|
| 43 |
-
agent=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
|
| 45 |
|
| 46 |
-
def run_command(command, cwd, timeout, *, agent):
|
| 47 |
env = dict(os.environ)
|
| 48 |
env.pop("PYTHONPATH", None)
|
| 49 |
if agent:
|
|
@@ -52,7 +64,7 @@ def run_command(command, cwd, timeout, *, agent):
|
|
| 52 |
with tempfile.TemporaryFile() as output:
|
| 53 |
proc = subprocess.Popen(
|
| 54 |
["/bin/bash", "-c", command], cwd=cwd, env=env,
|
| 55 |
-
stdout=output, stderr=subprocess.STDOUT, start_new_session=True,
|
| 56 |
user=AGENT_UID if agent else None,
|
| 57 |
group=AGENT_UID if agent else None,
|
| 58 |
extra_groups=[] if agent else None,
|
|
|
|
| 4 |
import os
|
| 5 |
from pathlib import Path
|
| 6 |
import shutil
|
| 7 |
+
import shlex
|
| 8 |
import signal
|
| 9 |
import subprocess
|
| 10 |
import tarfile
|
|
|
|
| 39 |
class VerifierExecution(LocalEnvironment):
|
| 40 |
"""Keep upstream verifier operations in the container, with bounded processes."""
|
| 41 |
|
| 42 |
+
def __init__(self, *, privileged=False, **kwargs):
|
| 43 |
+
super().__init__(**kwargs)
|
| 44 |
+
self.privileged = privileged
|
| 45 |
+
|
| 46 |
def execute(self, command, cwd="", timeout=None):
|
| 47 |
return run_command(command, cwd or str(WORKSPACE), timeout or 120,
|
| 48 |
+
agent=not self.privileged)
|
| 49 |
+
|
| 50 |
+
def copy_to(self, src_path, dest_path, **kwargs):
|
| 51 |
+
with open(src_path, "rb") as source:
|
| 52 |
+
result = run_command("cat > " + shlex.quote(dest_path), str(WORKSPACE),
|
| 53 |
+
120, agent=not self.privileged, stdin=source)
|
| 54 |
+
if result["returncode"] != 0:
|
| 55 |
+
raise RuntimeError("Verifier file transfer failed")
|
| 56 |
|
| 57 |
|
| 58 |
+
def run_command(command, cwd, timeout, *, agent, stdin=None):
|
| 59 |
env = dict(os.environ)
|
| 60 |
env.pop("PYTHONPATH", None)
|
| 61 |
if agent:
|
|
|
|
| 64 |
with tempfile.TemporaryFile() as output:
|
| 65 |
proc = subprocess.Popen(
|
| 66 |
["/bin/bash", "-c", command], cwd=cwd, env=env,
|
| 67 |
+
stdin=stdin, stdout=output, stderr=subprocess.STDOUT, start_new_session=True,
|
| 68 |
user=AGENT_UID if agent else None,
|
| 69 |
group=AGENT_UID if agent else None,
|
| 70 |
extra_groups=[] if agent else None,
|
verify.py
CHANGED
|
@@ -3,6 +3,7 @@ import argparse
|
|
| 3 |
import json
|
| 4 |
from pathlib import Path
|
| 5 |
import subprocess
|
|
|
|
| 6 |
import time
|
| 7 |
import uuid
|
| 8 |
|
|
@@ -74,6 +75,12 @@ try:
|
|
| 74 |
shell("printf changed > .arena-reset-marker")
|
| 75 |
call("reset", {"task_id": args.task_id})
|
| 76 |
check("reset_removes_previous_edits", shell("test ! -e .arena-reset-marker")["observation"]["exit_code"] == 0)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
if args.solution:
|
| 78 |
script = args.solution.read_text()
|
| 79 |
repaired = shell("python - <<'ARENA_REPAIR'\n" + script + "\nARENA_REPAIR")
|
|
|
|
| 3 |
import json
|
| 4 |
from pathlib import Path
|
| 5 |
import subprocess
|
| 6 |
+
import shlex
|
| 7 |
import time
|
| 8 |
import uuid
|
| 9 |
|
|
|
|
| 75 |
shell("printf changed > .arena-reset-marker")
|
| 76 |
call("reset", {"task_id": args.task_id})
|
| 77 |
check("reset_removes_previous_edits", shell("test ! -e .arena-reset-marker")["observation"]["exit_code"] == 0)
|
| 78 |
+
probe = "sh -c 'id -u > /tmp/arena-git-hook-uid'"
|
| 79 |
+
shell("git config core.fsmonitor " + shlex.quote(probe))
|
| 80 |
+
call("step", {"operation": "finish"})
|
| 81 |
+
hook_uid = subprocess.check_output(["docker", "exec", name, "cat", "/tmp/arena-git-hook-uid"], text=True).strip()
|
| 82 |
+
check("verifier_git_hooks_are_unprivileged", hook_uid == "2000")
|
| 83 |
+
call("reset", {"task_id": args.task_id})
|
| 84 |
if args.solution:
|
| 85 |
script = args.solution.read_text()
|
| 86 |
repaired = shell("python - <<'ARENA_REPAIR'\n" + script + "\nARENA_REPAIR")
|