arthur-common 2.1.52__tar.gz → 2.1.54__tar.gz
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.
Potentially problematic release.
This version of arthur-common might be problematic. Click here for more details.
- {arthur_common-2.1.52 → arthur_common-2.1.54}/PKG-INFO +1 -1
- {arthur_common-2.1.52 → arthur_common-2.1.54}/pyproject.toml +1 -1
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/aggregations/aggregator.py +6 -0
- arthur_common-2.1.54/src/arthur_common/aggregations/functions/agentic_aggregations.py +875 -0
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/aggregations/functions/categorical_count.py +14 -1
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/aggregations/functions/confusion_matrix.py +35 -5
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/aggregations/functions/inference_count.py +14 -1
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/aggregations/functions/inference_count_by_class.py +23 -1
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/aggregations/functions/inference_null_count.py +15 -1
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/aggregations/functions/mean_absolute_error.py +26 -3
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/aggregations/functions/mean_squared_error.py +26 -3
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/aggregations/functions/multiclass_confusion_matrix.py +43 -5
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/aggregations/functions/multiclass_inference_count_by_class.py +14 -1
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/aggregations/functions/numeric_stats.py +14 -1
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/aggregations/functions/numeric_sum.py +15 -1
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/aggregations/functions/shield_aggregations.py +127 -16
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/models/datasets.py +1 -0
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/models/metrics.py +35 -18
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/models/schema_definitions.py +58 -0
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/models/shield.py +158 -0
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/models/task_job_specs.py +26 -2
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/tools/aggregation_analyzer.py +2 -1
- {arthur_common-2.1.52 → arthur_common-2.1.54}/README.md +0 -0
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/__init__.py +0 -0
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/aggregations/__init__.py +0 -0
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/aggregations/functions/README.md +0 -0
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/aggregations/functions/__init__.py +0 -0
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/aggregations/functions/py.typed +0 -0
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/aggregations/py.typed +0 -0
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/config/__init__.py +0 -0
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/config/config.py +0 -0
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/config/settings.yaml +0 -0
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/models/__init__.py +0 -0
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/models/connectors.py +0 -0
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/models/py.typed +0 -0
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/py.typed +0 -0
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/tools/__init__.py +0 -0
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/tools/aggregation_loader.py +0 -0
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/tools/duckdb_data_loader.py +0 -0
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/tools/duckdb_utils.py +0 -0
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/tools/functions.py +0 -0
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/tools/py.typed +0 -0
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/tools/schema_inferer.py +0 -0
- {arthur_common-2.1.52 → arthur_common-2.1.54}/src/arthur_common/tools/time_utils.py +0 -0
|
@@ -29,6 +29,12 @@ class AggregationFunction(ABC):
|
|
|
29
29
|
def aggregation_type(self) -> Type[SketchMetric] | Type[NumericMetric]:
|
|
30
30
|
raise NotImplementedError
|
|
31
31
|
|
|
32
|
+
@staticmethod
|
|
33
|
+
@abstractmethod
|
|
34
|
+
def reported_aggregations() -> list[BaseReportedAggregation]:
|
|
35
|
+
"""Returns the list of aggregations reported by the aggregate function."""
|
|
36
|
+
raise NotImplementedError
|
|
37
|
+
|
|
32
38
|
@abstractmethod
|
|
33
39
|
def aggregate(
|
|
34
40
|
self,
|