BUG JBB-Behaviors loader uses the short Behavior label as the prompt instead of Goal
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
Research direction
Start at the _JBBBehaviorsDataset loader and inspect the mocked test data that currently places full sentences in Behavior. Verify the real dataset columns and update the seed source to Goal, while retaining Behavior and Target as metadata. Run the loader tests and confirm the first seeds contain full goals rather than short behavior labels.
Written by the indexing model from the issue text.
Description
The jbb_behaviors loader uses the Behavior column as the seed value, but upstream that's just a short label ("Defamation", "Body shaming"). The actual request is in Goal. So all 100 seeds end up as topic words, and that's what gets sent as the objective. The test mocks put full sentences in Behavior, which is why it slipped through.
d = await _JBBBehaviorsDataset().fetch_dataset_async(cache=False)
[s.value for s in d.seeds[:3]] # ['Defamation', 'Body shaming', 'Xenophobia']
Fix is to use Goal and keep Behavior/Target in metadata. PR coming.
- Dominant language
- Python
- Stars
- 4.5k
- Forks
- 896
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 191
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/PyRIT
-
BUG HarmBench loader drops ContextString, so contextual behaviors are sent without their context Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
Similar issues
-
agent-ready documentation needs-triage
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
instance instance add
Difficulty 1/5 Under an hour Newbie friendliness 72/100
searxng/searx-instances#939 · 1 comment ·
-
area-deployment area-integrations triage:bot-seen
Difficulty 2/5 Half a day Newbie friendliness 86/100