aid-runtime-python 0.1.180__py3-none-any.whl → 0.1.182__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- aid_runtime/__init__.py +1 -1
- aid_runtime/evals/metrics.py +6 -1
- {aid_runtime_python-0.1.180.dist-info → aid_runtime_python-0.1.182.dist-info}/METADATA +1 -1
- {aid_runtime_python-0.1.180.dist-info → aid_runtime_python-0.1.182.dist-info}/RECORD +6 -6
- {aid_runtime_python-0.1.180.dist-info → aid_runtime_python-0.1.182.dist-info}/WHEEL +0 -0
- {aid_runtime_python-0.1.180.dist-info → aid_runtime_python-0.1.182.dist-info}/top_level.txt +0 -0
aid_runtime/__init__.py
CHANGED
aid_runtime/evals/metrics.py
CHANGED
|
@@ -106,7 +106,12 @@ class Metric(Protocol):
|
|
|
106
106
|
|
|
107
107
|
async def score(
|
|
108
108
|
self, case: EvalCase, prediction: str, *, context: RunContext | None = None
|
|
109
|
-
) -> MetricResult:
|
|
109
|
+
) -> MetricResult:
|
|
110
|
+
"""Score one prediction, which is the only thing a metric has to implement.
|
|
111
|
+
|
|
112
|
+
``context`` carries what a model-backed metric needs and a string metric
|
|
113
|
+
ignores, so a metric that cannot run raises rather than returning a number.
|
|
114
|
+
"""
|
|
110
115
|
|
|
111
116
|
|
|
112
117
|
def normalize(text: str) -> str:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: aid-runtime-python
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.182
|
|
4
4
|
Summary: The AID Framework Python runtime: model gateway with pinning and cost budgets, prompt registry, tool executor, OTel GenAI tracing, plain-async pipeline, and an eval harness that gates on statistical regression against a stored baseline.
|
|
5
5
|
Author: The AID Framework authors
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
aid_runtime/__init__.py,sha256=
|
|
1
|
+
aid_runtime/__init__.py,sha256=2eFXC2m0M2m16CzAO8yqYMVTmT8QO-3DRZf_qA_NzSE,15277
|
|
2
2
|
aid_runtime/cache.py,sha256=jhw_EBd9dfWEUzYeibOvIkVBqqiLUjqF5WKEPz9GkhE,6836
|
|
3
3
|
aid_runtime/concurrency.py,sha256=z0tFQHw35ttFLKfazGBjCMPOLQOnUotE_OPpvR1piH4,2829
|
|
4
4
|
aid_runtime/control.py,sha256=y6wPn0fqYJv0nVSsjzpzfiaq1Y7zBoMxCpdrEuqkfvg,17529
|
|
@@ -34,7 +34,7 @@ aid_runtime/evals/__init__.py,sha256=5_qUGwiKR2l4p-F8RZ9QnxzFOxtNj7DWoEsA8uNyHIs
|
|
|
34
34
|
aid_runtime/evals/agent_runner.py,sha256=sffFGqZDBLmKkce6t82IaWJLHNq-q7HuSmIM61uEkoU,13513
|
|
35
35
|
aid_runtime/evals/dataset.py,sha256=ZmTP-jWx9f2udYPyzvTtOuUse5Mp-uj5WNBPy-7aHKM,5946
|
|
36
36
|
aid_runtime/evals/gate.py,sha256=uYUOw57MaGqSOsMvbB0C6MrjW4IbUJ57izyD6FSxkxw,17676
|
|
37
|
-
aid_runtime/evals/metrics.py,sha256=
|
|
37
|
+
aid_runtime/evals/metrics.py,sha256=rLOUUs_8WWuhw0lWJzkYjkr_wp2xIuJ8f5GWcNWrY90,28775
|
|
38
38
|
aid_runtime/evals/predicate.py,sha256=JaeN1LJFpliI4JHYdFPtXfjH5_Aad-2-U3ZC6_hManE,8726
|
|
39
39
|
aid_runtime/evals/runner.py,sha256=rI5AScHDPnwN5Ohw0I7zR2Df9pGSTE8Un6-lESCSV3g,12827
|
|
40
40
|
aid_runtime/evals/trajectory.py,sha256=X7ssDigfFuMkjM6mR6LGSbb03A8iNf4oRbVqeSsU7Ww,4444
|
|
@@ -63,7 +63,7 @@ aid_runtime/retrieval/rerank.py,sha256=L4ICBi9YHDzhnKVtImKh5Wzre1HDzS8at-AKDkXBJ
|
|
|
63
63
|
aid_runtime/retrieval/retriever.py,sha256=0Cx-_6Qcf2TRolFy4ktMseyyyr-WLphMYYHane0t9lA,24412
|
|
64
64
|
aid_runtime/retrieval/stores.py,sha256=mG261rUHZIzB7niiTj_DuUzcNMOd4QYENk5ArgI1iBo,6840
|
|
65
65
|
aid_runtime/retrieval/types.py,sha256=hJ5IRSD-PTfrc1xhuK6CBdX0Yr-S6L_JeSMPity8ecM,20447
|
|
66
|
-
aid_runtime_python-0.1.
|
|
67
|
-
aid_runtime_python-0.1.
|
|
68
|
-
aid_runtime_python-0.1.
|
|
69
|
-
aid_runtime_python-0.1.
|
|
66
|
+
aid_runtime_python-0.1.182.dist-info/METADATA,sha256=2IqVnc5OqcF2VSqxPIIcK0K9oJ4g50sg7ZMz1l5ZqQY,17163
|
|
67
|
+
aid_runtime_python-0.1.182.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
68
|
+
aid_runtime_python-0.1.182.dist-info/top_level.txt,sha256=QvODgNVRDDMmLcTnoIQ4jYnhqf-N4b9sHWEmaUUxp44,12
|
|
69
|
+
aid_runtime_python-0.1.182.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|