AQIT 0.1.0
Loading...
Searching...
No Matches
aquin.check_weights_check Namespace Reference

Functions

tuple[Path, Path] write_check_weights_check (dict[str, Any] result, *, str|None tool_name, str|Path cwd)
None _plot_check_weights_check (dict[str, Any] result, Path png_path)
None _plot_trojan_panel (Any ax, dict[str, Any] result)
None _plot_rank_panel (Any ax, dict[str, Any] rank)

Variables

str _JSON_NAME = "check-weights-check.json"
str _PNG_NAME = "check-weights-check.png"
dict _STATUS_COLORS

Function Documentation

◆ _plot_check_weights_check()

None _plot_check_weights_check ( dict[str, Any] result,
Path png_path )
protected

Definition at line 45 of file check_weights_check.py.

References _plot_rank_panel(), and _plot_trojan_panel().

Referenced by write_check_weights_check().

◆ _plot_rank_panel()

None _plot_rank_panel ( Any ax,
dict[str, Any] rank )
protected

Definition at line 110 of file check_weights_check.py.

Referenced by _plot_check_weights_check().

◆ _plot_trojan_panel()

None _plot_trojan_panel ( Any ax,
dict[str, Any] result )
protected

Definition at line 80 of file check_weights_check.py.

Referenced by _plot_check_weights_check().

◆ write_check_weights_check()

tuple[Path, Path] write_check_weights_check ( dict[str, Any] result,
* ,
str | None tool_name,
str | Path cwd )

Definition at line 25 of file check_weights_check.py.

References _plot_check_weights_check().

Variable Documentation

◆ _JSON_NAME

str aquin.check_weights_check._JSON_NAME = "check-weights-check.json"
protected

Definition at line 15 of file check_weights_check.py.

◆ _PNG_NAME

str aquin.check_weights_check._PNG_NAME = "check-weights-check.png"
protected

Definition at line 16 of file check_weights_check.py.

◆ _STATUS_COLORS

dict aquin.check_weights_check._STATUS_COLORS
protected
Initial value:
= {
"high_risk": "#f87171",
"suspicious": "#fbbf24",
"clean": "#78716c",
}

Definition at line 18 of file check_weights_check.py.