Skip to content

Commit 82619fe

Browse files
committed
Benchmarks: normalize optimization task configurations
Across gaia/officeqa/swe-atlas-qna/tau3: 100-run budgets and 4x-pass case budgets on both agent partitions, submit-mode selection, baseline_floor off, 16k feedback, parameterized inner environment (${inner_env:-modal}), and verifier_timeout = 2x timeout_seconds. swe-atlas-qna and tau3 get explicit case/task-agent timeouts derived from their datasets' declared agent timeouts (enforced budgets 1800s and 900s, provisional until empirical wall_seconds data). harness_user is explicit on gaia/officeqa; tau3 and swe-atlas-qna stay unisolated pending off-env delivery of task-service credentials. Also fix the vendor script's stale pre-restructure path in its usage comment.
1 parent a04b0ba commit 82619fe

5 files changed

Lines changed: 36 additions & 23 deletions

File tree

harness-engineering-bench/gaia/baseline/build.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@ agent_access:
1818
- partition: development
1919
disclosure: full
2020
expose_case_resources: true
21+
total_runs: 100
2122
total_cases: 132
2223
- partition: validation
2324
disclosure: aggregate
2425
expose_case_resources: false
2526
min_aggregate_cases: 5
27+
total_runs: 100
2628
total_cases: 264
2729

2830
selection_partition: validation
@@ -54,7 +56,7 @@ infrastructure_max_attempts: 3
5456
infrastructure_retry_delay_seconds: 5
5557
aggregate_attempts: best
5658
feedback_transcripts: true
57-
feedback_max_bytes: 12000
59+
feedback_max_bytes: 16000
5860
expose_attempt_detail: false
5961
timeout_seconds: 3600
6062
case_timeout_seconds: 180

harness-engineering-bench/officeqa/baseline/build.yaml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ agent_access:
2323
- partition: development
2424
disclosure: full
2525
expose_case_resources: true
26-
total_runs: 6
27-
total_cases: 98
26+
total_runs: 100
27+
total_cases: 196
2828
- partition: validation
2929
disclosure: aggregate
3030
expose_case_resources: false
3131
min_aggregate_cases: 5
32-
total_runs: 4
33-
total_cases: 196
32+
total_runs: 100
33+
total_cases: 392
3434

3535
selection_partition: validation
3636
targets:
@@ -45,13 +45,13 @@ objective:
4545
metric: score
4646
direction: maximize
4747
reward_mode: submit # agent picks; falls back to auto_best, then current version
48-
baseline_floor: true # only guards the no-submission fallback path
48+
baseline_floor: false # gates on validation while reward is on test; opt-in only
4949
score_baseline: true
5050
rescore_top_k: 3
5151
rescore_attempts: 1
5252

5353
model: openai/gpt-5.4-mini-2026-03-17
54-
environment_name: modal
54+
environment_name: ${inner_env:-modal}
5555
# --no-force-build pulls the prebuilt officeqa-corpus image (see task_source
5656
# note above); the --ek groups inner sandboxes under one dedicated Modal app.
5757
extra_harbor_args: ["--no-force-build", "--ek", "app_name=harness-engineering-bench", "--ek", "sandbox_idle_timeout_secs=3600"]
@@ -62,20 +62,23 @@ infrastructure_max_attempts: 3
6262
infrastructure_retry_delay_seconds: 5
6363
aggregate_attempts: best
6464
feedback_transcripts: true
65-
feedback_max_bytes: 12000
65+
feedback_max_bytes: 16000
6666
expose_attempt_detail: false
6767
timeout_seconds: 7200
6868
case_timeout_seconds: 300
6969
task_agent_timeout_seconds: 1800
7070
max_concurrency: 8
7171
error_rate_threshold: 0.1
72-
verifier_timeout_seconds: 3600
72+
verifier_timeout_seconds: 14400 # 2x timeout_seconds: finalization runs candidate + baseline test evals
7373
secrets:
7474
- MODAL_TOKEN_ID
7575
- MODAL_TOKEN_SECRET
7676
- WANDB_API_KEY
7777
- WANDB_BASE_URL # self-hosted W&B (scaleai.wandb.io)
7878

79+
# candidate harness runs as an unprivileged uid, unable to read held-out state.
80+
harness_user: harness
81+
7982
wandb:
8083
project: vero-officeqa
8184
group: officeqa

harness-engineering-bench/officeqa/scripts/vendor_tasks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# [task].name, which vero's local task staging requires.
99
#
1010
# Usage: bash scripts/vendor_tasks.sh
11-
# Result: harness-engineering-bench/candidates/officeqa/tasks/officeqa-uid*/ (246 tasks)
11+
# Result: harness-engineering-bench/officeqa/tasks/officeqa-uid*/ (246 tasks)
1212
set -euo pipefail
1313

1414
here="$(cd "$(dirname "$0")/.." && pwd)" # harness-engineering-bench/officeqa

harness-engineering-bench/swe-atlas-qna/baseline/build.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ agent_access:
1818
- partition: development
1919
disclosure: full
2020
expose_case_resources: true
21-
total_runs: 12
21+
total_runs: 100
2222
total_cases: 100
2323
- partition: validation
2424
disclosure: aggregate
2525
expose_case_resources: false
2626
min_aggregate_cases: 5
27-
total_runs: 8
27+
total_runs: 100
2828
total_cases: 196
2929

3030
selection_partition: validation
@@ -40,13 +40,13 @@ objective:
4040
metric: score
4141
direction: maximize
4242
reward_mode: submit # agent picks; falls back to auto_best, then current version
43-
baseline_floor: true # only guards the no-submission fallback path
43+
baseline_floor: false # gates on validation while reward is on test; opt-in only
4444
score_baseline: true
4545
rescore_top_k: 3
4646
rescore_attempts: 1
4747

4848
model: openai/gpt-5.4-mini-2026-03-17
49-
environment_name: modal
49+
environment_name: ${inner_env:-modal}
5050
# inner eval sandboxes share a dedicated Modal app instead of the __harbor__ default
5151
extra_harbor_args: ["--ek", "app_name=harness-engineering-bench", "--ek", "sandbox_idle_timeout_secs=3600"]
5252
harbor_python_version: "3.12"
@@ -59,9 +59,13 @@ feedback_transcripts: true
5959
feedback_max_bytes: 16000
6060
expose_attempt_detail: false
6161
timeout_seconds: 14400
62+
# Tasks declare a 10800s agent timeout; 1800s is the enforced per-case budget.
63+
# Provisional - revisit against empirical wall_seconds once runs report it.
64+
case_timeout_seconds: 1800
65+
task_agent_timeout_seconds: 10800
6266
max_concurrency: 8
6367
error_rate_threshold: 0.1
64-
verifier_timeout_seconds: 14400
68+
verifier_timeout_seconds: 28800 # 2x timeout_seconds: finalization runs candidate + baseline test evals
6569
secrets:
6670
- MODAL_TOKEN_ID
6771
- MODAL_TOKEN_SECRET

harness-engineering-bench/tau3/baseline/build.yaml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ agent_access:
1717
- partition: development
1818
disclosure: full
1919
expose_case_resources: true
20-
total_runs: 12
21-
total_cases: 120
20+
total_runs: 100
21+
total_cases: 300
2222
- partition: validation
2323
disclosure: aggregate
2424
expose_case_resources: false
2525
min_aggregate_cases: 5
26-
total_runs: 8
27-
total_cases: 300
26+
total_runs: 100
27+
total_cases: 600
2828

2929
selection_partition: validation
3030
targets:
@@ -38,14 +38,14 @@ objective:
3838
selector:
3939
metric: score
4040
direction: maximize
41-
reward_mode: auto_best
42-
baseline_floor: true
41+
reward_mode: submit # agent picks; falls back to auto_best, then current version
42+
baseline_floor: false # gates on validation while reward is on test; opt-in only
4343
score_baseline: true
4444
rescore_top_k: 3
4545
rescore_attempts: 1
4646

4747
model: openai/gpt-5.4-mini-2026-03-17
48-
environment_name: modal
48+
environment_name: ${inner_env:-modal}
4949
# inner eval sandboxes share a dedicated Modal app instead of the __harbor__ default
5050
extra_harbor_args: ["--ek", "app_name=harness-engineering-bench", "--ek", "sandbox_idle_timeout_secs=3600"]
5151
harbor_python_version: "3.12"
@@ -58,9 +58,13 @@ feedback_transcripts: true
5858
feedback_max_bytes: 16000
5959
expose_attempt_detail: false
6060
timeout_seconds: 14400
61+
# Tasks declare a 3600s agent timeout; 900s is the enforced per-case budget.
62+
# Provisional - revisit against empirical wall_seconds once runs report it.
63+
case_timeout_seconds: 900
64+
task_agent_timeout_seconds: 3600
6165
max_concurrency: 8
6266
error_rate_threshold: 0.1
63-
verifier_timeout_seconds: 14400
67+
verifier_timeout_seconds: 28800 # 2x timeout_seconds: finalization runs candidate + baseline test evals
6468
secrets:
6569
- MODAL_TOKEN_ID
6670
- MODAL_TOKEN_SECRET

0 commit comments

Comments
 (0)