Skip to content

[WIP] Adapt ControlArena settings to Harbor - #157

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

neptune-me wants to merge 29 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 PR adapts ControlArena 20.1.1 to Harbor. The default suite command generates 6,605 main-task directories across 13 of 15 settings. Seven settings cover their full honest main-task populations. The package entry points and suite launcher support selecting task IDs independently of evaluation sampling. Coverage by setting

Coverage Default export
Complete honest main-task populations APPS 5,000, BigCodeBench 1,140, AgentDojo 97, Rogue Eval 25, SAE Interp 22, IaC 5, IaC Fast 5
Scoped exports Bash 255/257, SWE-bench Django 15/18, Data Poisoning 7/98, Infra 1/18, SHADE Arena 1/5 public, vLLM 32/19,737 (all 32 validated)
Inventory only BashArena and Eval Sabotage

Parity plan and registry request

Running the default command preserves the full adapted population. Running it with --split parity produces 343 proposed main-task IDs across ten settings. The per-package READMEs describe the selection and identify which subsets have actually been tested. Every sampled task also appears in the default export. Reproduction commands and frozen lists

Setting Cases per harness and run Selection
APPS 60 12 introductory, 43 interview, 5 competition from the 2,981 native-default eligible problems
BigCodeBench 60 25 problems declaring two libraries and 35 declaring three or more
AgentDojo 60 25 workspace, 12 travel, 10 banking, 13 Slack
Bash 60 47 whose public tests mention solution.sh and 13 using other layouts
vLLM 31 Census of the validated offline cohort. The one additional validated title in the default export is flagged as requiring internet access.
Rogue Eval / SAE / IaC / IaC Fast / Django 25 / 22 / 5 / 5 / 15 Census of each exported cohort. Django covers 15 eligible issues.

Maintainer review requested. Could you confirm the sampling frames, matched agent implementations, model snapshots, number of repeats and API spending cap? Could the registry team publish the agreed subsets under the parity tag so users can run harbor run -d <adapter-name>@parity? The registry tags and matched live policy runs are pending.

For a first live comparison we propose SAE's 22 feature IDs, with a 5–10 case pilot followed by one run per side and then three runs per side if the pilot and budget allow. Use the same policy (openai/gpt-4.1-2025-04-14), monitor and judge (openai/gpt-4.1-mini-2025-04-14), protocol, tools and limits. Report modes separately, main-task success and applicable monitor metrics, per-run means and sample SEM. Three full runs per harness and mode total 264 trials before the pilot. The proposed snapshots and audit budget need confirmation. SAE configuration

Validation

Scope Actual result
Generation Ran both suite commands end to end. Harbor 0.27.0 loaded all 6,605 default and 343 parity task configurations. Default names were unique and every parity ID matched its default setting and name.
APPS / BigCodeBench Native and Harbor accepted the same references and rejected the same fixed errors on three additional APPS IDs covering all difficulties and on BigCodeBench IDs 3 and 1139 using its pinned official runtime. One APPS trial required a Docker startup retry.
Bash / Django Four Bash references passed in Harbor. Both harnesses accepted two-script Bash task 277831 and rejected its empty workspace. On Django 15103 and 15996, both accepted the gold patch and rejected an empty diff across distinct images and 19 and 52 named tests respectively.
AgentDojo / SAE All 97 AgentDojo reference traces passed native utility and the adapter replay. Two fixed-policy native tasks and the corresponding Harbor oracles passed. Both Harbor empty submissions failed. All 22 SAE honest oracle answers passed a live judge with zero trial errors.
vLLM A clean-cache CLI run generated all 32 validated workspaces. The built wheel generated all 31 proposed parity cases. Every reference and parent matched canonical vLLM commit metadata. Two Harbor Docker trials on a CPU source fixture scored 1 on the reference patch and 0 on a submitted empty diff, with zero exceptions. The complete native CUDA image was unavailable locally.
Other fixtures IaC/IaC Fast matched on 20 reference and baseline outcomes. Infra's CPU unit-test scorer matched on two. SHADE and Rogue transport fixtures and the Data Poisoning scripted judge were checked separately. Per-setting evidence
Automated checks 23/23 repository tests on Linux and 22/23 on Windows. The Windows failure is the existing path-separator assertion in the validator test. All Bash, Django and vLLM adapter tests passed (3, 4 and 11). The structural validator reported 336 passes, zero warnings and 12 errors, all missing live parity_experiment.json reports.

Scope and limitations

The principal coverage gap is the 19,705 vLLM titles outside the validated group. Upstream requires operators to supply its native vLLM development image. A run in that image is outstanding. BashArena needs an independently verified main-task sandbox and grader. Eval Sabotage depends on a private upstream workspace. Infra's cluster deployment and full-weight Rogue subject and judge inference remain unverified. The Data Poisoning adapter substitutes a factual-accuracy demonstration, and the SHADE bookkeeping check uses a local simulator. Live policy parity across the suite remains unmeasured. Native inventory and runtime requirements

@neptune-me neptune-me changed the title [WIP] Adapter: control-arena-sae-interp [WIP] Adapt ControlArena settings to Harbor Nov 26, 2026
lijingxian added 18 commits November 26, 2026 13:49
@neptune-me
neptune-me marked this pull request as ready for review December 1, 2026 07:32
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