OpenSpace/arena/examples/swe-bench-verified.toml.template
2026-11-02 01:55:45 +08:00

76 lines
2.1 KiB
Text

# SWE-bench Verified Codex operator template.
# Generate the development policy and sealed campaign freeze with:
# rsi-arena-swe-operator render ...
[benchmark_runtime.inner_agent]
ref = "builtin:terminus-2"
[baseline]
cwd = "."
candidate_root = "."
[baseline.env]
OPENROUTER_API_KEY = "OPENROUTER_API_KEY"
[baseline.config]
development_concurrency = 1
prompt = "Improve only src/harbor/agents/terminus_2/** in the candidate checkout. Alternate one complete `rsi-arena a run-set --all` call with one `rsi-arena submit` call, waiting for each command to finish. Use only public SWE development feedback. Never inspect the SWE snapshot, private tests, solution files, held-out membership, or Arena runtime state."
model = "REPLACE_OUTER_MODEL"
reasoning_effort = "high"
provider = "openrouter"
sandbox_backend = "bwrap"
bwrap_path = "bwrap"
sandbox_network = "open"
allow_unsafe_host = false
run_kind = "formal"
cli_path = "codex"
provider_base_url = "https://openrouter.ai/api/v1"
provider_env_key = "OPENROUTER_API_KEY"
provider_name = "OpenRouter"
input_cost_per_million = 0.0
output_cost_per_million = 0.0
budget_usd = 25.0
max_resumes = 100
min_segment_s = 1.0
max_new_terminal_a_per_b_cycle = 1
extra_cli_args = []
# SWE_DEVELOPMENT_POLICY
[[benchmarks]]
name = "swe"
[benchmarks.config]
cell_id = "RENDERED_CELL_ID"
development_task_concurrency = 1
# SWE_CAMPAIGN_FREEZE
[benchmarks.config.backend]
snapshot_root = "/trusted/swe-bench-verified/derived"
trusted_harbor_root = "/trusted/harbor-7db020ba-runtime"
docker_path = "docker"
bwrap_path = "bwrap"
worker_timeout_seconds = 3000.0
candidate_harvest_grace_seconds = 60.0
verifier_timeout_seconds = 3000.0
harbor_wall_timeout_seconds = 14400.0
cleanup_grace_seconds = 30.0
[benchmarks.config.backend.model]
model_name = "REPLACE_INNER_MODEL"
model_revision = "REPLACE_IMMUTABLE_MODEL_REVISION"
api_base_url = "https://openrouter.ai/api/v1"
provider_name = "OpenRouter"
credential_source_env = "OPENROUTER_API_KEY"
credential_delivery_env = "OPENROUTER_API_KEY"
[benchmarks.resolved]
[arena]
attempt_cap = 1
concurrency = 1
wall_seconds = 21600.0
[execution]
profile = "swe-bench-verified-formal"