Skip to content

Conversation

@leoneperdigao
Copy link

@leoneperdigao leoneperdigao commented Jan 26, 2026

Summary

Related Issue

Fixes #1330

Issue: Add probe tier to --list_probes
URL: #1330

Problem

Summary

When enumerating probes, also print the tier of the probe. Alternately/additionally, allow --list_probes to accept an optional argument to list only probes of that tier.

Basic example

garak --list_probes yields something like:

probes: ansiescape 🌟                       
probes: ansiescape.AnsiEscaped.      Tier 1
probes: ansiescape.AnsiRaw.              Tier 2
...

garak --list_probes 1 yields something like:

probes: ansiescape.AnsiEscaped.      Tier 1
probes: dan.Ablation_Dan_11_0.         Tier 1

etc.

Motivation

Help people identify/search for probes a little more cleanly.

Solution

Tests

Checklist

  • Code follows project style guidelines
  • Tests added/updated and passing
  • Documentation updated (if applicable)
  • Self-review completed

Additional Notes

Implements issue NVIDIA#1330: Add probe tier to `--list_probes`

Changes:
- Modified --list_probes to accept optional tier argument (1-3, 9)
- Display tier info next to each probe class in --list_probes output
- Filter probes by tier when tier argument is provided
- Updated boolean check for list_probes to handle new int/None type

Examples:
- `garak --list_probes` shows all probes with tier info
- `garak --list_probes 1` shows only Tier 1 probes
- `garak --list_probes 2 -p encoding` shows Tier 2 encoding probes

Tier levels:
- Tier 1: Of concern
- Tier 2: Compete with SOTA
- Tier 3: Informational
- Tier 9: Unlisted
@github-actions
Copy link
Contributor

github-actions bot commented Jan 26, 2026

DCO Assistant Lite bot All contributors have signed the DCO ✍️ ✅

@leoneperdigao
Copy link
Author

I have read the DCO Document and I hereby sign the DCO

github-actions bot added a commit that referenced this pull request Jan 26, 2026
@leoneperdigao leoneperdigao changed the title Add probe tier to --list_probes feat: add probe tier to --list_probes Jan 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.

Add probe tier to --list_probes

1 participant