Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions doc/code/scoring/1_true_false_scorers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -277,13 +277,6 @@
"encoding-based evasion. It favors recall over precision, so use it as a cheap pre-filter ahead of\n",
"a model-based scorer such as `PromptShieldScorer`.\n",
"\n",
"### AgentThreatRulesScorer\n",
"\n",
"`AgentThreatRulesScorer` evaluates text against the locally bundled Agent Threat Rules (ATR)\n",
"ruleset. It returns True when a rule at or above the configured minimum severity matches and\n",
"records the matched rule IDs, ATR category, and maximum severity in score metadata. Install the\n",
"optional integration with `pip install pyrit[atr]`.\n",
"\n",
"### DecodingScorer\n",
"\n",
"`DecodingScorer` checks whether the request text (its `original_value`, `converted_value`, or\n",
Expand Down
7 changes: 0 additions & 7 deletions doc/code/scoring/1_true_false_scorers.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,6 @@
# encoding-based evasion. It favors recall over precision, so use it as a cheap pre-filter ahead of
# a model-based scorer such as `PromptShieldScorer`.
#
# ### AgentThreatRulesScorer
#
# `AgentThreatRulesScorer` evaluates text against the locally bundled Agent Threat Rules (ATR)
# ruleset. It returns True when a rule at or above the configured minimum severity matches and
# records the matched rule IDs, ATR category, and maximum severity in score metadata. Install the
# optional integration with `pip install pyrit[atr]`.
#
# ### DecodingScorer
#
# `DecodingScorer` checks whether the request text (its `original_value`, `converted_value`, or
Expand Down
5 changes: 0 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,6 @@ litellm = [
"litellm>=1.83.0,<1.92.0",
]

atr = [
"pyatr>=0.2.6",
]

# all includes all functional dependencies excluding the ones from the "dev" dependency group
all = [
"accelerate>=1.7.0",
Expand All @@ -160,7 +156,6 @@ all = [
"opencv-python>=4.11.0.86",
"playwright>=1.49.0",
"pyarrow>=22.0.0; python_version >= '3.14'",
"pyatr>=0.2.6",
"spacy>=3.8.13,!=3.8.14,!=3.8.15", # 3.8.14-3.8.15 missing cp314 wheels
"torch>=2.7.0",
]
Expand Down
2 changes: 0 additions & 2 deletions pyrit/score/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
)
from pyrit.score.scorer_info import get_scorer_info
from pyrit.score.scorer_prompt_validator import ScorerPromptValidator
from pyrit.score.true_false.agent_threat_rules_scorer import AgentThreatRulesScorer
from pyrit.score.true_false.decoding_scorer import DecodingScorer
from pyrit.score.true_false.float_scale_threshold_scorer import FloatScaleThresholdScorer
from pyrit.score.true_false.gandalf_scorer import GandalfScorer
Expand Down Expand Up @@ -172,7 +171,6 @@ def __getattr__(name: str) -> object:


__all__ = [
"AgentThreatRulesScorer",
"AnthraxKeywordScorer",
"AudioFloatScaleScorer",
"AudioTrueFalseScorer",
Expand Down
160 changes: 0 additions & 160 deletions pyrit/score/true_false/agent_threat_rules_scorer.py

This file was deleted.

59 changes: 0 additions & 59 deletions tests/unit/score/test_agent_threat_rules_scorer.py

This file was deleted.

20 changes: 1 addition & 19 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading