schema_version = "1.3" source = "ProgramBench" # Cleanroom images: generated tasks default to upstream ProgramBench v6 # (`programbench/*:task_cleanroom_v6`). Exceptions: tinycc, doxygen, revive, dirble, # and chafa use `bencalvert04/*` until upstream ships fixes — see adapter # `MIRROR_PATCHED_INSTANCE_IDS`. # Agent phase uses network_mode = "allowlist" (cleanroom contract). Verifier runs in # a separate sandbox (environment_mode = "separate") with default network for HF blobs. # allowed_hosts is LLM APIs only; mini-swe-agent + uv are baked in environment/Dockerfile. # # Harness fixes (evaluator, verifier Dockerfile) live in task-template/tests/ and are # copied into every generated task on `programbench-adapter --overwrite`. # # Two roles in this artifacts list: # 1) trial outputs: /logs/verifier/* — collected from the verifier sandbox to the host # 2) agent→verifier handoff: /workspace — copied from the agent sandbox to the # verifier sandbox, with ./executable excluded so the reference binary cannot # be passed across the boundary as a cheat. Hash-scrub inside the verifier # remains a second-layer defense. artifacts = [ "/logs/verifier/programbench_eval.json", "/logs/verifier/harbor_diagnostics.json", "/logs/verifier/programbench_eval.log", "/logs/verifier/reward.json", "/logs/verifier/reward.txt", { source = "/workspace", exclude = ["executable"] }, ] [task] name = "programbench/burntsushi--ripgrep.3b7fd44" description = "ProgramBench cleanroom reconstruction task for BurntSushi/ripgrep" authors = [ { name = "John Yang" }, { name = "Kilian Lieret" }, ] keywords = ["programbench", "reverse-engineering", "software-engineering", "cleanroom", "rs"] [metadata] source = "ProgramBench" instance_id = "burntsushi__ripgrep.3b7fd44" repository = "BurntSushi/ripgrep" commit = "3b7fd442a6f3aa73f650e763d7cbb902c03d700e" language = "rs" difficulty = "medium" task_image = "programbench/burntsushi_1776_ripgrep.3b7fd44:task_v6" cleanroom_image = "programbench/burntsushi_1776_ripgrep.3b7fd44:task_cleanroom_v6" test_branches = 13 test_count = 2538 [agent] timeout_sec = 14400 network_mode = "allowlist" allowed_hosts = ["api.anthropic.com", "api.openai.com"] [verifier] timeout_sec = 7200 user = "root" environment_mode = "separate" # Modal/gVisor has no real TTY; wrap pytest in ``script`` so terminal tools (chafa, # tty-clock, felix, delta pagers, etc.) match Docker oracle behavior. [verifier.env] PROGRAMBENCH_SCRIPT_PTY = "1" # Verifier image is built from tests/Dockerfile (no docker_image set), which # starts FROM the cleanroom image and wipes /workspace so the reference # binary baked into the image cannot survive into the verification phase. [verifier.environment] build_timeout_sec = 1800 cpus = 12 memory_mb = 8192 storage_mb = 30720 gpus = 0 workdir = "/workspace" [environment] docker_image = "programbench/burntsushi_1776_ripgrep.3b7fd44:task_cleanroom_v6" network_mode = "allowlist" allowed_hosts = ["api.anthropic.com", "api.openai.com"] build_timeout_sec = 1800 cpus = 12 memory_mb = 8192 storage_mb = 30720 gpus = 0 workdir = "/workspace"