Skip to content

probes.base: balance IntentProbe pruning across intents#1838

Open
patriciapampanelli wants to merge 1 commit into
NVIDIA:feature/technique_intentfrom
patriciapampanelli:feature/intentprobe-balanced-pruning
Open

probes.base: balance IntentProbe pruning across intents#1838
patriciapampanelli wants to merge 1 commit into
NVIDIA:feature/technique_intentfrom
patriciapampanelli:feature/intentprobe-balanced-pruning

Conversation

@patriciapampanelli
Copy link
Copy Markdown
Collaborator

Summary

IntentProbe ignored soft_probe_prompt_cap. This adds a balanced IntentProbe._prune_data override that honors the cap and spreads prompts evenly (within 1) across intents: cap // n per intent plus the remainder to the first intents, sampled per intent, deleting in reverse to keep prompts/prompt_intents aligned.

Resolves #1835

Signed-off-by: Patricia Pampanelli <ppampanelli@nvidia.com>
@patriciapampanelli patriciapampanelli moved this from In Progress to In Review in garak / Context Aware Scanning Jun 4, 2026
@patriciapampanelli patriciapampanelli changed the title probes.base: balance IntentProbe pruning across intents (#1835) probes.base: balance IntentProbe pruning across intents Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant