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

Functions

dict[str, Any] _normalize_consistency_eval_result (dict[str, Any] result)
bool has_consistency_eval_payload (dict[str, Any] result)
tuple[Path, Path] write_consistency_eval_check (dict[str, Any] result, *, str|None tool_name, str|Path cwd)
None _plot_consistency_eval_check (dict[str, Any] result, Path png_path)
None _plot_score_panel (Any ax, Any score)
None _plot_variants_panel (Any ax, list[dict[str, Any]] variants)
str _score_color (float val)
str _trunc (str text, int limit)

Variables

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

Function Documentation

◆ _normalize_consistency_eval_result()

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

◆ _plot_consistency_eval_check()

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

◆ _plot_score_panel()

None _plot_score_panel ( Any ax,
Any score )
protected

Definition at line 115 of file consistency_eval_check.py.

References _score_color().

Referenced by _plot_consistency_eval_check().

◆ _plot_variants_panel()

None _plot_variants_panel ( Any ax,
list[dict[str, Any]] variants )
protected

Definition at line 135 of file consistency_eval_check.py.

Referenced by _plot_consistency_eval_check().

◆ _score_color()

str _score_color ( float val)
protected

Definition at line 163 of file consistency_eval_check.py.

Referenced by _plot_score_panel().

◆ _trunc()

str _trunc ( str text,
int limit )
protected

Definition at line 171 of file consistency_eval_check.py.

Referenced by _plot_consistency_eval_check().

◆ has_consistency_eval_payload()

bool has_consistency_eval_payload ( dict[str, Any] result)

Definition at line 40 of file consistency_eval_check.py.

References _normalize_consistency_eval_result().

◆ write_consistency_eval_check()

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

Variable Documentation

◆ _JSON_NAME

str aquin.consistency_eval_check._JSON_NAME = "consistency-eval-check.json"
protected

Definition at line 15 of file consistency_eval_check.py.

◆ _PNG_NAME

str aquin.consistency_eval_check._PNG_NAME = "consistency-eval-check.png"
protected

Definition at line 16 of file consistency_eval_check.py.