-
Notifications
You must be signed in to change notification settings - Fork 818
FEAT: Adversarial Benchmark Scenario Refactor #1765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ValbuenaVC
merged 62 commits into
microsoft:main
from
ValbuenaVC:adversarial_benchmark_refactor
Jun 1, 2026
Merged
Changes from 20 commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
0acd48a
new .env_example with adversrial target models.
6881d19
.env_example formatting
1f1a07b
More .env_example formatting
81d529d
Reorganized unit test directory
6290bbe
Renaming unit tests for consistency
42887b9
FIX: TargetInitializer propagates config.tags to registry entries
b7af0de
FEAT: Add TargetRegistry.get_by_tag_query for TagQuery-based lookup
190ee4a
FEAT: Register ADVERSARIAL_CHAT singleturn/multiturn/reasoning variants
c1476bf
FEAT: Add BenchmarkInitializer for adversarial-target fan-out
9ec8234
Merge remote-tracking branch 'origin/main' into adversarial_benchmark…
d652a56
REFACTOR: Collapse AdversarialBenchmark to RapidResponse pattern
b54c47f
FEAT: Add skip_cached cross-run caching to AdversarialBenchmark
8b5bcc9
Merge branch 'main' into adversarial_benchmark_refactor
ValbuenaVC 091a501
FEAT: Widen AdversarialBenchmark objective_scorer to Scorer (stage 1)
40ff08b
TEST: e2e per-scenario initializer override for benchmark.adversarial
4323383
DOCS: Rewrite benchmark scanner notebook for registry-driven flow
7e450b1
STYLE: Move TYPE_CHECKING-only imports in target_registry
34b86f0
FIX: TargetInitializer initialized adversarial chats as OpenAIChatTar…
2f2c209
Merge branch 'main' into adversarial_benchmark_refactor
ValbuenaVC a3e1ffa
Merge branch 'main' into adversarial_benchmark_refactor
ValbuenaVC 37a22c7
Merge branch 'main' into adversarial_benchmark_refactor
ValbuenaVC c7e7b93
Removed _cached_strategy_class and scorer type validation.
5840b25
REFACTOR: Remove BenchmarkInitializer and source adversarial targets …
4697a1a
Merge branch 'main' into adversarial_benchmark_refactor
ValbuenaVC 53bd312
Merge branch 'main' into adversarial_benchmark_refactor
ValbuenaVC 2ec2a49
DOCS: Trim adversarial benchmark scanner doc to basic-usage shape
cfdf5bf
DOCS: Add executed benchmark scanner notebook outputs
7a664c5
Add mcp Python SDK dependency
d68d75c
Merge branch 'main' into MCP
ValbuenaVC c7d65d3
Add tools/ package with tool_loop decorator and CallableToolBackend
39752ac
Addition of pyrit/tools package and unit tests. Introduces base model…
e8ab8ff
Addition of MCP components including the MCP client and tool backend.
c61bcfe
Add supports_tool_use capability + ToolEventPolicy and wire tool_loop…
f566914
Merge branch 'main' into MCP
ValbuenaVC 3a3c26b
Drop C5 (Chat target tool calling): defer to follow-up, redesign arou…
eb84ed5
Migrate OpenAIResponseTarget onto @tool_loop and LocalToolBackend
e57ff8f
DOCS: Migrate reST roles, drop dead spec-selector and stale scorer-fl…
0e622c7
Add integration tests for RedTeamingAttack with real MCP tool dispatch
fe0f2d3
REFACTOR: Delete unused `TargetInitializerTags.ADVERSARIAL`
610ed05
DOCS: Compare singleturn vs multiturn adversarial targets in benchmar…
4c10a4d
Merge branch 'main' into adversarial_benchmark_refactor
8164e7c
Merge branch 'main' into adversarial_benchmark_refactor
ValbuenaVC f43a303
FEAT: Add ObjectiveTargetEvaluationIdentifier + analytics cache lookup
cf62a83
Merge branch 'vvalbuena-microsoft/mcp-target-decorator-design' into a…
e7ee9c0
Merge branch 'main' into adversarial_benchmark_refactor
ValbuenaVC 94f1f9f
FEAT: Wire adversarial benchmark cache to analytics primitives
6827aa9
TEST: Add real-memory coverage for adversarial cache wiring
bbe5121
Merge remote-tracking branch 'origin/main' into vvalbuena-microsoft/f…
0af14e7
Merge branch 'main' into adversarial_benchmark_refactor
ValbuenaVC ccebf2f
Merge branch 'main' into adversarial_benchmark_refactor
ValbuenaVC 31ed2fb
Removing tool components from this branch. Tool-calling is a feature …
5dbd1e4
Remove remaining tool-calling leakage from PR #1811
80e1d4a
Merge resolution.
1f5d061
Fix merge conflicts with main (PR #1785/#1784): adopt factory registr…
eae30ed
Merge branch 'main' into adversarial_benchmark_refactor
ValbuenaVC db03b0c
Merge branch 'main' into adversarial_benchmark_refactor
ValbuenaVC c39d7cc
Merge branch 'main' into adversarial_benchmark_refactor
6fc708a
FEAT: inject cached attack results into AdversarialBenchmark Scenario…
7672e1e
feat: add dataset-level scoping to _collect_cached_completion_pairs
68cff20
Merge remote-tracking branch 'origin/main' into adversarial_benchmark…
b0dc4b0
fix: use uuid4 for conversation_id in _persist_attack_result to preve…
617572b
Merge branch 'main' into adversarial_benchmark_refactor
ValbuenaVC File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.