AQIT 0.1.0
Loading...
Searching...
No Matches
eval.py
Go to the documentation of this file.
1# Copyright (c) 2025-present Aquin Labs Private Limited. All Rights Reserved.
2# This file is part of the Aquin Engine. Unauthorized copying, modification,
3# distribution, or use of this file, via any medium, is strictly prohibited.
4# Proprietary and confidential. See LICENSE for terms.
5
6"""Eval suite — consistency, suppress, boundary, custom, confidence, red-team."""
7
8from __future__ import annotations
9
10from typing import Any
11
12from aquin.sdk._runtime import invoke
13
14
15def consistency(**kwargs: Any) -> dict[str, Any]:
16 return invoke("run_consistency_eval", kwargs, command="eval consistency")
17
18
19def suppress(**kwargs: Any) -> dict[str, Any]:
20 return invoke("run_suppression_eval", kwargs, command="eval suppress")
21
22
23def boundary(**kwargs: Any) -> dict[str, Any]:
24 return invoke("run_boundary_eval", kwargs, command="eval boundary")
25
26
27def custom(**kwargs: Any) -> dict[str, Any]:
28 return invoke("run_custom_eval", kwargs, command="eval custom")
29
30
31def confidence(**kwargs: Any) -> dict[str, Any]:
32 return invoke("run_confidence_analysis", kwargs, command="check confidence")
33
34
35def red_team(**kwargs: Any) -> dict[str, Any]:
36 return invoke("run_red_team", kwargs, command="red-team")
dict[str, Any] red_team(**Any kwargs)
Definition eval.py:39
dict[str, Any] custom(**Any kwargs)
Definition eval.py:31
dict[str, Any] boundary(**Any kwargs)
Definition eval.py:27
dict[str, Any] consistency(**Any kwargs)
Definition eval.py:19
dict[str, Any] confidence(**Any kwargs)
Definition eval.py:35
dict[str, Any] suppress(**Any kwargs)
Definition eval.py:23