|
AQIT 0.1.0
|
Functions | |
| dict[str, Any] | _normalize_red_team_result (dict[str, Any] result) |
| bool | has_red_team_payload (dict[str, Any] result) |
| dict[str, Any] | _json_safe_payload (dict[str, Any] flat) |
| tuple[Path, Path] | write_red_team_check (dict[str, Any] result, *, str|None tool_name, str|Path cwd) |
| None | _plot_red_team_check (dict[str, Any] result, Path png_path) |
| None | _plot_vector_scores (Any ax, list[dict[str, Any]] vectors) |
| None | _plot_composite_panel (Any ax, float composite, int n_pass, int n_warn, int n_fail) |
| str | _score_color (float val) |
Variables | |
| str | _JSON_NAME = "red-team-check.json" |
| str | _PNG_NAME = "red-team-check.png" |
| dict | _STATUS_COLORS |
|
protected |
Omit bulky per-probe raw blobs from check export.
Definition at line 49 of file red_team_check.py.
Referenced by write_red_team_check().
|
protected |
Definition at line 25 of file red_team_check.py.
Referenced by has_red_team_payload(), and write_red_team_check().
|
protected |
Definition at line 150 of file red_team_check.py.
References _score_color().
Referenced by _plot_red_team_check().
|
protected |
Definition at line 83 of file red_team_check.py.
References _plot_composite_panel(), and _plot_vector_scores().
Referenced by write_red_team_check().
|
protected |
Definition at line 124 of file red_team_check.py.
Referenced by _plot_red_team_check().
|
protected |
Definition at line 177 of file red_team_check.py.
Referenced by _plot_composite_panel().
| bool has_red_team_payload | ( | dict[str, Any] | result | ) |
Definition at line 42 of file red_team_check.py.
References _normalize_red_team_result().
| tuple[Path, Path] write_red_team_check | ( | dict[str, Any] | result, |
| * | , | ||
| str | None | tool_name, | ||
| str | Path | cwd ) |
Definition at line 62 of file red_team_check.py.
References _json_safe_payload(), _normalize_red_team_result(), and _plot_red_team_check().
|
protected |
Definition at line 15 of file red_team_check.py.
|
protected |
Definition at line 16 of file red_team_check.py.
|
protected |
Definition at line 18 of file red_team_check.py.