MiMo-V2.6-RL code in Harbor (mimo_harbor 1.2.0): hardening + plain-language deviations, Daytona job
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- README.md +12 -2
- jobs/code.daytona.yaml +55 -0
- manifest.json +0 -0
- registry.json +1 -1
- tasks/format-code-task-000001/environment/setup/files/blocklist +29 -0
- tasks/format-code-task-000001/environment/setup/setup.sh +21 -2
- tasks/format-code-task-000001/task.toml +2 -2
- tasks/format-code-task-000002/environment/setup/files/blocklist +29 -0
- tasks/format-code-task-000002/environment/setup/setup.sh +21 -2
- tasks/format-code-task-000002/task.toml +2 -2
- tasks/format-code-task-000003/environment/setup/files/blocklist +29 -0
- tasks/format-code-task-000003/environment/setup/setup.sh +21 -2
- tasks/format-code-task-000003/task.toml +2 -2
- tasks/format-code-task-000004/environment/setup/files/blocklist +29 -0
- tasks/format-code-task-000004/environment/setup/setup.sh +21 -2
- tasks/format-code-task-000004/task.toml +2 -2
- tasks/format-code-task-000007/environment/setup/files/blocklist +29 -0
- tasks/format-code-task-000007/environment/setup/setup.sh +21 -2
- tasks/format-code-task-000007/task.toml +2 -2
- tasks/format-code-task-000008/environment/setup/files/blocklist +29 -0
- tasks/format-code-task-000008/environment/setup/setup.sh +21 -2
- tasks/format-code-task-000008/task.toml +2 -2
- tasks/format-code-task-000011/environment/setup/files/blocklist +29 -0
- tasks/format-code-task-000011/environment/setup/setup.sh +21 -2
- tasks/format-code-task-000011/task.toml +2 -2
- tasks/format-code-task-000013/environment/setup/files/blocklist +29 -0
- tasks/format-code-task-000013/environment/setup/setup.sh +21 -2
- tasks/format-code-task-000013/task.toml +2 -2
- tasks/format-code-task-000014/environment/setup/files/blocklist +29 -0
- tasks/format-code-task-000014/environment/setup/setup.sh +21 -2
- tasks/format-code-task-000014/task.toml +2 -2
- tasks/format-code-task-000016/environment/setup/files/blocklist +29 -0
- tasks/format-code-task-000016/environment/setup/setup.sh +21 -2
- tasks/format-code-task-000016/task.toml +2 -2
- tasks/format-code-task-000018/environment/setup/files/blocklist +29 -0
- tasks/format-code-task-000018/environment/setup/setup.sh +21 -2
- tasks/format-code-task-000018/task.toml +2 -2
- tasks/format-code-task-000019/environment/setup/files/blocklist +29 -0
- tasks/format-code-task-000019/environment/setup/setup.sh +21 -2
- tasks/format-code-task-000019/task.toml +2 -2
- tasks/format-code-task-000020/environment/setup/files/blocklist +29 -0
- tasks/format-code-task-000020/environment/setup/setup.sh +21 -2
- tasks/format-code-task-000020/task.toml +2 -2
- tasks/format-code-task-000022/environment/setup/files/blocklist +29 -0
- tasks/format-code-task-000022/environment/setup/setup.sh +21 -2
- tasks/format-code-task-000022/task.toml +2 -2
- tasks/format-code-task-000023/environment/setup/files/blocklist +29 -0
- tasks/format-code-task-000023/environment/setup/setup.sh +21 -2
- tasks/format-code-task-000023/task.toml +2 -2
- tasks/format-code-task-000024/environment/setup/files/blocklist +29 -0
README.md
CHANGED
|
@@ -67,6 +67,8 @@ Example: [task.toml](https://huggingface.co/datasets/FineEnvs/MiMo-V2.6-RL-harbo
|
|
| 67 |
hf download FineEnvs/MiMo-V2.6-RL-harbor-code --repo-type dataset --local-dir mimo-code
|
| 68 |
cd mimo-code
|
| 69 |
PYTHONPATH=agents HF_TOKEN=hf_... harbor run -y -c jobs/code.yaml
|
|
|
|
|
|
|
| 70 |
```
|
| 71 |
|
| 72 |
The job runs `agents/mimo_opencode.py` (OpenCode 1.18.32) on HF Sandbox with the reference settings: the step
|
|
@@ -83,7 +85,7 @@ openenv harbor serve --dataset FineEnvs/MiMo-V2.6-RL-harbor-code --llm-url http:
|
|
| 83 |
|
| 84 |
## How it was converted
|
| 85 |
|
| 86 |
-
With the [mimo_harbor adapter](https://github.com/adithya-s-k/FineEnvs/tree/
|
| 87 |
a digest lock, so a rerun produces byte-identical tasks (`manifest.json`). Setup and grading follow Xiaomi's
|
| 88 |
harness step by step, as the explorer's runner does, using the same vendored graders:
|
| 89 |
|
|
@@ -92,7 +94,15 @@ harness step by step, as the explorer's runner does, using the same vendored gra
|
|
| 92 |
so Harbor records an error rather than a 0.
|
| 93 |
- Images are pinned by digest; HF Sandbox and other prebuilt-image backends run them without a build step.
|
| 94 |
|
| 95 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
|
| 97 |
## Validation
|
| 98 |
|
|
|
|
| 67 |
hf download FineEnvs/MiMo-V2.6-RL-harbor-code --repo-type dataset --local-dir mimo-code
|
| 68 |
cd mimo-code
|
| 69 |
PYTHONPATH=agents HF_TOKEN=hf_... harbor run -y -c jobs/code.yaml
|
| 70 |
+
# or on Daytona (builds the Dockerfile, runs the agent unprivileged natively — closer to Xiaomi's pods):
|
| 71 |
+
DAYTONA_API_KEY=... DAYTONA_API_URL=... PYTHONPATH=agents HF_TOKEN=hf_... harbor run -y -c jobs/code.daytona.yaml
|
| 72 |
```
|
| 73 |
|
| 74 |
The job runs `agents/mimo_opencode.py` (OpenCode 1.18.32) on HF Sandbox with the reference settings: the step
|
|
|
|
| 85 |
|
| 86 |
## How it was converted
|
| 87 |
|
| 88 |
+
With the [mimo_harbor adapter](https://github.com/adithya-s-k/FineEnvs/tree/main/tooling/mimo-rl-explorer/mimo_harbor). It reads the source at one pinned revision and every image through
|
| 89 |
a digest lock, so a rerun produces byte-identical tasks (`manifest.json`). Setup and grading follow Xiaomi's
|
| 90 |
harness step by step, as the explorer's runner does, using the same vendored graders:
|
| 91 |
|
|
|
|
| 94 |
so Harbor records an error rather than a 0.
|
| 95 |
- Images are pinned by digest; HF Sandbox and other prebuilt-image backends run them without a build step.
|
| 96 |
|
| 97 |
+
## Where this differs from Xiaomi's setup, in plain terms
|
| 98 |
+
|
| 99 |
+
The task, its files, how it is graded, and the reward you get are **exactly Xiaomi's**. These are the only differences, and how we handle each:
|
| 100 |
+
|
| 101 |
+
- **The agent is [OpenCode](https://opencode.ai), not Xiaomi's own agent.** The model gets the same instruction and the same reward — only the tool it uses to do the work is different.
|
| 102 |
+
- **It can't look the answer up online.** Xiaomi ran with no internet. We let the model reach its own model API but block, by name, the places an answer could come from — code sites (GitHub, GitLab, …), search engines, this dataset's own page on the Hub, and package registries — so they don't resolve while it works.
|
| 103 |
+
- **No answer in the git history.** If an image still carries the fix in its git log, we delete those later commits before the agent starts, so it can't be read out of history.
|
| 104 |
+
|
| 105 |
+
That's the whole list. The detailed, technical version is in the [adapter README](https://github.com/adithya-s-k/FineEnvs/tree/main/tooling/mimo-rl-explorer/mimo_harbor#deviations-from-the-reference-and-why).
|
| 106 |
|
| 107 |
## Validation
|
| 108 |
|
jobs/code.daytona.yaml
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Same, on Daytona: builds the Dockerfile and runs the agent as the task's unprivileged user natively.
|
| 2 |
+
# Needs DAYTONA_API_KEY / DAYTONA_API_URL and `pip install 'harbor[daytona]'`.
|
| 3 |
+
# From the repo root: PYTHONPATH=agents HF_TOKEN=... harbor run -y -c jobs/code.daytona.yaml
|
| 4 |
+
jobs_dir: jobs/code
|
| 5 |
+
n_attempts: 1
|
| 6 |
+
timeout_multiplier: 1.0
|
| 7 |
+
orchestrator:
|
| 8 |
+
type: local
|
| 9 |
+
n_concurrent_trials: 4
|
| 10 |
+
environment:
|
| 11 |
+
type: daytona
|
| 12 |
+
delete: true
|
| 13 |
+
agents:
|
| 14 |
+
- import_path: mimo_opencode:MimoOpenCode
|
| 15 |
+
model_name: hf/zai-org/GLM-5.3:deepinfra
|
| 16 |
+
kwargs:
|
| 17 |
+
version: 1.18.32
|
| 18 |
+
opencode_config:
|
| 19 |
+
autoupdate: false
|
| 20 |
+
share: disabled
|
| 21 |
+
provider:
|
| 22 |
+
hf:
|
| 23 |
+
npm: '@ai-sdk/openai-compatible'
|
| 24 |
+
name: Hugging Face Inference Providers
|
| 25 |
+
options:
|
| 26 |
+
baseURL: https://router.huggingface.co/v1
|
| 27 |
+
apiKey: '{env:HF_TOKEN}'
|
| 28 |
+
models:
|
| 29 |
+
zai-org/GLM-5.3:deepinfra:
|
| 30 |
+
name: zai-org/GLM-5.3
|
| 31 |
+
tool_call: true
|
| 32 |
+
limit:
|
| 33 |
+
context: 1000000
|
| 34 |
+
output: 65536
|
| 35 |
+
options:
|
| 36 |
+
reasoningEffort: low
|
| 37 |
+
agent:
|
| 38 |
+
build:
|
| 39 |
+
steps: 500
|
| 40 |
+
snapshot: true
|
| 41 |
+
lsp: true
|
| 42 |
+
formatter: true
|
| 43 |
+
permission:
|
| 44 |
+
webfetch: deny
|
| 45 |
+
websearch: deny
|
| 46 |
+
bash: allow
|
| 47 |
+
edit: allow
|
| 48 |
+
env:
|
| 49 |
+
HF_TOKEN: ${HF_TOKEN}
|
| 50 |
+
OPENCODE_DISABLE_MODELS_FETCH: '1'
|
| 51 |
+
OPENCODE_DISABLE_AUTOUPDATE: '1'
|
| 52 |
+
OPENCODE_DISABLE_LSP_DOWNLOAD: '1'
|
| 53 |
+
OPENCODE_DISABLE_SHARE: '1'
|
| 54 |
+
datasets:
|
| 55 |
+
- path: tasks
|
manifest.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
registry.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
[
|
| 2 |
{
|
| 3 |
"name": "mimo-v2.6-rl-harbor-code",
|
| 4 |
-
"version": "1.
|
| 5 |
"description": "MiMo-V2.6-RL Code: 2698 Harbor tasks",
|
| 6 |
"tasks": [
|
| 7 |
{
|
|
|
|
| 1 |
[
|
| 2 |
{
|
| 3 |
"name": "mimo-v2.6-rl-harbor-code",
|
| 4 |
+
"version": "1.2.0",
|
| 5 |
"description": "MiMo-V2.6-RL Code: 2698 Harbor tasks",
|
| 6 |
"tasks": [
|
| 7 |
{
|
tasks/format-code-task-000001/environment/setup/files/blocklist
CHANGED
|
@@ -31,3 +31,32 @@
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
| 34 |
+
0.0.0.0 huggingface.co
|
| 35 |
+
0.0.0.0 www.huggingface.co
|
| 36 |
+
0.0.0.0 hf.co
|
| 37 |
+
0.0.0.0 datasets-server.huggingface.co
|
| 38 |
+
0.0.0.0 cdn-lfs.huggingface.co
|
| 39 |
+
0.0.0.0 cdn-lfs-us-1.huggingface.co
|
| 40 |
+
0.0.0.0 cdn-lfs-eu-1.huggingface.co
|
| 41 |
+
0.0.0.0 xethub.hf.co
|
| 42 |
+
0.0.0.0 cas-bridge.xethub.hf.co
|
| 43 |
+
0.0.0.0 cas-server.xethub.hf.co
|
| 44 |
+
0.0.0.0 transfer.xethub.hf.co
|
| 45 |
+
0.0.0.0 pypi.org
|
| 46 |
+
0.0.0.0 files.pythonhosted.org
|
| 47 |
+
0.0.0.0 registry.npmjs.org
|
| 48 |
+
0.0.0.0 registry.yarnpkg.com
|
| 49 |
+
0.0.0.0 crates.io
|
| 50 |
+
0.0.0.0 static.crates.io
|
| 51 |
+
0.0.0.0 rubygems.org
|
| 52 |
+
0.0.0.0 repo1.maven.org
|
| 53 |
+
0.0.0.0 search.maven.org
|
| 54 |
+
0.0.0.0 nuget.org
|
| 55 |
+
0.0.0.0 api.nuget.org
|
| 56 |
+
0.0.0.0 packagist.org
|
| 57 |
+
0.0.0.0 repo.packagist.org
|
| 58 |
+
0.0.0.0 hex.pm
|
| 59 |
+
0.0.0.0 cdn.jsdelivr.net
|
| 60 |
+
0.0.0.0 unpkg.com
|
| 61 |
+
0.0.0.0 esm.sh
|
| 62 |
+
0.0.0.0 cdnjs.cloudflare.com
|
tasks/format-code-task-000001/environment/setup/setup.sh
CHANGED
|
@@ -21,12 +21,31 @@ echo "$BASE" > "$M/base"
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
|
|
|
| 24 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 25 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 26 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 27 |
if [ "$LATER" -gt 0 ]; then
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
fi
|
| 31 |
write_blocklist
|
| 32 |
|
|
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
| 24 |
+
rm -rf /testbed/node_modules/.cache /testbed/node_modules/.vitest 2>/dev/null; true
|
| 25 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 26 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 27 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 28 |
if [ "$LATER" -gt 0 ]; then
|
| 29 |
+
# mimoagent's default git_leak_prevention is "strip": physically remove the fix-bearing future commits in place so
|
| 30 |
+
# .git stays usable and nothing leaks, even to a root agent. Hide .git only if the strip can't be verified; grading
|
| 31 |
+
# (code_test.sh) restores a hidden .git before it applies the test patch.
|
| 32 |
+
if ( set -eo pipefail
|
| 33 |
+
git checkout --detach $BASE 2>/dev/null || true
|
| 34 |
+
git for-each-ref --format="%(refname)" refs/heads | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 35 |
+
git remote | xargs -r -n1 git remote remove 2>/dev/null || true
|
| 36 |
+
git for-each-ref --format="%(refname)" refs/replace refs/notes refs/stash refs/remotes refs/pull 2>/dev/null | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 37 |
+
git for-each-ref --format="%(refname)" refs/tags | while read t; do if ! git merge-base --is-ancestor "$t" $BASE 2>/dev/null; then git tag -d "${t#refs/tags/}" >/dev/null 2>&1; fi; done || true
|
| 38 |
+
git reflog expire --expire=now --all 2>/dev/null || true
|
| 39 |
+
git -c gc.pruneExpire=now -c gc.cruftPacks=false gc --prune=now 2>/dev/null || true
|
| 40 |
+
set -euo pipefail
|
| 41 |
+
TARGET_TIMESTAMP=$(git show -s --format=%ci $BASE)
|
| 42 |
+
AFTER_TIMESTAMP=$(date -d "$TARGET_TIMESTAMP + 1 second" '+%Y-%m-%d %H:%M:%S')
|
| 43 |
+
COMMIT_COUNT=$(git log --oneline --all --since="$AFTER_TIMESTAMP" | wc -l)
|
| 44 |
+
[ "$COMMIT_COUNT" -eq 0 ] ); then
|
| 45 |
+
echo "history not truncated at ${BASE:0:12}: future commits stripped in place"
|
| 46 |
+
else
|
| 47 |
+
mv "$CWD/.git" "$M/git-hidden" && echo "history not truncated and unstrippable: .git hidden while the agent works"
|
| 48 |
+
fi
|
| 49 |
fi
|
| 50 |
write_blocklist
|
| 51 |
|
tasks/format-code-task-000001/task.toml
CHANGED
|
@@ -6,7 +6,7 @@ description = "Stuck transactions caused by excessive gas limits"
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
-
adapter = "mimo_harbor 1.
|
| 10 |
category = "Go"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Go"]
|
|
@@ -34,7 +34,7 @@ build_timeout_sec = 1800.0
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
-
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
|
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
+
adapter = "mimo_harbor 1.2.0"
|
| 10 |
category = "Go"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Go"]
|
|
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
+
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1YbW/cNhLO5/0V7MZObDeS7KSHAA5cnJv6mgDnJkh8uDu0xYKSKIm2JCoktevNy3+/Z0jtrrQvSQ537ZdaTmxxSM4M543PKJOlMFFcquSmlMbe+z2eYzxPj4/d3+PNv0+OnzxevHv6yfHT757eY8f3/oCnNZZriL/353zus0pWivHazIQOSsFv2DIY2AHN8VzU9nB0HLoflktbtHGYqGpJms1m4RYyb+Q2suaL1a0ROlG1Bf/BikSlolQ83bZbx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va5xpWko7nHv7VvPKORVS0K2Opr1aj3JcpF6Pjuc/3dc/fcPXfP3XP33D1f+/wHU1w18QAoAAA= | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
tasks/format-code-task-000002/environment/setup/files/blocklist
CHANGED
|
@@ -31,3 +31,32 @@
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
| 34 |
+
0.0.0.0 huggingface.co
|
| 35 |
+
0.0.0.0 www.huggingface.co
|
| 36 |
+
0.0.0.0 hf.co
|
| 37 |
+
0.0.0.0 datasets-server.huggingface.co
|
| 38 |
+
0.0.0.0 cdn-lfs.huggingface.co
|
| 39 |
+
0.0.0.0 cdn-lfs-us-1.huggingface.co
|
| 40 |
+
0.0.0.0 cdn-lfs-eu-1.huggingface.co
|
| 41 |
+
0.0.0.0 xethub.hf.co
|
| 42 |
+
0.0.0.0 cas-bridge.xethub.hf.co
|
| 43 |
+
0.0.0.0 cas-server.xethub.hf.co
|
| 44 |
+
0.0.0.0 transfer.xethub.hf.co
|
| 45 |
+
0.0.0.0 pypi.org
|
| 46 |
+
0.0.0.0 files.pythonhosted.org
|
| 47 |
+
0.0.0.0 registry.npmjs.org
|
| 48 |
+
0.0.0.0 registry.yarnpkg.com
|
| 49 |
+
0.0.0.0 crates.io
|
| 50 |
+
0.0.0.0 static.crates.io
|
| 51 |
+
0.0.0.0 rubygems.org
|
| 52 |
+
0.0.0.0 repo1.maven.org
|
| 53 |
+
0.0.0.0 search.maven.org
|
| 54 |
+
0.0.0.0 nuget.org
|
| 55 |
+
0.0.0.0 api.nuget.org
|
| 56 |
+
0.0.0.0 packagist.org
|
| 57 |
+
0.0.0.0 repo.packagist.org
|
| 58 |
+
0.0.0.0 hex.pm
|
| 59 |
+
0.0.0.0 cdn.jsdelivr.net
|
| 60 |
+
0.0.0.0 unpkg.com
|
| 61 |
+
0.0.0.0 esm.sh
|
| 62 |
+
0.0.0.0 cdnjs.cloudflare.com
|
tasks/format-code-task-000002/environment/setup/setup.sh
CHANGED
|
@@ -21,12 +21,31 @@ echo "$BASE" > "$M/base"
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
|
|
|
| 24 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 25 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 26 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 27 |
if [ "$LATER" -gt 0 ]; then
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
fi
|
| 31 |
write_blocklist
|
| 32 |
|
|
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
| 24 |
+
rm -rf /testbed/node_modules/.cache /testbed/node_modules/.vitest 2>/dev/null; true
|
| 25 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 26 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 27 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 28 |
if [ "$LATER" -gt 0 ]; then
|
| 29 |
+
# mimoagent's default git_leak_prevention is "strip": physically remove the fix-bearing future commits in place so
|
| 30 |
+
# .git stays usable and nothing leaks, even to a root agent. Hide .git only if the strip can't be verified; grading
|
| 31 |
+
# (code_test.sh) restores a hidden .git before it applies the test patch.
|
| 32 |
+
if ( set -eo pipefail
|
| 33 |
+
git checkout --detach $BASE 2>/dev/null || true
|
| 34 |
+
git for-each-ref --format="%(refname)" refs/heads | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 35 |
+
git remote | xargs -r -n1 git remote remove 2>/dev/null || true
|
| 36 |
+
git for-each-ref --format="%(refname)" refs/replace refs/notes refs/stash refs/remotes refs/pull 2>/dev/null | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 37 |
+
git for-each-ref --format="%(refname)" refs/tags | while read t; do if ! git merge-base --is-ancestor "$t" $BASE 2>/dev/null; then git tag -d "${t#refs/tags/}" >/dev/null 2>&1; fi; done || true
|
| 38 |
+
git reflog expire --expire=now --all 2>/dev/null || true
|
| 39 |
+
git -c gc.pruneExpire=now -c gc.cruftPacks=false gc --prune=now 2>/dev/null || true
|
| 40 |
+
set -euo pipefail
|
| 41 |
+
TARGET_TIMESTAMP=$(git show -s --format=%ci $BASE)
|
| 42 |
+
AFTER_TIMESTAMP=$(date -d "$TARGET_TIMESTAMP + 1 second" '+%Y-%m-%d %H:%M:%S')
|
| 43 |
+
COMMIT_COUNT=$(git log --oneline --all --since="$AFTER_TIMESTAMP" | wc -l)
|
| 44 |
+
[ "$COMMIT_COUNT" -eq 0 ] ); then
|
| 45 |
+
echo "history not truncated at ${BASE:0:12}: future commits stripped in place"
|
| 46 |
+
else
|
| 47 |
+
mv "$CWD/.git" "$M/git-hidden" && echo "history not truncated and unstrippable: .git hidden while the agent works"
|
| 48 |
+
fi
|
| 49 |
fi
|
| 50 |
write_blocklist
|
| 51 |
|
tasks/format-code-task-000002/task.toml
CHANGED
|
@@ -6,7 +6,7 @@ description = "\"method\":\"zkevm_batchNumberByBlockNumber\","
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
-
adapter = "mimo_harbor 1.
|
| 10 |
category = "Go"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Go"]
|
|
@@ -34,7 +34,7 @@ build_timeout_sec = 1800.0
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
-
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
|
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
+
adapter = "mimo_harbor 1.2.0"
|
| 10 |
category = "Go"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Go"]
|
|
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
+
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1YbW/cNhLO5/0V7MZObDeS7KSHAA5cnJv6mgDnJkh8uDu0xYKSKIm2JCoktevNy3+/Z0jtrrQvSQ537ZdaTmxxSM4M543PKJOlMFFcquSmlMbe+z2eYzxPj4/d3+PNv0+OnzxevHv6yfHT757eY8f3/oCnNZZriL/353zus0pWivHazIQOSsFv2DIY2AHN8VzU9nB0HLoflktbtHGYqGpJms1m4RYyb+Q2suaL1a0ROlG1B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t+pxslNG29hKorp76mva5xpWko7nHv7VvPKORVS0K2Opr1aj3JcpF6Pjuc/3dc/fcPXfP3XP33D1f+/wHU1w18QAoAAA= | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
tasks/format-code-task-000003/environment/setup/files/blocklist
CHANGED
|
@@ -31,3 +31,32 @@
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
| 34 |
+
0.0.0.0 huggingface.co
|
| 35 |
+
0.0.0.0 www.huggingface.co
|
| 36 |
+
0.0.0.0 hf.co
|
| 37 |
+
0.0.0.0 datasets-server.huggingface.co
|
| 38 |
+
0.0.0.0 cdn-lfs.huggingface.co
|
| 39 |
+
0.0.0.0 cdn-lfs-us-1.huggingface.co
|
| 40 |
+
0.0.0.0 cdn-lfs-eu-1.huggingface.co
|
| 41 |
+
0.0.0.0 xethub.hf.co
|
| 42 |
+
0.0.0.0 cas-bridge.xethub.hf.co
|
| 43 |
+
0.0.0.0 cas-server.xethub.hf.co
|
| 44 |
+
0.0.0.0 transfer.xethub.hf.co
|
| 45 |
+
0.0.0.0 pypi.org
|
| 46 |
+
0.0.0.0 files.pythonhosted.org
|
| 47 |
+
0.0.0.0 registry.npmjs.org
|
| 48 |
+
0.0.0.0 registry.yarnpkg.com
|
| 49 |
+
0.0.0.0 crates.io
|
| 50 |
+
0.0.0.0 static.crates.io
|
| 51 |
+
0.0.0.0 rubygems.org
|
| 52 |
+
0.0.0.0 repo1.maven.org
|
| 53 |
+
0.0.0.0 search.maven.org
|
| 54 |
+
0.0.0.0 nuget.org
|
| 55 |
+
0.0.0.0 api.nuget.org
|
| 56 |
+
0.0.0.0 packagist.org
|
| 57 |
+
0.0.0.0 repo.packagist.org
|
| 58 |
+
0.0.0.0 hex.pm
|
| 59 |
+
0.0.0.0 cdn.jsdelivr.net
|
| 60 |
+
0.0.0.0 unpkg.com
|
| 61 |
+
0.0.0.0 esm.sh
|
| 62 |
+
0.0.0.0 cdnjs.cloudflare.com
|
tasks/format-code-task-000003/environment/setup/setup.sh
CHANGED
|
@@ -21,12 +21,31 @@ echo "$BASE" > "$M/base"
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
|
|
|
| 24 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 25 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 26 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 27 |
if [ "$LATER" -gt 0 ]; then
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
fi
|
| 31 |
write_blocklist
|
| 32 |
|
|
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
| 24 |
+
rm -rf /testbed/node_modules/.cache /testbed/node_modules/.vitest 2>/dev/null; true
|
| 25 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 26 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 27 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 28 |
if [ "$LATER" -gt 0 ]; then
|
| 29 |
+
# mimoagent's default git_leak_prevention is "strip": physically remove the fix-bearing future commits in place so
|
| 30 |
+
# .git stays usable and nothing leaks, even to a root agent. Hide .git only if the strip can't be verified; grading
|
| 31 |
+
# (code_test.sh) restores a hidden .git before it applies the test patch.
|
| 32 |
+
if ( set -eo pipefail
|
| 33 |
+
git checkout --detach $BASE 2>/dev/null || true
|
| 34 |
+
git for-each-ref --format="%(refname)" refs/heads | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 35 |
+
git remote | xargs -r -n1 git remote remove 2>/dev/null || true
|
| 36 |
+
git for-each-ref --format="%(refname)" refs/replace refs/notes refs/stash refs/remotes refs/pull 2>/dev/null | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 37 |
+
git for-each-ref --format="%(refname)" refs/tags | while read t; do if ! git merge-base --is-ancestor "$t" $BASE 2>/dev/null; then git tag -d "${t#refs/tags/}" >/dev/null 2>&1; fi; done || true
|
| 38 |
+
git reflog expire --expire=now --all 2>/dev/null || true
|
| 39 |
+
git -c gc.pruneExpire=now -c gc.cruftPacks=false gc --prune=now 2>/dev/null || true
|
| 40 |
+
set -euo pipefail
|
| 41 |
+
TARGET_TIMESTAMP=$(git show -s --format=%ci $BASE)
|
| 42 |
+
AFTER_TIMESTAMP=$(date -d "$TARGET_TIMESTAMP + 1 second" '+%Y-%m-%d %H:%M:%S')
|
| 43 |
+
COMMIT_COUNT=$(git log --oneline --all --since="$AFTER_TIMESTAMP" | wc -l)
|
| 44 |
+
[ "$COMMIT_COUNT" -eq 0 ] ); then
|
| 45 |
+
echo "history not truncated at ${BASE:0:12}: future commits stripped in place"
|
| 46 |
+
else
|
| 47 |
+
mv "$CWD/.git" "$M/git-hidden" && echo "history not truncated and unstrippable: .git hidden while the agent works"
|
| 48 |
+
fi
|
| 49 |
fi
|
| 50 |
write_blocklist
|
| 51 |
|
tasks/format-code-task-000003/task.toml
CHANGED
|
@@ -6,7 +6,7 @@ description = "SHL opcode not implemented"
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
-
adapter = "mimo_harbor 1.
|
| 10 |
category = "Python"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Python"]
|
|
@@ -34,7 +34,7 @@ build_timeout_sec = 1800.0
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
-
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
|
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
+
adapter = "mimo_harbor 1.2.0"
|
| 10 |
category = "Python"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Python"]
|
|
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
+
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1YbW/cNhLO5/0V7MZObDeS7KSHAA5cnJv6mgDnJkh8uDu0xYKSKIm2JCoktevNy3+/Z0jtrrQvSQ537ZdaTmxxSM4M543PKJOlMFFcquSmlMbe+z2eYzxPj4/d3+PNv0+OnzxevHv6yfHT757eY8f3/oCnNZZriL/353zus0pWivHazIQOSsFv2DIY2AHN8VzU9nB0HLoflktbtHGYqGpJms1m4RYyb+Q2suaL1a0ROlG1Bf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+pxslNG29hKorp76mva5xpWko7nHv7VvPKORVS0K2Opr1aj3JcpF6Pjuc/3dc/fcPXfP3XP33D1f+/wHU1w18QAoAAA= | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
tasks/format-code-task-000004/environment/setup/files/blocklist
CHANGED
|
@@ -31,3 +31,32 @@
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
| 34 |
+
0.0.0.0 huggingface.co
|
| 35 |
+
0.0.0.0 www.huggingface.co
|
| 36 |
+
0.0.0.0 hf.co
|
| 37 |
+
0.0.0.0 datasets-server.huggingface.co
|
| 38 |
+
0.0.0.0 cdn-lfs.huggingface.co
|
| 39 |
+
0.0.0.0 cdn-lfs-us-1.huggingface.co
|
| 40 |
+
0.0.0.0 cdn-lfs-eu-1.huggingface.co
|
| 41 |
+
0.0.0.0 xethub.hf.co
|
| 42 |
+
0.0.0.0 cas-bridge.xethub.hf.co
|
| 43 |
+
0.0.0.0 cas-server.xethub.hf.co
|
| 44 |
+
0.0.0.0 transfer.xethub.hf.co
|
| 45 |
+
0.0.0.0 pypi.org
|
| 46 |
+
0.0.0.0 files.pythonhosted.org
|
| 47 |
+
0.0.0.0 registry.npmjs.org
|
| 48 |
+
0.0.0.0 registry.yarnpkg.com
|
| 49 |
+
0.0.0.0 crates.io
|
| 50 |
+
0.0.0.0 static.crates.io
|
| 51 |
+
0.0.0.0 rubygems.org
|
| 52 |
+
0.0.0.0 repo1.maven.org
|
| 53 |
+
0.0.0.0 search.maven.org
|
| 54 |
+
0.0.0.0 nuget.org
|
| 55 |
+
0.0.0.0 api.nuget.org
|
| 56 |
+
0.0.0.0 packagist.org
|
| 57 |
+
0.0.0.0 repo.packagist.org
|
| 58 |
+
0.0.0.0 hex.pm
|
| 59 |
+
0.0.0.0 cdn.jsdelivr.net
|
| 60 |
+
0.0.0.0 unpkg.com
|
| 61 |
+
0.0.0.0 esm.sh
|
| 62 |
+
0.0.0.0 cdnjs.cloudflare.com
|
tasks/format-code-task-000004/environment/setup/setup.sh
CHANGED
|
@@ -21,12 +21,31 @@ echo "$BASE" > "$M/base"
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
|
|
|
| 24 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 25 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 26 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 27 |
if [ "$LATER" -gt 0 ]; then
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
fi
|
| 31 |
write_blocklist
|
| 32 |
|
|
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
| 24 |
+
rm -rf /testbed/node_modules/.cache /testbed/node_modules/.vitest 2>/dev/null; true
|
| 25 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 26 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 27 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 28 |
if [ "$LATER" -gt 0 ]; then
|
| 29 |
+
# mimoagent's default git_leak_prevention is "strip": physically remove the fix-bearing future commits in place so
|
| 30 |
+
# .git stays usable and nothing leaks, even to a root agent. Hide .git only if the strip can't be verified; grading
|
| 31 |
+
# (code_test.sh) restores a hidden .git before it applies the test patch.
|
| 32 |
+
if ( set -eo pipefail
|
| 33 |
+
git checkout --detach $BASE 2>/dev/null || true
|
| 34 |
+
git for-each-ref --format="%(refname)" refs/heads | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 35 |
+
git remote | xargs -r -n1 git remote remove 2>/dev/null || true
|
| 36 |
+
git for-each-ref --format="%(refname)" refs/replace refs/notes refs/stash refs/remotes refs/pull 2>/dev/null | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 37 |
+
git for-each-ref --format="%(refname)" refs/tags | while read t; do if ! git merge-base --is-ancestor "$t" $BASE 2>/dev/null; then git tag -d "${t#refs/tags/}" >/dev/null 2>&1; fi; done || true
|
| 38 |
+
git reflog expire --expire=now --all 2>/dev/null || true
|
| 39 |
+
git -c gc.pruneExpire=now -c gc.cruftPacks=false gc --prune=now 2>/dev/null || true
|
| 40 |
+
set -euo pipefail
|
| 41 |
+
TARGET_TIMESTAMP=$(git show -s --format=%ci $BASE)
|
| 42 |
+
AFTER_TIMESTAMP=$(date -d "$TARGET_TIMESTAMP + 1 second" '+%Y-%m-%d %H:%M:%S')
|
| 43 |
+
COMMIT_COUNT=$(git log --oneline --all --since="$AFTER_TIMESTAMP" | wc -l)
|
| 44 |
+
[ "$COMMIT_COUNT" -eq 0 ] ); then
|
| 45 |
+
echo "history not truncated at ${BASE:0:12}: future commits stripped in place"
|
| 46 |
+
else
|
| 47 |
+
mv "$CWD/.git" "$M/git-hidden" && echo "history not truncated and unstrippable: .git hidden while the agent works"
|
| 48 |
+
fi
|
| 49 |
fi
|
| 50 |
write_blocklist
|
| 51 |
|
tasks/format-code-task-000004/task.toml
CHANGED
|
@@ -6,7 +6,7 @@ description = "Dans Pix Admin, sur l'écran de recherche d'organisations, quand
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
-
adapter = "mimo_harbor 1.
|
| 10 |
category = "JavaScript"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "JavaScript"]
|
|
@@ -34,7 +34,7 @@ build_timeout_sec = 1800.0
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
-
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
|
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
+
adapter = "mimo_harbor 1.2.0"
|
| 10 |
category = "JavaScript"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "JavaScript"]
|
|
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
+
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1YbW/cNhLO5/0V7MZObDeS7KSHAA5cnJv6mgDnJkh8uDu0xYKSKIm2JCoktevNy3+/Z0jtrrQvSQ537ZdaTmxxSM4M543PKJOlMFFcquSmlMbe+z2eYzxPj4/d3+PNv0+OnzxevHv6yfHT757eY8f3/oCnNZZriL/353zus0pWivHazIQOSsFv2DIY2AHN8VzU9nB0HLoflktbtHGYqG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WA9R3nauo/OERUjPy3FPqA4CvU2H0t+pxslNG29hKorp76mva5xpWko7nHv7VvPKORVS0K2Opr1aj3JcpF6Pjuc/3dc/fcPXfP3XP33D1f+/wHU1w18QAoAAA= | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
tasks/format-code-task-000007/environment/setup/files/blocklist
CHANGED
|
@@ -31,3 +31,32 @@
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
| 34 |
+
0.0.0.0 huggingface.co
|
| 35 |
+
0.0.0.0 www.huggingface.co
|
| 36 |
+
0.0.0.0 hf.co
|
| 37 |
+
0.0.0.0 datasets-server.huggingface.co
|
| 38 |
+
0.0.0.0 cdn-lfs.huggingface.co
|
| 39 |
+
0.0.0.0 cdn-lfs-us-1.huggingface.co
|
| 40 |
+
0.0.0.0 cdn-lfs-eu-1.huggingface.co
|
| 41 |
+
0.0.0.0 xethub.hf.co
|
| 42 |
+
0.0.0.0 cas-bridge.xethub.hf.co
|
| 43 |
+
0.0.0.0 cas-server.xethub.hf.co
|
| 44 |
+
0.0.0.0 transfer.xethub.hf.co
|
| 45 |
+
0.0.0.0 pypi.org
|
| 46 |
+
0.0.0.0 files.pythonhosted.org
|
| 47 |
+
0.0.0.0 registry.npmjs.org
|
| 48 |
+
0.0.0.0 registry.yarnpkg.com
|
| 49 |
+
0.0.0.0 crates.io
|
| 50 |
+
0.0.0.0 static.crates.io
|
| 51 |
+
0.0.0.0 rubygems.org
|
| 52 |
+
0.0.0.0 repo1.maven.org
|
| 53 |
+
0.0.0.0 search.maven.org
|
| 54 |
+
0.0.0.0 nuget.org
|
| 55 |
+
0.0.0.0 api.nuget.org
|
| 56 |
+
0.0.0.0 packagist.org
|
| 57 |
+
0.0.0.0 repo.packagist.org
|
| 58 |
+
0.0.0.0 hex.pm
|
| 59 |
+
0.0.0.0 cdn.jsdelivr.net
|
| 60 |
+
0.0.0.0 unpkg.com
|
| 61 |
+
0.0.0.0 esm.sh
|
| 62 |
+
0.0.0.0 cdnjs.cloudflare.com
|
tasks/format-code-task-000007/environment/setup/setup.sh
CHANGED
|
@@ -21,12 +21,31 @@ echo "$BASE" > "$M/base"
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
|
|
|
| 24 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 25 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 26 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 27 |
if [ "$LATER" -gt 0 ]; then
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
fi
|
| 31 |
write_blocklist
|
| 32 |
|
|
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
| 24 |
+
rm -rf /testbed/node_modules/.cache /testbed/node_modules/.vitest 2>/dev/null; true
|
| 25 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 26 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 27 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 28 |
if [ "$LATER" -gt 0 ]; then
|
| 29 |
+
# mimoagent's default git_leak_prevention is "strip": physically remove the fix-bearing future commits in place so
|
| 30 |
+
# .git stays usable and nothing leaks, even to a root agent. Hide .git only if the strip can't be verified; grading
|
| 31 |
+
# (code_test.sh) restores a hidden .git before it applies the test patch.
|
| 32 |
+
if ( set -eo pipefail
|
| 33 |
+
git checkout --detach $BASE 2>/dev/null || true
|
| 34 |
+
git for-each-ref --format="%(refname)" refs/heads | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 35 |
+
git remote | xargs -r -n1 git remote remove 2>/dev/null || true
|
| 36 |
+
git for-each-ref --format="%(refname)" refs/replace refs/notes refs/stash refs/remotes refs/pull 2>/dev/null | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 37 |
+
git for-each-ref --format="%(refname)" refs/tags | while read t; do if ! git merge-base --is-ancestor "$t" $BASE 2>/dev/null; then git tag -d "${t#refs/tags/}" >/dev/null 2>&1; fi; done || true
|
| 38 |
+
git reflog expire --expire=now --all 2>/dev/null || true
|
| 39 |
+
git -c gc.pruneExpire=now -c gc.cruftPacks=false gc --prune=now 2>/dev/null || true
|
| 40 |
+
set -euo pipefail
|
| 41 |
+
TARGET_TIMESTAMP=$(git show -s --format=%ci $BASE)
|
| 42 |
+
AFTER_TIMESTAMP=$(date -d "$TARGET_TIMESTAMP + 1 second" '+%Y-%m-%d %H:%M:%S')
|
| 43 |
+
COMMIT_COUNT=$(git log --oneline --all --since="$AFTER_TIMESTAMP" | wc -l)
|
| 44 |
+
[ "$COMMIT_COUNT" -eq 0 ] ); then
|
| 45 |
+
echo "history not truncated at ${BASE:0:12}: future commits stripped in place"
|
| 46 |
+
else
|
| 47 |
+
mv "$CWD/.git" "$M/git-hidden" && echo "history not truncated and unstrippable: .git hidden while the agent works"
|
| 48 |
+
fi
|
| 49 |
fi
|
| 50 |
write_blocklist
|
| 51 |
|
tasks/format-code-task-000007/task.toml
CHANGED
|
@@ -6,7 +6,7 @@ description = "Filling an order against a non-contract takerAsset silently \"suc
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
-
adapter = "mimo_harbor 1.
|
| 10 |
category = "JavaScript"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "JavaScript"]
|
|
@@ -34,7 +34,7 @@ build_timeout_sec = 1800.0
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
-
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
|
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
+
adapter = "mimo_harbor 1.2.0"
|
| 10 |
category = "JavaScript"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "JavaScript"]
|
|
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
+
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1YbW/cNhLO5/0V7MZObDeS7KSHAA5cnJv6mgDnJkh8uDu0xYKSKIm2JCoktevNy3+/Z0jtrrQvSQ537ZdaTmxxSM4M543PKJOlMFFcquSmlMbe+z2eYzxPj4/d3+PNv0+OnzxevHv6yfHT757eY8f3/oCnNZZriL/353zus0pWivHazIQOSsFv2DIY2A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p8evL40+l6MXS1qsHCRVUcg6WA9R3nauo/OERUjPy3FPqA4CvU2H0t+pxslNG29hKorp76mva5xpWko7nHv7VvPKORVS0K2Opr1aj3JcpF6Pjuc/3dc/fcPXfP3XP33D1f+/wHU1w18QAoAAA= | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
tasks/format-code-task-000008/environment/setup/files/blocklist
CHANGED
|
@@ -31,3 +31,32 @@
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
| 34 |
+
0.0.0.0 huggingface.co
|
| 35 |
+
0.0.0.0 www.huggingface.co
|
| 36 |
+
0.0.0.0 hf.co
|
| 37 |
+
0.0.0.0 datasets-server.huggingface.co
|
| 38 |
+
0.0.0.0 cdn-lfs.huggingface.co
|
| 39 |
+
0.0.0.0 cdn-lfs-us-1.huggingface.co
|
| 40 |
+
0.0.0.0 cdn-lfs-eu-1.huggingface.co
|
| 41 |
+
0.0.0.0 xethub.hf.co
|
| 42 |
+
0.0.0.0 cas-bridge.xethub.hf.co
|
| 43 |
+
0.0.0.0 cas-server.xethub.hf.co
|
| 44 |
+
0.0.0.0 transfer.xethub.hf.co
|
| 45 |
+
0.0.0.0 pypi.org
|
| 46 |
+
0.0.0.0 files.pythonhosted.org
|
| 47 |
+
0.0.0.0 registry.npmjs.org
|
| 48 |
+
0.0.0.0 registry.yarnpkg.com
|
| 49 |
+
0.0.0.0 crates.io
|
| 50 |
+
0.0.0.0 static.crates.io
|
| 51 |
+
0.0.0.0 rubygems.org
|
| 52 |
+
0.0.0.0 repo1.maven.org
|
| 53 |
+
0.0.0.0 search.maven.org
|
| 54 |
+
0.0.0.0 nuget.org
|
| 55 |
+
0.0.0.0 api.nuget.org
|
| 56 |
+
0.0.0.0 packagist.org
|
| 57 |
+
0.0.0.0 repo.packagist.org
|
| 58 |
+
0.0.0.0 hex.pm
|
| 59 |
+
0.0.0.0 cdn.jsdelivr.net
|
| 60 |
+
0.0.0.0 unpkg.com
|
| 61 |
+
0.0.0.0 esm.sh
|
| 62 |
+
0.0.0.0 cdnjs.cloudflare.com
|
tasks/format-code-task-000008/environment/setup/setup.sh
CHANGED
|
@@ -21,12 +21,31 @@ echo "$BASE" > "$M/base"
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
|
|
|
| 24 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 25 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 26 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 27 |
if [ "$LATER" -gt 0 ]; then
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
fi
|
| 31 |
write_blocklist
|
| 32 |
|
|
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
| 24 |
+
rm -rf /workspace/repo/node_modules/.cache /workspace/repo/node_modules/.vitest 2>/dev/null; true
|
| 25 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 26 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 27 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 28 |
if [ "$LATER" -gt 0 ]; then
|
| 29 |
+
# mimoagent's default git_leak_prevention is "strip": physically remove the fix-bearing future commits in place so
|
| 30 |
+
# .git stays usable and nothing leaks, even to a root agent. Hide .git only if the strip can't be verified; grading
|
| 31 |
+
# (code_test.sh) restores a hidden .git before it applies the test patch.
|
| 32 |
+
if ( set -eo pipefail
|
| 33 |
+
git checkout --detach $BASE 2>/dev/null || true
|
| 34 |
+
git for-each-ref --format="%(refname)" refs/heads | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 35 |
+
git remote | xargs -r -n1 git remote remove 2>/dev/null || true
|
| 36 |
+
git for-each-ref --format="%(refname)" refs/replace refs/notes refs/stash refs/remotes refs/pull 2>/dev/null | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 37 |
+
git for-each-ref --format="%(refname)" refs/tags | while read t; do if ! git merge-base --is-ancestor "$t" $BASE 2>/dev/null; then git tag -d "${t#refs/tags/}" >/dev/null 2>&1; fi; done || true
|
| 38 |
+
git reflog expire --expire=now --all 2>/dev/null || true
|
| 39 |
+
git -c gc.pruneExpire=now -c gc.cruftPacks=false gc --prune=now 2>/dev/null || true
|
| 40 |
+
set -euo pipefail
|
| 41 |
+
TARGET_TIMESTAMP=$(git show -s --format=%ci $BASE)
|
| 42 |
+
AFTER_TIMESTAMP=$(date -d "$TARGET_TIMESTAMP + 1 second" '+%Y-%m-%d %H:%M:%S')
|
| 43 |
+
COMMIT_COUNT=$(git log --oneline --all --since="$AFTER_TIMESTAMP" | wc -l)
|
| 44 |
+
[ "$COMMIT_COUNT" -eq 0 ] ); then
|
| 45 |
+
echo "history not truncated at ${BASE:0:12}: future commits stripped in place"
|
| 46 |
+
else
|
| 47 |
+
mv "$CWD/.git" "$M/git-hidden" && echo "history not truncated and unstrippable: .git hidden while the agent works"
|
| 48 |
+
fi
|
| 49 |
fi
|
| 50 |
write_blocklist
|
| 51 |
|
tasks/format-code-task-000008/task.toml
CHANGED
|
@@ -6,7 +6,7 @@ description = "I want the `manimgl` and `manim-render` commands to support openi
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
-
adapter = "mimo_harbor 1.
|
| 10 |
category = "Python"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Python"]
|
|
@@ -34,7 +34,7 @@ build_timeout_sec = 1800.0
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
-
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
|
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
+
adapter = "mimo_harbor 1.2.0"
|
| 10 |
category = "Python"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Python"]
|
|
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
+
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1YbXPcthH25/sVyFmyJcUkJdutZ+RRpqqjxp6pEo+tTttJMjcgCZKQSIIBwDudX/57nwV4d+S9WOm0yZeIsiViAewu9g3PMpOlMFFcquSmlMY++C2eYzwvjo/d3+PNv8+Onz1dvHv6yfGL5y8esOMHv8PTGss1xD/4Yz4PWS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jV1LSx3t4bJqsu47zaL9pI5u0ILufaRjnh6fnjz9fLpeDF2tarBwURXHYClgfce5mvrPDxEVI/+BhT4n+Ao1dp+QviQbZbStvQSqq6e+pn2pjSXpaPXxb+3Dz2hkVYsCtvqENep9nnIROr7/hn//3D/3z/1z/9w/98+W5z/bwqY/ACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
tasks/format-code-task-000011/environment/setup/files/blocklist
CHANGED
|
@@ -31,3 +31,32 @@
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
| 34 |
+
0.0.0.0 huggingface.co
|
| 35 |
+
0.0.0.0 www.huggingface.co
|
| 36 |
+
0.0.0.0 hf.co
|
| 37 |
+
0.0.0.0 datasets-server.huggingface.co
|
| 38 |
+
0.0.0.0 cdn-lfs.huggingface.co
|
| 39 |
+
0.0.0.0 cdn-lfs-us-1.huggingface.co
|
| 40 |
+
0.0.0.0 cdn-lfs-eu-1.huggingface.co
|
| 41 |
+
0.0.0.0 xethub.hf.co
|
| 42 |
+
0.0.0.0 cas-bridge.xethub.hf.co
|
| 43 |
+
0.0.0.0 cas-server.xethub.hf.co
|
| 44 |
+
0.0.0.0 transfer.xethub.hf.co
|
| 45 |
+
0.0.0.0 pypi.org
|
| 46 |
+
0.0.0.0 files.pythonhosted.org
|
| 47 |
+
0.0.0.0 registry.npmjs.org
|
| 48 |
+
0.0.0.0 registry.yarnpkg.com
|
| 49 |
+
0.0.0.0 crates.io
|
| 50 |
+
0.0.0.0 static.crates.io
|
| 51 |
+
0.0.0.0 rubygems.org
|
| 52 |
+
0.0.0.0 repo1.maven.org
|
| 53 |
+
0.0.0.0 search.maven.org
|
| 54 |
+
0.0.0.0 nuget.org
|
| 55 |
+
0.0.0.0 api.nuget.org
|
| 56 |
+
0.0.0.0 packagist.org
|
| 57 |
+
0.0.0.0 repo.packagist.org
|
| 58 |
+
0.0.0.0 hex.pm
|
| 59 |
+
0.0.0.0 cdn.jsdelivr.net
|
| 60 |
+
0.0.0.0 unpkg.com
|
| 61 |
+
0.0.0.0 esm.sh
|
| 62 |
+
0.0.0.0 cdnjs.cloudflare.com
|
tasks/format-code-task-000011/environment/setup/setup.sh
CHANGED
|
@@ -21,12 +21,31 @@ echo "$BASE" > "$M/base"
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
|
|
|
| 24 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 25 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 26 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 27 |
if [ "$LATER" -gt 0 ]; then
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
fi
|
| 31 |
write_blocklist
|
| 32 |
|
|
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
| 24 |
+
rm -rf /testbed/node_modules/.cache /testbed/node_modules/.vitest 2>/dev/null; true
|
| 25 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 26 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 27 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 28 |
if [ "$LATER" -gt 0 ]; then
|
| 29 |
+
# mimoagent's default git_leak_prevention is "strip": physically remove the fix-bearing future commits in place so
|
| 30 |
+
# .git stays usable and nothing leaks, even to a root agent. Hide .git only if the strip can't be verified; grading
|
| 31 |
+
# (code_test.sh) restores a hidden .git before it applies the test patch.
|
| 32 |
+
if ( set -eo pipefail
|
| 33 |
+
git checkout --detach $BASE 2>/dev/null || true
|
| 34 |
+
git for-each-ref --format="%(refname)" refs/heads | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 35 |
+
git remote | xargs -r -n1 git remote remove 2>/dev/null || true
|
| 36 |
+
git for-each-ref --format="%(refname)" refs/replace refs/notes refs/stash refs/remotes refs/pull 2>/dev/null | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 37 |
+
git for-each-ref --format="%(refname)" refs/tags | while read t; do if ! git merge-base --is-ancestor "$t" $BASE 2>/dev/null; then git tag -d "${t#refs/tags/}" >/dev/null 2>&1; fi; done || true
|
| 38 |
+
git reflog expire --expire=now --all 2>/dev/null || true
|
| 39 |
+
git -c gc.pruneExpire=now -c gc.cruftPacks=false gc --prune=now 2>/dev/null || true
|
| 40 |
+
set -euo pipefail
|
| 41 |
+
TARGET_TIMESTAMP=$(git show -s --format=%ci $BASE)
|
| 42 |
+
AFTER_TIMESTAMP=$(date -d "$TARGET_TIMESTAMP + 1 second" '+%Y-%m-%d %H:%M:%S')
|
| 43 |
+
COMMIT_COUNT=$(git log --oneline --all --since="$AFTER_TIMESTAMP" | wc -l)
|
| 44 |
+
[ "$COMMIT_COUNT" -eq 0 ] ); then
|
| 45 |
+
echo "history not truncated at ${BASE:0:12}: future commits stripped in place"
|
| 46 |
+
else
|
| 47 |
+
mv "$CWD/.git" "$M/git-hidden" && echo "history not truncated and unstrippable: .git hidden while the agent works"
|
| 48 |
+
fi
|
| 49 |
fi
|
| 50 |
write_blocklist
|
| 51 |
|
tasks/format-code-task-000011/task.toml
CHANGED
|
@@ -6,7 +6,7 @@ description = "1277 and 338 directories are placeholders — please fill them in
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
-
adapter = "mimo_harbor 1.
|
| 10 |
category = "Go"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Go"]
|
|
@@ -34,7 +34,7 @@ build_timeout_sec = 1800.0
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
-
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
|
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
+
adapter = "mimo_harbor 1.2.0"
|
| 10 |
category = "Go"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Go"]
|
|
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
+
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1YbW/cNhLO5/0V7MZObDeS7KSHAA5cnJv6mgDnJkh8uDu0xYKSKIm2JCoktevNy3+/Z0jtrrQvSQ537ZdaTmxxSM4M543PKJOlMFFcquSmlMbe+z2eYzxPj4/d3+PNv0+OnzxevHv6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8mn+PorntFv99jN3ZNLPWwh8uqybpPMouGk3q4QdO594GOeXp8evL40+l6MXS1qsHCRVUcg6WA9R3nauo/OERUjPy3FPqA4CvU2H0t+pxslNG29hKorp76mva5xpWko7nHv7VvPKORVS0K2Opr1aj3JcpF6Pjuc/3dc/fcPXfP3XP33D1f+/wHU1w18QAoAAA= | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
tasks/format-code-task-000013/environment/setup/files/blocklist
CHANGED
|
@@ -31,3 +31,32 @@
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
| 34 |
+
0.0.0.0 huggingface.co
|
| 35 |
+
0.0.0.0 www.huggingface.co
|
| 36 |
+
0.0.0.0 hf.co
|
| 37 |
+
0.0.0.0 datasets-server.huggingface.co
|
| 38 |
+
0.0.0.0 cdn-lfs.huggingface.co
|
| 39 |
+
0.0.0.0 cdn-lfs-us-1.huggingface.co
|
| 40 |
+
0.0.0.0 cdn-lfs-eu-1.huggingface.co
|
| 41 |
+
0.0.0.0 xethub.hf.co
|
| 42 |
+
0.0.0.0 cas-bridge.xethub.hf.co
|
| 43 |
+
0.0.0.0 cas-server.xethub.hf.co
|
| 44 |
+
0.0.0.0 transfer.xethub.hf.co
|
| 45 |
+
0.0.0.0 pypi.org
|
| 46 |
+
0.0.0.0 files.pythonhosted.org
|
| 47 |
+
0.0.0.0 registry.npmjs.org
|
| 48 |
+
0.0.0.0 registry.yarnpkg.com
|
| 49 |
+
0.0.0.0 crates.io
|
| 50 |
+
0.0.0.0 static.crates.io
|
| 51 |
+
0.0.0.0 rubygems.org
|
| 52 |
+
0.0.0.0 repo1.maven.org
|
| 53 |
+
0.0.0.0 search.maven.org
|
| 54 |
+
0.0.0.0 nuget.org
|
| 55 |
+
0.0.0.0 api.nuget.org
|
| 56 |
+
0.0.0.0 packagist.org
|
| 57 |
+
0.0.0.0 repo.packagist.org
|
| 58 |
+
0.0.0.0 hex.pm
|
| 59 |
+
0.0.0.0 cdn.jsdelivr.net
|
| 60 |
+
0.0.0.0 unpkg.com
|
| 61 |
+
0.0.0.0 esm.sh
|
| 62 |
+
0.0.0.0 cdnjs.cloudflare.com
|
tasks/format-code-task-000013/environment/setup/setup.sh
CHANGED
|
@@ -21,12 +21,31 @@ echo "$BASE" > "$M/base"
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
|
|
|
| 24 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 25 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 26 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 27 |
if [ "$LATER" -gt 0 ]; then
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
fi
|
| 31 |
write_blocklist
|
| 32 |
|
|
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
| 24 |
+
rm -rf /testbed/node_modules/.cache /testbed/node_modules/.vitest 2>/dev/null; true
|
| 25 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 26 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 27 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 28 |
if [ "$LATER" -gt 0 ]; then
|
| 29 |
+
# mimoagent's default git_leak_prevention is "strip": physically remove the fix-bearing future commits in place so
|
| 30 |
+
# .git stays usable and nothing leaks, even to a root agent. Hide .git only if the strip can't be verified; grading
|
| 31 |
+
# (code_test.sh) restores a hidden .git before it applies the test patch.
|
| 32 |
+
if ( set -eo pipefail
|
| 33 |
+
git checkout --detach $BASE 2>/dev/null || true
|
| 34 |
+
git for-each-ref --format="%(refname)" refs/heads | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 35 |
+
git remote | xargs -r -n1 git remote remove 2>/dev/null || true
|
| 36 |
+
git for-each-ref --format="%(refname)" refs/replace refs/notes refs/stash refs/remotes refs/pull 2>/dev/null | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 37 |
+
git for-each-ref --format="%(refname)" refs/tags | while read t; do if ! git merge-base --is-ancestor "$t" $BASE 2>/dev/null; then git tag -d "${t#refs/tags/}" >/dev/null 2>&1; fi; done || true
|
| 38 |
+
git reflog expire --expire=now --all 2>/dev/null || true
|
| 39 |
+
git -c gc.pruneExpire=now -c gc.cruftPacks=false gc --prune=now 2>/dev/null || true
|
| 40 |
+
set -euo pipefail
|
| 41 |
+
TARGET_TIMESTAMP=$(git show -s --format=%ci $BASE)
|
| 42 |
+
AFTER_TIMESTAMP=$(date -d "$TARGET_TIMESTAMP + 1 second" '+%Y-%m-%d %H:%M:%S')
|
| 43 |
+
COMMIT_COUNT=$(git log --oneline --all --since="$AFTER_TIMESTAMP" | wc -l)
|
| 44 |
+
[ "$COMMIT_COUNT" -eq 0 ] ); then
|
| 45 |
+
echo "history not truncated at ${BASE:0:12}: future commits stripped in place"
|
| 46 |
+
else
|
| 47 |
+
mv "$CWD/.git" "$M/git-hidden" && echo "history not truncated and unstrippable: .git hidden while the agent works"
|
| 48 |
+
fi
|
| 49 |
fi
|
| 50 |
write_blocklist
|
| 51 |
|
tasks/format-code-task-000013/task.toml
CHANGED
|
@@ -6,7 +6,7 @@ description = "The small `lib/lru` package is now being used by callers that nee
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
-
adapter = "mimo_harbor 1.
|
| 10 |
category = "Go"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Go"]
|
|
@@ -34,7 +34,7 @@ build_timeout_sec = 1800.0
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
-
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
|
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
+
adapter = "mimo_harbor 1.2.0"
|
| 10 |
category = "Go"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Go"]
|
|
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
+
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1YbW/cNhLO5/0V7MZObDeS7KSHAA5cnJv6mgDnJkh8uDu0xYKSKIm2JCoktevNy3+/Z0jtrrQvSQ537ZdaTmxxSM4M543PKJOlMFFcquSmlMbe+z2eYzxPj4/d3+PNv0+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1Nt5bkz8mn+PorntFv99jN3ZNLPWwh8uqybpPMouGk3q4QdO594GOeXp8evL40+l6MXS1qsHCRVUcg6WA9R3nauo/OERUjPy3FPqA4CvU2H0t+pxslNG29hKorp76mva5xpWko7nHv7VvPKORVS0K2Opr1aj3JcpF6Pjuc/3dc/fcPXfP3XP33D1f+/wHU1w18QAoAAA= | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
tasks/format-code-task-000014/environment/setup/files/blocklist
CHANGED
|
@@ -31,3 +31,32 @@
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
| 34 |
+
0.0.0.0 huggingface.co
|
| 35 |
+
0.0.0.0 www.huggingface.co
|
| 36 |
+
0.0.0.0 hf.co
|
| 37 |
+
0.0.0.0 datasets-server.huggingface.co
|
| 38 |
+
0.0.0.0 cdn-lfs.huggingface.co
|
| 39 |
+
0.0.0.0 cdn-lfs-us-1.huggingface.co
|
| 40 |
+
0.0.0.0 cdn-lfs-eu-1.huggingface.co
|
| 41 |
+
0.0.0.0 xethub.hf.co
|
| 42 |
+
0.0.0.0 cas-bridge.xethub.hf.co
|
| 43 |
+
0.0.0.0 cas-server.xethub.hf.co
|
| 44 |
+
0.0.0.0 transfer.xethub.hf.co
|
| 45 |
+
0.0.0.0 pypi.org
|
| 46 |
+
0.0.0.0 files.pythonhosted.org
|
| 47 |
+
0.0.0.0 registry.npmjs.org
|
| 48 |
+
0.0.0.0 registry.yarnpkg.com
|
| 49 |
+
0.0.0.0 crates.io
|
| 50 |
+
0.0.0.0 static.crates.io
|
| 51 |
+
0.0.0.0 rubygems.org
|
| 52 |
+
0.0.0.0 repo1.maven.org
|
| 53 |
+
0.0.0.0 search.maven.org
|
| 54 |
+
0.0.0.0 nuget.org
|
| 55 |
+
0.0.0.0 api.nuget.org
|
| 56 |
+
0.0.0.0 packagist.org
|
| 57 |
+
0.0.0.0 repo.packagist.org
|
| 58 |
+
0.0.0.0 hex.pm
|
| 59 |
+
0.0.0.0 cdn.jsdelivr.net
|
| 60 |
+
0.0.0.0 unpkg.com
|
| 61 |
+
0.0.0.0 esm.sh
|
| 62 |
+
0.0.0.0 cdnjs.cloudflare.com
|
tasks/format-code-task-000014/environment/setup/setup.sh
CHANGED
|
@@ -21,12 +21,31 @@ echo "$BASE" > "$M/base"
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
|
|
|
| 24 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 25 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 26 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 27 |
if [ "$LATER" -gt 0 ]; then
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
fi
|
| 31 |
write_blocklist
|
| 32 |
|
|
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
| 24 |
+
rm -rf /workspace/repo/node_modules/.cache /workspace/repo/node_modules/.vitest 2>/dev/null; true
|
| 25 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 26 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 27 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 28 |
if [ "$LATER" -gt 0 ]; then
|
| 29 |
+
# mimoagent's default git_leak_prevention is "strip": physically remove the fix-bearing future commits in place so
|
| 30 |
+
# .git stays usable and nothing leaks, even to a root agent. Hide .git only if the strip can't be verified; grading
|
| 31 |
+
# (code_test.sh) restores a hidden .git before it applies the test patch.
|
| 32 |
+
if ( set -eo pipefail
|
| 33 |
+
git checkout --detach $BASE 2>/dev/null || true
|
| 34 |
+
git for-each-ref --format="%(refname)" refs/heads | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 35 |
+
git remote | xargs -r -n1 git remote remove 2>/dev/null || true
|
| 36 |
+
git for-each-ref --format="%(refname)" refs/replace refs/notes refs/stash refs/remotes refs/pull 2>/dev/null | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 37 |
+
git for-each-ref --format="%(refname)" refs/tags | while read t; do if ! git merge-base --is-ancestor "$t" $BASE 2>/dev/null; then git tag -d "${t#refs/tags/}" >/dev/null 2>&1; fi; done || true
|
| 38 |
+
git reflog expire --expire=now --all 2>/dev/null || true
|
| 39 |
+
git -c gc.pruneExpire=now -c gc.cruftPacks=false gc --prune=now 2>/dev/null || true
|
| 40 |
+
set -euo pipefail
|
| 41 |
+
TARGET_TIMESTAMP=$(git show -s --format=%ci $BASE)
|
| 42 |
+
AFTER_TIMESTAMP=$(date -d "$TARGET_TIMESTAMP + 1 second" '+%Y-%m-%d %H:%M:%S')
|
| 43 |
+
COMMIT_COUNT=$(git log --oneline --all --since="$AFTER_TIMESTAMP" | wc -l)
|
| 44 |
+
[ "$COMMIT_COUNT" -eq 0 ] ); then
|
| 45 |
+
echo "history not truncated at ${BASE:0:12}: future commits stripped in place"
|
| 46 |
+
else
|
| 47 |
+
mv "$CWD/.git" "$M/git-hidden" && echo "history not truncated and unstrippable: .git hidden while the agent works"
|
| 48 |
+
fi
|
| 49 |
fi
|
| 50 |
write_blocklist
|
| 51 |
|
tasks/format-code-task-000014/task.toml
CHANGED
|
@@ -6,7 +6,7 @@ description = "I want the `github.com/8treenet/freedom/infra/kafka` package to p
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
-
adapter = "mimo_harbor 1.
|
| 10 |
category = "Go"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Go"]
|
|
@@ -34,7 +34,7 @@ build_timeout_sec = 1800.0
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
-
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
|
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
+
adapter = "mimo_harbor 1.2.0"
|
| 10 |
category = "Go"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Go"]
|
|
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
+
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1YbXPcthH25/sVyFmyJcUkJdutZ+RRpqqjxp6pEo+tTttJMjcgCZKQSIIBwDudX/57nwV4d+S9WOm0yZeIsiViAewu9g3PMpOlMFFcquSmlMY++C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H45e/XB5+eZq8uqHf3x/1Ul3cC2AFVedLX4bCX+djffW5I/J5zi662XR/ffYjV1LSx3t4bJqsu47zaL9pI5u0ILufaRjnh6fnjz9fLpeDF2tarBwURXHYClgfce5mvrPDxEVI/+BhT4n+Ao1dp+QviQbZbStvQSqq6e+pn2pjSXpaPXxb+3Dz2hkVYsCtvqENep9nnIROr7/hn//3D/3z/1z/9w/98+W5z/bwqY/ACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
tasks/format-code-task-000016/environment/setup/files/blocklist
CHANGED
|
@@ -31,3 +31,32 @@
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
| 34 |
+
0.0.0.0 huggingface.co
|
| 35 |
+
0.0.0.0 www.huggingface.co
|
| 36 |
+
0.0.0.0 hf.co
|
| 37 |
+
0.0.0.0 datasets-server.huggingface.co
|
| 38 |
+
0.0.0.0 cdn-lfs.huggingface.co
|
| 39 |
+
0.0.0.0 cdn-lfs-us-1.huggingface.co
|
| 40 |
+
0.0.0.0 cdn-lfs-eu-1.huggingface.co
|
| 41 |
+
0.0.0.0 xethub.hf.co
|
| 42 |
+
0.0.0.0 cas-bridge.xethub.hf.co
|
| 43 |
+
0.0.0.0 cas-server.xethub.hf.co
|
| 44 |
+
0.0.0.0 transfer.xethub.hf.co
|
| 45 |
+
0.0.0.0 pypi.org
|
| 46 |
+
0.0.0.0 files.pythonhosted.org
|
| 47 |
+
0.0.0.0 registry.npmjs.org
|
| 48 |
+
0.0.0.0 registry.yarnpkg.com
|
| 49 |
+
0.0.0.0 crates.io
|
| 50 |
+
0.0.0.0 static.crates.io
|
| 51 |
+
0.0.0.0 rubygems.org
|
| 52 |
+
0.0.0.0 repo1.maven.org
|
| 53 |
+
0.0.0.0 search.maven.org
|
| 54 |
+
0.0.0.0 nuget.org
|
| 55 |
+
0.0.0.0 api.nuget.org
|
| 56 |
+
0.0.0.0 packagist.org
|
| 57 |
+
0.0.0.0 repo.packagist.org
|
| 58 |
+
0.0.0.0 hex.pm
|
| 59 |
+
0.0.0.0 cdn.jsdelivr.net
|
| 60 |
+
0.0.0.0 unpkg.com
|
| 61 |
+
0.0.0.0 esm.sh
|
| 62 |
+
0.0.0.0 cdnjs.cloudflare.com
|
tasks/format-code-task-000016/environment/setup/setup.sh
CHANGED
|
@@ -21,12 +21,31 @@ echo "$BASE" > "$M/base"
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
|
|
|
| 24 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 25 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 26 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 27 |
if [ "$LATER" -gt 0 ]; then
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
fi
|
| 31 |
write_blocklist
|
| 32 |
|
|
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
| 24 |
+
rm -rf /testbed/node_modules/.cache /testbed/node_modules/.vitest 2>/dev/null; true
|
| 25 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 26 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 27 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 28 |
if [ "$LATER" -gt 0 ]; then
|
| 29 |
+
# mimoagent's default git_leak_prevention is "strip": physically remove the fix-bearing future commits in place so
|
| 30 |
+
# .git stays usable and nothing leaks, even to a root agent. Hide .git only if the strip can't be verified; grading
|
| 31 |
+
# (code_test.sh) restores a hidden .git before it applies the test patch.
|
| 32 |
+
if ( set -eo pipefail
|
| 33 |
+
git checkout --detach $BASE 2>/dev/null || true
|
| 34 |
+
git for-each-ref --format="%(refname)" refs/heads | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 35 |
+
git remote | xargs -r -n1 git remote remove 2>/dev/null || true
|
| 36 |
+
git for-each-ref --format="%(refname)" refs/replace refs/notes refs/stash refs/remotes refs/pull 2>/dev/null | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 37 |
+
git for-each-ref --format="%(refname)" refs/tags | while read t; do if ! git merge-base --is-ancestor "$t" $BASE 2>/dev/null; then git tag -d "${t#refs/tags/}" >/dev/null 2>&1; fi; done || true
|
| 38 |
+
git reflog expire --expire=now --all 2>/dev/null || true
|
| 39 |
+
git -c gc.pruneExpire=now -c gc.cruftPacks=false gc --prune=now 2>/dev/null || true
|
| 40 |
+
set -euo pipefail
|
| 41 |
+
TARGET_TIMESTAMP=$(git show -s --format=%ci $BASE)
|
| 42 |
+
AFTER_TIMESTAMP=$(date -d "$TARGET_TIMESTAMP + 1 second" '+%Y-%m-%d %H:%M:%S')
|
| 43 |
+
COMMIT_COUNT=$(git log --oneline --all --since="$AFTER_TIMESTAMP" | wc -l)
|
| 44 |
+
[ "$COMMIT_COUNT" -eq 0 ] ); then
|
| 45 |
+
echo "history not truncated at ${BASE:0:12}: future commits stripped in place"
|
| 46 |
+
else
|
| 47 |
+
mv "$CWD/.git" "$M/git-hidden" && echo "history not truncated and unstrippable: .git hidden while the agent works"
|
| 48 |
+
fi
|
| 49 |
fi
|
| 50 |
write_blocklist
|
| 51 |
|
tasks/format-code-task-000016/task.toml
CHANGED
|
@@ -6,7 +6,7 @@ description = "Sync IDA Pro type definitions across collaborating analysts"
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
-
adapter = "mimo_harbor 1.
|
| 10 |
category = "Python"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Python"]
|
|
@@ -34,7 +34,7 @@ build_timeout_sec = 1800.0
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
-
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
|
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
+
adapter = "mimo_harbor 1.2.0"
|
| 10 |
category = "Python"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Python"]
|
|
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
+
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1YbW/cNhLO5/0V7MZObDeS7KSHAA5cnJv6mgDnJkh8uDu0xYKSKIm2JCoktevNy3+/Z0jtrrQvSQ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fBfsp239xun95uv/24eHo+avLy5dXk+ev/vHzVSfdwbUAVlz1svhtJPx1Nt5bkz8mn+PorntFv99jN3ZNLPWwh8uqybpPMouGk3q4QdO594GOeXp8evL40+l6MXS1qsHCRVUcg6WA9R3nauo/OERUjPy3FPqA4CvU2H0t+pxslNG29hKorp76mva5xpWko7nHv7VvPKORVS0K2Opr1aj3JcpF6Pjuc/3dc/fcPXfP3XP33D1f+/wHU1w18QAoAAA= | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
tasks/format-code-task-000018/environment/setup/files/blocklist
CHANGED
|
@@ -31,3 +31,32 @@
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
| 34 |
+
0.0.0.0 huggingface.co
|
| 35 |
+
0.0.0.0 www.huggingface.co
|
| 36 |
+
0.0.0.0 hf.co
|
| 37 |
+
0.0.0.0 datasets-server.huggingface.co
|
| 38 |
+
0.0.0.0 cdn-lfs.huggingface.co
|
| 39 |
+
0.0.0.0 cdn-lfs-us-1.huggingface.co
|
| 40 |
+
0.0.0.0 cdn-lfs-eu-1.huggingface.co
|
| 41 |
+
0.0.0.0 xethub.hf.co
|
| 42 |
+
0.0.0.0 cas-bridge.xethub.hf.co
|
| 43 |
+
0.0.0.0 cas-server.xethub.hf.co
|
| 44 |
+
0.0.0.0 transfer.xethub.hf.co
|
| 45 |
+
0.0.0.0 pypi.org
|
| 46 |
+
0.0.0.0 files.pythonhosted.org
|
| 47 |
+
0.0.0.0 registry.npmjs.org
|
| 48 |
+
0.0.0.0 registry.yarnpkg.com
|
| 49 |
+
0.0.0.0 crates.io
|
| 50 |
+
0.0.0.0 static.crates.io
|
| 51 |
+
0.0.0.0 rubygems.org
|
| 52 |
+
0.0.0.0 repo1.maven.org
|
| 53 |
+
0.0.0.0 search.maven.org
|
| 54 |
+
0.0.0.0 nuget.org
|
| 55 |
+
0.0.0.0 api.nuget.org
|
| 56 |
+
0.0.0.0 packagist.org
|
| 57 |
+
0.0.0.0 repo.packagist.org
|
| 58 |
+
0.0.0.0 hex.pm
|
| 59 |
+
0.0.0.0 cdn.jsdelivr.net
|
| 60 |
+
0.0.0.0 unpkg.com
|
| 61 |
+
0.0.0.0 esm.sh
|
| 62 |
+
0.0.0.0 cdnjs.cloudflare.com
|
tasks/format-code-task-000018/environment/setup/setup.sh
CHANGED
|
@@ -21,12 +21,31 @@ echo "$BASE" > "$M/base"
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
|
|
|
| 24 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 25 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 26 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 27 |
if [ "$LATER" -gt 0 ]; then
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
fi
|
| 31 |
write_blocklist
|
| 32 |
|
|
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
| 24 |
+
rm -rf /testbed/node_modules/.cache /testbed/node_modules/.vitest 2>/dev/null; true
|
| 25 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 26 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 27 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 28 |
if [ "$LATER" -gt 0 ]; then
|
| 29 |
+
# mimoagent's default git_leak_prevention is "strip": physically remove the fix-bearing future commits in place so
|
| 30 |
+
# .git stays usable and nothing leaks, even to a root agent. Hide .git only if the strip can't be verified; grading
|
| 31 |
+
# (code_test.sh) restores a hidden .git before it applies the test patch.
|
| 32 |
+
if ( set -eo pipefail
|
| 33 |
+
git checkout --detach $BASE 2>/dev/null || true
|
| 34 |
+
git for-each-ref --format="%(refname)" refs/heads | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 35 |
+
git remote | xargs -r -n1 git remote remove 2>/dev/null || true
|
| 36 |
+
git for-each-ref --format="%(refname)" refs/replace refs/notes refs/stash refs/remotes refs/pull 2>/dev/null | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 37 |
+
git for-each-ref --format="%(refname)" refs/tags | while read t; do if ! git merge-base --is-ancestor "$t" $BASE 2>/dev/null; then git tag -d "${t#refs/tags/}" >/dev/null 2>&1; fi; done || true
|
| 38 |
+
git reflog expire --expire=now --all 2>/dev/null || true
|
| 39 |
+
git -c gc.pruneExpire=now -c gc.cruftPacks=false gc --prune=now 2>/dev/null || true
|
| 40 |
+
set -euo pipefail
|
| 41 |
+
TARGET_TIMESTAMP=$(git show -s --format=%ci $BASE)
|
| 42 |
+
AFTER_TIMESTAMP=$(date -d "$TARGET_TIMESTAMP + 1 second" '+%Y-%m-%d %H:%M:%S')
|
| 43 |
+
COMMIT_COUNT=$(git log --oneline --all --since="$AFTER_TIMESTAMP" | wc -l)
|
| 44 |
+
[ "$COMMIT_COUNT" -eq 0 ] ); then
|
| 45 |
+
echo "history not truncated at ${BASE:0:12}: future commits stripped in place"
|
| 46 |
+
else
|
| 47 |
+
mv "$CWD/.git" "$M/git-hidden" && echo "history not truncated and unstrippable: .git hidden while the agent works"
|
| 48 |
+
fi
|
| 49 |
fi
|
| 50 |
write_blocklist
|
| 51 |
|
tasks/format-code-task-000018/task.toml
CHANGED
|
@@ -6,7 +6,7 @@ description = "Persist sublattice metadata atomically and track the root dispatc
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
-
adapter = "mimo_harbor 1.
|
| 10 |
category = "Python"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Python"]
|
|
@@ -34,7 +34,7 @@ build_timeout_sec = 1800.0
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
-
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
|
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
+
adapter = "mimo_harbor 1.2.0"
|
| 10 |
category = "Python"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Python"]
|
|
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
+
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1YbW/cNhLO5/0V7MZObDeS7KSHAA5cnJv6mgDnJkh8uDu0xYKSKIm2JCoktevNy3+/Z0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mYPv93/d7BfBfsp239xun95uv/24eHo+avLy5dXk+ev/vHzVSfdwbUAVlz1svhtJPx1Nt5bkz8mn+PorntFv99jN3ZNLPWwh8uqybpPMouGk3q4QdO594GOeXp8evL40+l6MXS1qsHCRVUcg6WA9R3nauo/OERUjPy3FPqA4CvU2H0t+pxslNG29hKorp76mva5xpWko7nHv7VvPKORVS0K2Opr1aj3JcpF6Pjuc/3dc/fcPXfP3XP33D1f+/wHU1w18QAoAAA= | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
tasks/format-code-task-000019/environment/setup/files/blocklist
CHANGED
|
@@ -31,3 +31,32 @@
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
| 34 |
+
0.0.0.0 huggingface.co
|
| 35 |
+
0.0.0.0 www.huggingface.co
|
| 36 |
+
0.0.0.0 hf.co
|
| 37 |
+
0.0.0.0 datasets-server.huggingface.co
|
| 38 |
+
0.0.0.0 cdn-lfs.huggingface.co
|
| 39 |
+
0.0.0.0 cdn-lfs-us-1.huggingface.co
|
| 40 |
+
0.0.0.0 cdn-lfs-eu-1.huggingface.co
|
| 41 |
+
0.0.0.0 xethub.hf.co
|
| 42 |
+
0.0.0.0 cas-bridge.xethub.hf.co
|
| 43 |
+
0.0.0.0 cas-server.xethub.hf.co
|
| 44 |
+
0.0.0.0 transfer.xethub.hf.co
|
| 45 |
+
0.0.0.0 pypi.org
|
| 46 |
+
0.0.0.0 files.pythonhosted.org
|
| 47 |
+
0.0.0.0 registry.npmjs.org
|
| 48 |
+
0.0.0.0 registry.yarnpkg.com
|
| 49 |
+
0.0.0.0 crates.io
|
| 50 |
+
0.0.0.0 static.crates.io
|
| 51 |
+
0.0.0.0 rubygems.org
|
| 52 |
+
0.0.0.0 repo1.maven.org
|
| 53 |
+
0.0.0.0 search.maven.org
|
| 54 |
+
0.0.0.0 nuget.org
|
| 55 |
+
0.0.0.0 api.nuget.org
|
| 56 |
+
0.0.0.0 packagist.org
|
| 57 |
+
0.0.0.0 repo.packagist.org
|
| 58 |
+
0.0.0.0 hex.pm
|
| 59 |
+
0.0.0.0 cdn.jsdelivr.net
|
| 60 |
+
0.0.0.0 unpkg.com
|
| 61 |
+
0.0.0.0 esm.sh
|
| 62 |
+
0.0.0.0 cdnjs.cloudflare.com
|
tasks/format-code-task-000019/environment/setup/setup.sh
CHANGED
|
@@ -21,12 +21,31 @@ echo "$BASE" > "$M/base"
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
|
|
|
| 24 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 25 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 26 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 27 |
if [ "$LATER" -gt 0 ]; then
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
fi
|
| 31 |
write_blocklist
|
| 32 |
|
|
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
| 24 |
+
rm -rf /testbed/node_modules/.cache /testbed/node_modules/.vitest 2>/dev/null; true
|
| 25 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 26 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 27 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 28 |
if [ "$LATER" -gt 0 ]; then
|
| 29 |
+
# mimoagent's default git_leak_prevention is "strip": physically remove the fix-bearing future commits in place so
|
| 30 |
+
# .git stays usable and nothing leaks, even to a root agent. Hide .git only if the strip can't be verified; grading
|
| 31 |
+
# (code_test.sh) restores a hidden .git before it applies the test patch.
|
| 32 |
+
if ( set -eo pipefail
|
| 33 |
+
git checkout --detach $BASE 2>/dev/null || true
|
| 34 |
+
git for-each-ref --format="%(refname)" refs/heads | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 35 |
+
git remote | xargs -r -n1 git remote remove 2>/dev/null || true
|
| 36 |
+
git for-each-ref --format="%(refname)" refs/replace refs/notes refs/stash refs/remotes refs/pull 2>/dev/null | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 37 |
+
git for-each-ref --format="%(refname)" refs/tags | while read t; do if ! git merge-base --is-ancestor "$t" $BASE 2>/dev/null; then git tag -d "${t#refs/tags/}" >/dev/null 2>&1; fi; done || true
|
| 38 |
+
git reflog expire --expire=now --all 2>/dev/null || true
|
| 39 |
+
git -c gc.pruneExpire=now -c gc.cruftPacks=false gc --prune=now 2>/dev/null || true
|
| 40 |
+
set -euo pipefail
|
| 41 |
+
TARGET_TIMESTAMP=$(git show -s --format=%ci $BASE)
|
| 42 |
+
AFTER_TIMESTAMP=$(date -d "$TARGET_TIMESTAMP + 1 second" '+%Y-%m-%d %H:%M:%S')
|
| 43 |
+
COMMIT_COUNT=$(git log --oneline --all --since="$AFTER_TIMESTAMP" | wc -l)
|
| 44 |
+
[ "$COMMIT_COUNT" -eq 0 ] ); then
|
| 45 |
+
echo "history not truncated at ${BASE:0:12}: future commits stripped in place"
|
| 46 |
+
else
|
| 47 |
+
mv "$CWD/.git" "$M/git-hidden" && echo "history not truncated and unstrippable: .git hidden while the agent works"
|
| 48 |
+
fi
|
| 49 |
fi
|
| 50 |
write_blocklist
|
| 51 |
|
tasks/format-code-task-000019/task.toml
CHANGED
|
@@ -6,7 +6,7 @@ description = "Bulk-delete dispatches by status filter"
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
-
adapter = "mimo_harbor 1.
|
| 10 |
category = "Python"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Python"]
|
|
@@ -34,7 +34,7 @@ build_timeout_sec = 1800.0
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
-
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
|
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
+
adapter = "mimo_harbor 1.2.0"
|
| 10 |
category = "Python"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Python"]
|
|
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
+
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1YbW/cNhLO5/0V7MZObDeS7KSHAA5cnJv6mgDnJkh8uDu0xYKSKIm2JCoktevNy3+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Al17OmYPv93/d7BfBfsp239xun95uv/24eHo+avLy5dXk+ev/vHzVSfdwbUAVlz1svhtJPx1Nt5bkz8mn+PorntFv99jN3ZNLPWwh8uqybpPMouGk3q4QdO594GOeXp8evL40+l6MXS1qsHCRVUcg6WA9R3nauo/OERUjPy3FPqA4CvU2H0t+pxslNG29hKorp76mva5xpWko7nHv7VvPKORVS0K2Opr1aj3JcpF6Pjuc/3dc/fcPXfP3XP33D1f+/wHU1w18QAoAAA= | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
tasks/format-code-task-000020/environment/setup/files/blocklist
CHANGED
|
@@ -31,3 +31,32 @@
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
| 34 |
+
0.0.0.0 huggingface.co
|
| 35 |
+
0.0.0.0 www.huggingface.co
|
| 36 |
+
0.0.0.0 hf.co
|
| 37 |
+
0.0.0.0 datasets-server.huggingface.co
|
| 38 |
+
0.0.0.0 cdn-lfs.huggingface.co
|
| 39 |
+
0.0.0.0 cdn-lfs-us-1.huggingface.co
|
| 40 |
+
0.0.0.0 cdn-lfs-eu-1.huggingface.co
|
| 41 |
+
0.0.0.0 xethub.hf.co
|
| 42 |
+
0.0.0.0 cas-bridge.xethub.hf.co
|
| 43 |
+
0.0.0.0 cas-server.xethub.hf.co
|
| 44 |
+
0.0.0.0 transfer.xethub.hf.co
|
| 45 |
+
0.0.0.0 pypi.org
|
| 46 |
+
0.0.0.0 files.pythonhosted.org
|
| 47 |
+
0.0.0.0 registry.npmjs.org
|
| 48 |
+
0.0.0.0 registry.yarnpkg.com
|
| 49 |
+
0.0.0.0 crates.io
|
| 50 |
+
0.0.0.0 static.crates.io
|
| 51 |
+
0.0.0.0 rubygems.org
|
| 52 |
+
0.0.0.0 repo1.maven.org
|
| 53 |
+
0.0.0.0 search.maven.org
|
| 54 |
+
0.0.0.0 nuget.org
|
| 55 |
+
0.0.0.0 api.nuget.org
|
| 56 |
+
0.0.0.0 packagist.org
|
| 57 |
+
0.0.0.0 repo.packagist.org
|
| 58 |
+
0.0.0.0 hex.pm
|
| 59 |
+
0.0.0.0 cdn.jsdelivr.net
|
| 60 |
+
0.0.0.0 unpkg.com
|
| 61 |
+
0.0.0.0 esm.sh
|
| 62 |
+
0.0.0.0 cdnjs.cloudflare.com
|
tasks/format-code-task-000020/environment/setup/setup.sh
CHANGED
|
@@ -21,12 +21,31 @@ echo "$BASE" > "$M/base"
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
|
|
|
| 24 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 25 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 26 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 27 |
if [ "$LATER" -gt 0 ]; then
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
fi
|
| 31 |
write_blocklist
|
| 32 |
|
|
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
| 24 |
+
rm -rf /testbed/node_modules/.cache /testbed/node_modules/.vitest 2>/dev/null; true
|
| 25 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 26 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 27 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 28 |
if [ "$LATER" -gt 0 ]; then
|
| 29 |
+
# mimoagent's default git_leak_prevention is "strip": physically remove the fix-bearing future commits in place so
|
| 30 |
+
# .git stays usable and nothing leaks, even to a root agent. Hide .git only if the strip can't be verified; grading
|
| 31 |
+
# (code_test.sh) restores a hidden .git before it applies the test patch.
|
| 32 |
+
if ( set -eo pipefail
|
| 33 |
+
git checkout --detach $BASE 2>/dev/null || true
|
| 34 |
+
git for-each-ref --format="%(refname)" refs/heads | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 35 |
+
git remote | xargs -r -n1 git remote remove 2>/dev/null || true
|
| 36 |
+
git for-each-ref --format="%(refname)" refs/replace refs/notes refs/stash refs/remotes refs/pull 2>/dev/null | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 37 |
+
git for-each-ref --format="%(refname)" refs/tags | while read t; do if ! git merge-base --is-ancestor "$t" $BASE 2>/dev/null; then git tag -d "${t#refs/tags/}" >/dev/null 2>&1; fi; done || true
|
| 38 |
+
git reflog expire --expire=now --all 2>/dev/null || true
|
| 39 |
+
git -c gc.pruneExpire=now -c gc.cruftPacks=false gc --prune=now 2>/dev/null || true
|
| 40 |
+
set -euo pipefail
|
| 41 |
+
TARGET_TIMESTAMP=$(git show -s --format=%ci $BASE)
|
| 42 |
+
AFTER_TIMESTAMP=$(date -d "$TARGET_TIMESTAMP + 1 second" '+%Y-%m-%d %H:%M:%S')
|
| 43 |
+
COMMIT_COUNT=$(git log --oneline --all --since="$AFTER_TIMESTAMP" | wc -l)
|
| 44 |
+
[ "$COMMIT_COUNT" -eq 0 ] ); then
|
| 45 |
+
echo "history not truncated at ${BASE:0:12}: future commits stripped in place"
|
| 46 |
+
else
|
| 47 |
+
mv "$CWD/.git" "$M/git-hidden" && echo "history not truncated and unstrippable: .git hidden while the agent works"
|
| 48 |
+
fi
|
| 49 |
fi
|
| 50 |
write_blocklist
|
| 51 |
|
tasks/format-code-task-000020/task.toml
CHANGED
|
@@ -6,7 +6,7 @@ description = "I'm working with a custom ACSet implementation, and `elements(myS
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
-
adapter = "mimo_harbor 1.
|
| 10 |
category = "Unknown"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Unknown"]
|
|
@@ -34,7 +34,7 @@ build_timeout_sec = 1800.0
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
-
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
|
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
+
adapter = "mimo_harbor 1.2.0"
|
| 10 |
category = "Unknown"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Unknown"]
|
|
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
+
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1YbW/cNhLO5/0V7MZObDeS7KSHAA5cnJv6mgDnJkh8uD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nI02EEO9fZZZ8e+BQ40Al17OmYPv93/d7BfBfsp239xun95uv/24eHo+avLy5dXk+ev/vHzVSfdwbUAVlz1svhtJPx1Nt5bkz8mn+PorntFv99jN3ZNLPWwh8uqybpPMouGk3q4QdO594GOeXp8evL40+l6MXS1qsHCRVUcg6WA9R3nauo/OERUjPy3FPqA4CvU2H0t+pxslNG29hKorp76mva5xpWko7nHv7VvPKORVS0K2Opr1aj3JcpF6Pjuc/3dc/fcPXfP3XP33D1f+/wHU1w18QAoAAA= | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
tasks/format-code-task-000022/environment/setup/files/blocklist
CHANGED
|
@@ -31,3 +31,32 @@
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
| 34 |
+
0.0.0.0 huggingface.co
|
| 35 |
+
0.0.0.0 www.huggingface.co
|
| 36 |
+
0.0.0.0 hf.co
|
| 37 |
+
0.0.0.0 datasets-server.huggingface.co
|
| 38 |
+
0.0.0.0 cdn-lfs.huggingface.co
|
| 39 |
+
0.0.0.0 cdn-lfs-us-1.huggingface.co
|
| 40 |
+
0.0.0.0 cdn-lfs-eu-1.huggingface.co
|
| 41 |
+
0.0.0.0 xethub.hf.co
|
| 42 |
+
0.0.0.0 cas-bridge.xethub.hf.co
|
| 43 |
+
0.0.0.0 cas-server.xethub.hf.co
|
| 44 |
+
0.0.0.0 transfer.xethub.hf.co
|
| 45 |
+
0.0.0.0 pypi.org
|
| 46 |
+
0.0.0.0 files.pythonhosted.org
|
| 47 |
+
0.0.0.0 registry.npmjs.org
|
| 48 |
+
0.0.0.0 registry.yarnpkg.com
|
| 49 |
+
0.0.0.0 crates.io
|
| 50 |
+
0.0.0.0 static.crates.io
|
| 51 |
+
0.0.0.0 rubygems.org
|
| 52 |
+
0.0.0.0 repo1.maven.org
|
| 53 |
+
0.0.0.0 search.maven.org
|
| 54 |
+
0.0.0.0 nuget.org
|
| 55 |
+
0.0.0.0 api.nuget.org
|
| 56 |
+
0.0.0.0 packagist.org
|
| 57 |
+
0.0.0.0 repo.packagist.org
|
| 58 |
+
0.0.0.0 hex.pm
|
| 59 |
+
0.0.0.0 cdn.jsdelivr.net
|
| 60 |
+
0.0.0.0 unpkg.com
|
| 61 |
+
0.0.0.0 esm.sh
|
| 62 |
+
0.0.0.0 cdnjs.cloudflare.com
|
tasks/format-code-task-000022/environment/setup/setup.sh
CHANGED
|
@@ -21,12 +21,31 @@ echo "$BASE" > "$M/base"
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
|
|
|
| 24 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 25 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 26 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 27 |
if [ "$LATER" -gt 0 ]; then
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
fi
|
| 31 |
write_blocklist
|
| 32 |
|
|
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
| 24 |
+
rm -rf /testbed/node_modules/.cache /testbed/node_modules/.vitest 2>/dev/null; true
|
| 25 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 26 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 27 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 28 |
if [ "$LATER" -gt 0 ]; then
|
| 29 |
+
# mimoagent's default git_leak_prevention is "strip": physically remove the fix-bearing future commits in place so
|
| 30 |
+
# .git stays usable and nothing leaks, even to a root agent. Hide .git only if the strip can't be verified; grading
|
| 31 |
+
# (code_test.sh) restores a hidden .git before it applies the test patch.
|
| 32 |
+
if ( set -eo pipefail
|
| 33 |
+
git checkout --detach $BASE 2>/dev/null || true
|
| 34 |
+
git for-each-ref --format="%(refname)" refs/heads | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 35 |
+
git remote | xargs -r -n1 git remote remove 2>/dev/null || true
|
| 36 |
+
git for-each-ref --format="%(refname)" refs/replace refs/notes refs/stash refs/remotes refs/pull 2>/dev/null | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 37 |
+
git for-each-ref --format="%(refname)" refs/tags | while read t; do if ! git merge-base --is-ancestor "$t" $BASE 2>/dev/null; then git tag -d "${t#refs/tags/}" >/dev/null 2>&1; fi; done || true
|
| 38 |
+
git reflog expire --expire=now --all 2>/dev/null || true
|
| 39 |
+
git -c gc.pruneExpire=now -c gc.cruftPacks=false gc --prune=now 2>/dev/null || true
|
| 40 |
+
set -euo pipefail
|
| 41 |
+
TARGET_TIMESTAMP=$(git show -s --format=%ci $BASE)
|
| 42 |
+
AFTER_TIMESTAMP=$(date -d "$TARGET_TIMESTAMP + 1 second" '+%Y-%m-%d %H:%M:%S')
|
| 43 |
+
COMMIT_COUNT=$(git log --oneline --all --since="$AFTER_TIMESTAMP" | wc -l)
|
| 44 |
+
[ "$COMMIT_COUNT" -eq 0 ] ); then
|
| 45 |
+
echo "history not truncated at ${BASE:0:12}: future commits stripped in place"
|
| 46 |
+
else
|
| 47 |
+
mv "$CWD/.git" "$M/git-hidden" && echo "history not truncated and unstrippable: .git hidden while the agent works"
|
| 48 |
+
fi
|
| 49 |
fi
|
| 50 |
write_blocklist
|
| 51 |
|
tasks/format-code-task-000022/task.toml
CHANGED
|
@@ -6,7 +6,7 @@ description = "Test accounts can't sign EIP712 messages"
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
-
adapter = "mimo_harbor 1.
|
| 10 |
category = "Python"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Python"]
|
|
@@ -34,7 +34,7 @@ build_timeout_sec = 1800.0
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
-
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
|
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
+
adapter = "mimo_harbor 1.2.0"
|
| 10 |
category = "Python"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Python"]
|
|
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
+
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1YbW/cNhLO5/0V7MZObDeS7KSHAA5cnJv6mgDnJ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js7/hnI02EEO9fZZZ8e+BQ40Al17OmYPv93/d7BfBfsp239xun95uv/24eHo+avLy5dXk+ev/vHzVSfdwbUAVlz1svhtJPx1Nt5bkz8mn+PorntFv99jN3ZNLPWwh8uqybpPMouGk3q4QdO594GOeXp8evL40+l6MXS1qsHCRVUcg6WA9R3nauo/OERUjPy3FPqA4CvU2H0t+pxslNG29hKorp76mva5xpWko7nHv7VvPKORVS0K2Opr1aj3JcpF6Pjuc/3dc/fcPXfP3XP33D1f+/wHU1w18QAoAAA= | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
tasks/format-code-task-000023/environment/setup/files/blocklist
CHANGED
|
@@ -31,3 +31,32 @@
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
| 34 |
+
0.0.0.0 huggingface.co
|
| 35 |
+
0.0.0.0 www.huggingface.co
|
| 36 |
+
0.0.0.0 hf.co
|
| 37 |
+
0.0.0.0 datasets-server.huggingface.co
|
| 38 |
+
0.0.0.0 cdn-lfs.huggingface.co
|
| 39 |
+
0.0.0.0 cdn-lfs-us-1.huggingface.co
|
| 40 |
+
0.0.0.0 cdn-lfs-eu-1.huggingface.co
|
| 41 |
+
0.0.0.0 xethub.hf.co
|
| 42 |
+
0.0.0.0 cas-bridge.xethub.hf.co
|
| 43 |
+
0.0.0.0 cas-server.xethub.hf.co
|
| 44 |
+
0.0.0.0 transfer.xethub.hf.co
|
| 45 |
+
0.0.0.0 pypi.org
|
| 46 |
+
0.0.0.0 files.pythonhosted.org
|
| 47 |
+
0.0.0.0 registry.npmjs.org
|
| 48 |
+
0.0.0.0 registry.yarnpkg.com
|
| 49 |
+
0.0.0.0 crates.io
|
| 50 |
+
0.0.0.0 static.crates.io
|
| 51 |
+
0.0.0.0 rubygems.org
|
| 52 |
+
0.0.0.0 repo1.maven.org
|
| 53 |
+
0.0.0.0 search.maven.org
|
| 54 |
+
0.0.0.0 nuget.org
|
| 55 |
+
0.0.0.0 api.nuget.org
|
| 56 |
+
0.0.0.0 packagist.org
|
| 57 |
+
0.0.0.0 repo.packagist.org
|
| 58 |
+
0.0.0.0 hex.pm
|
| 59 |
+
0.0.0.0 cdn.jsdelivr.net
|
| 60 |
+
0.0.0.0 unpkg.com
|
| 61 |
+
0.0.0.0 esm.sh
|
| 62 |
+
0.0.0.0 cdnjs.cloudflare.com
|
tasks/format-code-task-000023/environment/setup/setup.sh
CHANGED
|
@@ -21,12 +21,31 @@ echo "$BASE" > "$M/base"
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
|
|
|
| 24 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 25 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 26 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 27 |
if [ "$LATER" -gt 0 ]; then
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
fi
|
| 31 |
write_blocklist
|
| 32 |
|
|
|
|
| 21 |
# Images are built with history truncated at the base. If one is not, the fix could be read out of git log,
|
| 22 |
# so .git is hidden while the agent works and put back for grading.
|
| 23 |
LATER=$(git rev-list --all --not "$BASE" 2>/dev/null | head -n 5 | grep -c . || true)
|
| 24 |
+
rm -rf /testbed/node_modules/.cache /testbed/node_modules/.vitest 2>/dev/null; true
|
| 25 |
rm -f /tmp/fail.log /tmp/pass.log /tmp/patch.diff /tmp/test_patch.diff /tmp/*.log 2>/dev/null; rm -rf /tmp/claude-0 /tmp/claude-* /tmp/testem-* /tmp/puppeteer_dev_chrome_profile-* 2>/dev/null; rm -f /tmp/test_files.json 2>/dev/null; rm -rf /tmp/jest_* /tmp/jest-* /tmp/build /tmp/build_env 2>/dev/null; rm -rf /tmp/pytest-of-root /tmp/pytest-* /tmp/.pytest_cache /tmp/__pycache__ 2>/dev/null; rm -rf /tmp/go-build* /tmp/standards /tmp/wordpress /tmp/zig-* /tmp/testbase /tmp/testbed 2>/dev/null; rm -f /tmp/tmp*.tmp /tmp/*.bak /tmp/expect* /tmp/butwas* 2>/dev/null; rm -rf /root/.cache/go-build 2>/dev/null; rm -rf /tests 2>/dev/null; find /logs -mindepth 1 -delete 2>/dev/null; mkdir -p /logs/agent /logs/verifier /logs/artifacts; chmod 777 /logs/agent /logs/verifier /logs/artifacts; find /var/log -type f -delete 2>/dev/null || true; rm -rf /var/lib/postgresql/*/*/log /var/lib/postgresql/*/*/pg_log 2>/dev/null || true; find /var/lib/mysql /var/lib/mongodb -type f -name '*.log' -delete 2>/dev/null || true; rm -rf /root/.npm/_logs /root/.babel.json /root/.pytest_cache 2>/dev/null || true; find / -maxdepth 4 -xdev -name task_description.md -path '*/.build_env/*' -delete 2>/dev/null || true; true
|
| 26 |
git clean -fdx --exclude=node_modules --exclude=bower_components --exclude=.husky --exclude=vendor --exclude=third_party --exclude=_deps --exclude=vcpkg_installed --exclude=.venv --exclude=venv --exclude=.gradle --exclude=target --exclude=.build --exclude=lib --exclude=.bundle --exclude=Manifest.toml --exclude=_build --exclude=.stack-work --exclude=dist-newstyle >/dev/null 2>&1
|
| 27 |
find /root/.m2 -type f \( -name '*-SNAPSHOT.jar' -o -name '*-SNAPSHOT-sources.jar' -o -name '*-SNAPSHOT-tests.jar' -o -name '*-SNAPSHOT-test-sources.jar' \) -delete 2>/dev/null; rm -rf /root/.julia/compiled 2>/dev/null; rm -rf /root/.gradle/caches/build-cache-* /root/.gradle/daemon 2>/dev/null; rm -rf /root/.gradle/caches/*/scripts /root/.gradle/caches/jars-* 2>/dev/null; rm -rf /root/.cache/bazel 2>/dev/null; true
|
| 28 |
if [ "$LATER" -gt 0 ]; then
|
| 29 |
+
# mimoagent's default git_leak_prevention is "strip": physically remove the fix-bearing future commits in place so
|
| 30 |
+
# .git stays usable and nothing leaks, even to a root agent. Hide .git only if the strip can't be verified; grading
|
| 31 |
+
# (code_test.sh) restores a hidden .git before it applies the test patch.
|
| 32 |
+
if ( set -eo pipefail
|
| 33 |
+
git checkout --detach $BASE 2>/dev/null || true
|
| 34 |
+
git for-each-ref --format="%(refname)" refs/heads | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 35 |
+
git remote | xargs -r -n1 git remote remove 2>/dev/null || true
|
| 36 |
+
git for-each-ref --format="%(refname)" refs/replace refs/notes refs/stash refs/remotes refs/pull 2>/dev/null | while read r; do git update-ref -d "$r" 2>/dev/null; done || true
|
| 37 |
+
git for-each-ref --format="%(refname)" refs/tags | while read t; do if ! git merge-base --is-ancestor "$t" $BASE 2>/dev/null; then git tag -d "${t#refs/tags/}" >/dev/null 2>&1; fi; done || true
|
| 38 |
+
git reflog expire --expire=now --all 2>/dev/null || true
|
| 39 |
+
git -c gc.pruneExpire=now -c gc.cruftPacks=false gc --prune=now 2>/dev/null || true
|
| 40 |
+
set -euo pipefail
|
| 41 |
+
TARGET_TIMESTAMP=$(git show -s --format=%ci $BASE)
|
| 42 |
+
AFTER_TIMESTAMP=$(date -d "$TARGET_TIMESTAMP + 1 second" '+%Y-%m-%d %H:%M:%S')
|
| 43 |
+
COMMIT_COUNT=$(git log --oneline --all --since="$AFTER_TIMESTAMP" | wc -l)
|
| 44 |
+
[ "$COMMIT_COUNT" -eq 0 ] ); then
|
| 45 |
+
echo "history not truncated at ${BASE:0:12}: future commits stripped in place"
|
| 46 |
+
else
|
| 47 |
+
mv "$CWD/.git" "$M/git-hidden" && echo "history not truncated and unstrippable: .git hidden while the agent works"
|
| 48 |
+
fi
|
| 49 |
fi
|
| 50 |
write_blocklist
|
| 51 |
|
tasks/format-code-task-000023/task.toml
CHANGED
|
@@ -6,7 +6,7 @@ description = "The project compiler cache is used on every project load, but its
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
-
adapter = "mimo_harbor 1.
|
| 10 |
category = "Python"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Python"]
|
|
@@ -34,7 +34,7 @@ build_timeout_sec = 1800.0
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
-
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
|
|
|
| 6 |
keywords = ["mimo-v2.6-rl", "code"]
|
| 7 |
|
| 8 |
[metadata]
|
| 9 |
+
adapter = "mimo_harbor 1.2.0"
|
| 10 |
category = "Python"
|
| 11 |
domain = "code"
|
| 12 |
keywords = ["code", "Python"]
|
|
|
|
| 34 |
|
| 35 |
[environment.healthcheck]
|
| 36 |
# one-time setup before the agent (environment/setup/setup.sh)
|
| 37 |
+
command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1YbW/cNhLO5/0V7MZObDeS7KSHAA5cnJv6m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eegsdjs7/hnI02EEO9fZZZ8e+BQ40Al17OmYPv93/d7BfBfsp239xun95uv/24eHo+avLy5dXk+ev/vHzVSfdwbUAVlz1svhtJPx1Nt5bkz8mn+PorntFv99jN3ZNLPWwh8uqybpPMouGk3q4QdO594GOeXp8evL40+l6MXS1qsHCRVUcg6WA9R3nauo/OERUjPy3FPqA4CvU2H0t+pxslNG29hKorp76mva5xpWko7nHv7VvPKORVS0K2Opr1aj3JcpF6Pjuc/3dc/fcPXfP3XP33D1f+/wHU1w18QAoAAA= | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
|
| 38 |
timeout_sec = 1200.0
|
| 39 |
retries = 0
|
| 40 |
interval_sec = 5.0
|
tasks/format-code-task-000024/environment/setup/files/blocklist
CHANGED
|
@@ -31,3 +31,32 @@
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
0.0.0.0 html.duckduckgo.com
|
| 32 |
0.0.0.0 search.brave.com
|
| 33 |
0.0.0.0 stackoverflow.com
|
| 34 |
+
0.0.0.0 huggingface.co
|
| 35 |
+
0.0.0.0 www.huggingface.co
|
| 36 |
+
0.0.0.0 hf.co
|
| 37 |
+
0.0.0.0 datasets-server.huggingface.co
|
| 38 |
+
0.0.0.0 cdn-lfs.huggingface.co
|
| 39 |
+
0.0.0.0 cdn-lfs-us-1.huggingface.co
|
| 40 |
+
0.0.0.0 cdn-lfs-eu-1.huggingface.co
|
| 41 |
+
0.0.0.0 xethub.hf.co
|
| 42 |
+
0.0.0.0 cas-bridge.xethub.hf.co
|
| 43 |
+
0.0.0.0 cas-server.xethub.hf.co
|
| 44 |
+
0.0.0.0 transfer.xethub.hf.co
|
| 45 |
+
0.0.0.0 pypi.org
|
| 46 |
+
0.0.0.0 files.pythonhosted.org
|
| 47 |
+
0.0.0.0 registry.npmjs.org
|
| 48 |
+
0.0.0.0 registry.yarnpkg.com
|
| 49 |
+
0.0.0.0 crates.io
|
| 50 |
+
0.0.0.0 static.crates.io
|
| 51 |
+
0.0.0.0 rubygems.org
|
| 52 |
+
0.0.0.0 repo1.maven.org
|
| 53 |
+
0.0.0.0 search.maven.org
|
| 54 |
+
0.0.0.0 nuget.org
|
| 55 |
+
0.0.0.0 api.nuget.org
|
| 56 |
+
0.0.0.0 packagist.org
|
| 57 |
+
0.0.0.0 repo.packagist.org
|
| 58 |
+
0.0.0.0 hex.pm
|
| 59 |
+
0.0.0.0 cdn.jsdelivr.net
|
| 60 |
+
0.0.0.0 unpkg.com
|
| 61 |
+
0.0.0.0 esm.sh
|
| 62 |
+
0.0.0.0 cdnjs.cloudflare.com
|