File size: 3,107 Bytes
71a3477 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | 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/doxygen--doxygen.966d98e"
description = "ProgramBench cleanroom reconstruction task for doxygen/doxygen"
authors = [
{ name = "John Yang" },
{ name = "Kilian Lieret" },
]
keywords = ["programbench", "reverse-engineering", "software-engineering", "cleanroom", "c"]
[metadata]
source = "ProgramBench"
instance_id = "doxygen__doxygen.966d98e"
repository = "doxygen/doxygen"
commit = "966d98e54491461ecd27b7427caa360006d8fa59"
language = "c"
difficulty = "hard"
task_image = "bencalvert04/doxygen_1776_doxygen.966d98e:task_v6"
cleanroom_image = "bencalvert04/doxygen_1776_doxygen.966d98e:task_cleanroom_v6"
test_branches = 9
test_count = 252
[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 = "bencalvert04/doxygen_1776_doxygen.966d98e: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"
|