Repository navigation
[WIP] Adapter: agentic-misalignment - #170
Open
Niyathi3011 wants to merge 3 commits into
Open
Niyathi3011 wants to merge 3 commits into
Niyathi3011 wants to merge 3 commits into
Conversation
Harbor adapter for Anthropic's Agentic Misalignment benchmark (anthropic-experimental/agentic-misalignment @ ea0630e, arXiv:2510.05179). - 162 tasks (every upstream condition) plus an 18-task paper/parity split; prompts generated by upstream's own generate_prompts.py, byte-identical - verifier runs upstream's classifiers and model client unchanged in a separate container; only /app/response.txt is collected; no reward is written when the response is missing or the judge call fails - default judge claude-sonnet-4-6 (upstream's claude-3-7-sonnet is retired; newer Sonnet/Opus reject upstream's temperature=0.0 judge call) - parity agent ports upstream's single model call through upstream's ModelClient with pinned SDKs; harmful control agent and metric.py - oracle 1.0 on 162/162, harmful control 0.0 on 162/162, nop unscored Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… 4.5 - tests/: 46 offline tests (no API key or Docker). Covers byte-identical prompts vs upstream's generate_prompts.py (162 conditions plus the production variant), generator options, the verifier with upstream's real classifiers and a fake judge (reward mapping, no reward without a response or judge), the harmful control on the 18 paper conditions, the parity agent's message contract and pinned uv client, and metric.py. - Parity model: claude-haiku-5-5 opens with a thinking block on these prompts, and upstream's client (content[0].text) crashes on both sides. Proposed tested model is now claude-haiku-4-5; documented in README. - README: test instructions and the 2026-11-30 parity-agent smoke run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…oposed parity model Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
|
Hi @XiangningLin @audreina17, here is the proposed parity plan for agentic-misalignment (details in the description).
Open questions: is this judge/model OK, can you provide a parity key, should saved responses keep upstream's canary string, and is |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Status: WIP. Oracle and controls pass. Before spending on parity runs, I'd like sign-off on the parity plan below.
Harbor adapter for Anthropic's Agentic Misalignment benchmark (anthropic-experimental/agentic-misalignment @ ea0630e, arXiv:2510.05179, MIT).
generate_prompts.pyand are byte-identical to its output./app/response.txtis collected. No reward is written when the response is missing or the judge call fails.claude-sonnet-4-6. Upstream'sclaude-3-7-sonnetis retired, and newer Sonnet/Opus models reject upstream'stemperature=0.0judge call.ModelClientwith pinned SDKs. The adapter also ships a harmful-control agent andmetric.py.Checks
Tests: 46 offline tests pass (
uv run --extra parity pytest, no API key or Docker).metric.py.Validator: 30 passed. The 2 errors are the dataset and parity PR links, which don't exist yet.
Harbor runs (Harbor 0.27.0, judge
claude-sonnet-4-6, 162 tasks each, 0 exceptions):RewardFileNotFoundError)Oracle:
Harmful control:
nop:
Parity-agent smoke run (1 task,
claude-haiku-4-5): the model call succeeded, Harbor collected the response, and the judge scored it reward 1.Notes
claude-haiku-5-5can't be the parity model. On these prompts it opens with a thinking block, and upstream's client crashes reading it (content[0].text). This would happen on both sides, so the proposed tested model isclaude-haiku-4-5.max_tokensis always 10000;extra_system_instructionsraisesNameError.Parity plan (for sign-off)
claude-haiku-4-5; judgeclaude-sonnet-4-6on both sides.metric.py.Questions for the team:
anthropic/agentic-misalignmentOK, with tagsv1.0(162 tasks) andparity(18 tasks)?