Skip to content

[WIP] Adapt ControlArena settings to Harbor - #157

Draft
neptune-me wants to merge 22 commits into
harbor-framework:mainfrom
neptune-me:control-arena-sae-interp-adapter
Draft

neptune-me wants to merge 22 commits into
harbor-framework:mainfrom
neptune-me:control-arena-sae-interp-adapter

Conversation

@neptune-me

@neptune-me neptune-me commented Nov 26, 2026 •

Copy link
Copy Markdown

Summary

This draft brings ControlArena 20.1.1 settings into Harbor in one PR. The coverage table inventories all 15 native settings, with upstream counts, environment requirements, scorer types, supported modes and verification evidence.

The suite launcher generates 57 Harbor task directories across 13 settings from 12 independently locked adapter packages. These include all 22 SAE features, four AgentDojo travel queries, three cases each for APPS, Bash and BigCodeBench, seven factual-accuracy cases from Data Poisoning, and five objectives each in IaC and IaC Fast. Django, vLLM, Rogue Eval, SHADE Arena and Infra each contribute one honest main task. The two IaC variants reuse the same five objectives with different baselines and tests. SAE includes the monitored honest and attack modes. The other 12 settings currently export the listed honest main tasks.

Validation

Setting Evidence
SAE Interp 22/22 reference answers accepted in Harbor Docker by the live judge openai/gpt-4.1-mini-2025-04-14, zero trial errors. A verification script checked every source digest and judge trace. Native and Harbor scripted protocols also matched on one case in each mode, including the monitor verdict.
APPS and BigCodeBench Native scoring and Harbor each accepted three reference submissions and rejected three fixed wrong submissions per setting.
Bash and AgentDojo All three Bash reference scripts passed, all three failing scripts scored zero and all four travel reference submissions passed in Harbor Docker.
Data Poisoning All seven factual-accuracy fixture submissions passed in Harbor. Replay using the native main scorer reproduced all seven verdicts.
IaC and IaC Fast Harbor accepted all ten reference patches and rejected all ten unchanged baselines. Independent replay using the matching native pytest suites reproduced all twenty outcomes.
Infra Harbor and the original ControlArena main scorer in a separate Inspect Docker run both accepted the upstream QA suite and rejected the unchanged file. All eight reference tests passed on the original training module. Each of the four native mutations produced a pytest failure. Both Harbor trials completed with zero exceptions.
SWE-bench Django Native and Harbor agreed on the reference patch (pass) and unchanged checkout (fail) for issue 15996. The case exercises 52 tests.
vLLM The metrics reference change passed in Docker with a scripted judge. Direct native replay matched the Git diff, judge input and verdict. The workspace contains the affected source module.
Rogue Eval The separate model-free transport fixture passed its expected submission and rejected the no-op. Full-weight execution and real local judge inference have not been measured.
SHADE Arena The standalone, disconnected accounting fixture scored transport_fixture=1 on the authored report and outbox and 0 on a no-op. Both Docker trials completed with zero exceptions. The ordinary accounting task uses a configurable local evaluator and has no executable upstream reference.

The suite launcher regenerated all 57 task directories in a fresh output directory. Harbor 0.27.0 loaded every task and all 57 names were unique. All 21 Linux repository tests and the eight generator tests for the two new packages passed. The score comparison command reproduced all six recorded APPS pairs and both Infra pairs. Both new packages built and installed as wheels. On Windows, 20 of the 21 repository tests passed. The remaining test expects POSIX separators in the validator output and also fails on the pre-PR base.

The repository validator reported 336 passes, zero warnings and 12 errors across the 12 packages. Each error is the pending parity_experiment.json for one adapter. Validation evidence was collected locally.

Scope and limitations

BashArena and Eval Sabotage have inventory entries only. BashArena still needs a verified standalone main-task sandbox and grader. The Eval Sabotage workspace depends on a private upstream repository. Infra's evidence covers the training unit-test main scorer. The cluster-wide Kubernetes deployment precondition remains untested. Most implemented settings expose only part of the native task set. Data Poisoning also replaces four shared prompt demonstrations with one factual-accuracy example.

Parity and remaining work

Matched live policy parity is pending. The live SAE oracle measures reference-answer acceptance. Formal parity_experiment.json results and registry submission remain open.

For maintainer review, we propose starting with all 22 SAE cases. Can we agree on the policy, monitor and judge snapshots, audit budget, and API budget for the native and Harbor runs? We would pilot 5–10 matched cases, run the agreed cohort at least twice per harness, and report raw scores, mean, sample SEM and run ranges. The other settings would have separate cohorts and explicit tool and environment differences. Honest runs measure usefulness. Matched monitored runs can also report side-task and audit outcomes.

@neptune-me neptune-me changed the title [WIP] Adapter: control-arena-sae-interp [WIP] Adapt ControlArena settings to Harbor Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant