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

Functions

dict[str, Any] _normalize_boundary_eval_result (dict[str, Any] result)
bool has_boundary_eval_payload (dict[str, Any] result)
tuple[Path, Path] write_boundary_eval_check (dict[str, Any] result, *, str|None tool_name, str|Path cwd)
None _plot_boundary_eval_check (dict[str, Any] result, Path png_path)
None _plot_robustness_panel (Any ax, list[dict[str, Any]] probes, float mean_rob)
None _plot_degradation_panel (Any ax, list[dict[str, Any]] probes)
str _score_color (float val)
str _trunc (str text, int limit)

Variables

str _JSON_NAME = "boundary-eval-check.json"
str _PNG_NAME = "boundary-eval-check.png"

Function Documentation

◆ _normalize_boundary_eval_result()

dict[str, Any] _normalize_boundary_eval_result ( dict[str, Any] result)
protected

Definition at line 19 of file boundary_eval_check.py.

Referenced by has_boundary_eval_payload(), and write_boundary_eval_check().

◆ _plot_boundary_eval_check()

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

◆ _plot_degradation_panel()

None _plot_degradation_panel ( Any ax,
list[dict[str, Any]] probes )
protected

Definition at line 133 of file boundary_eval_check.py.

References _trunc().

Referenced by _plot_boundary_eval_check().

◆ _plot_robustness_panel()

None _plot_robustness_panel ( Any ax,
list[dict[str, Any]] probes,
float mean_rob )
protected

Definition at line 102 of file boundary_eval_check.py.

References _score_color(), and _trunc().

Referenced by _plot_boundary_eval_check().

◆ _score_color()

str _score_color ( float val)
protected

Definition at line 157 of file boundary_eval_check.py.

Referenced by _plot_robustness_panel().

◆ _trunc()

str _trunc ( str text,
int limit )
protected

Definition at line 165 of file boundary_eval_check.py.

Referenced by _plot_degradation_panel(), and _plot_robustness_panel().

◆ has_boundary_eval_payload()

bool has_boundary_eval_payload ( dict[str, Any] result)

Definition at line 40 of file boundary_eval_check.py.

References _normalize_boundary_eval_result().

◆ write_boundary_eval_check()

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

Variable Documentation

◆ _JSON_NAME

str aquin.boundary_eval_check._JSON_NAME = "boundary-eval-check.json"
protected

Definition at line 15 of file boundary_eval_check.py.

◆ _PNG_NAME

str aquin.boundary_eval_check._PNG_NAME = "boundary-eval-check.png"
protected

Definition at line 16 of file boundary_eval_check.py.