File size: 547 Bytes
f31910c
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"""Evaluation harness for AgentInjectionBench.

Turns the labelled dataset into a reproducible scoreboard: run a detector (or a
file of pre-computed predictions) over the benchmark and get attack-detection
rate, attack-success rate, and per-category / per-severity breakdowns, plus a
markdown leaderboard renderer.

Submodules are imported lazily (``from evaluation.score import ...``) so that
``python -m evaluation.score`` does not re-import the module after the package
package initialises.
"""

__all__ = ["score", "detectors", "leaderboard"]