evalsuite-python 1.4.0__tar.gz → 2.0.0__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.
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/CHANGELOG.md +35 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/PKG-INFO +21 -8
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/README.md +16 -7
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/pyproject.toml +2 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/rust/Cargo.lock +6 -6
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/rust/Cargo.toml +1 -1
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/rust/evalsuite-py/src/lib.rs +34 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/__init__.py +158 -1
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/_bench_metrics.py +118 -1
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/agreement.py +8 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/api.py +15 -2
- evalsuite_python-2.0.0/src/evalsuite/auto_report.py +258 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/bayes.py +23 -6
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/benchmarks.py +13 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/calibration.py +4 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/cards.py +54 -9
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/cli/main.py +89 -2
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/clinical/report.py +4 -0
- evalsuite_python-2.0.0/src/evalsuite/comparisons.py +415 -0
- evalsuite_python-2.0.0/src/evalsuite/conformal.py +502 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/core/exceptions.py +17 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/core/result.py +8 -0
- evalsuite_python-2.0.0/src/evalsuite/data_quality.py +583 -0
- evalsuite_python-2.0.0/src/evalsuite/dataframe.py +123 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/drift.py +4 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/fairness.py +4 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/forecasting.py +4 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/harness.py +6 -1
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/judging.py +8 -0
- evalsuite_python-2.0.0/src/evalsuite/llm_eval.py +630 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/multilabel.py +8 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/plot.py +92 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/rag_report.py +4 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/recalibration.py +7 -0
- evalsuite_python-2.0.0/src/evalsuite/reclassification.py +366 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/reporting.py +4 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/stats/_resolve.py +6 -1
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/stats/compare.py +4 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/stats/paired.py +53 -21
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/text/report.py +4 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/version.py +1 -1
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/vision/detection.py +4 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/vision/segmentation.py +4 -0
- evalsuite_python-2.0.0/src/evalsuite/workflow.py +305 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/output/test_benchmarks.py +4 -2
- evalsuite_python-2.0.0/tests/test_properties.py +108 -0
- evalsuite_python-2.0.0/tests/test_v200.py +642 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/CONTRIBUTING.md +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/LICENSE +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/LICENSE-APACHE +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/rust/evalsuite-core/Cargo.toml +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/rust/evalsuite-core/README.md +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/rust/evalsuite-core/src/agreement.rs +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/rust/evalsuite-core/src/coco.rs +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/rust/evalsuite-core/src/curve.rs +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/rust/evalsuite-core/src/groups.rs +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/rust/evalsuite-core/src/hash.rs +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/rust/evalsuite-core/src/lib.rs +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/rust/evalsuite-core/src/meteor.rs +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/rust/evalsuite-core/src/permutation.rs +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/rust/evalsuite-core/src/qa.rs +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/rust/evalsuite-core/src/ranks.rs +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/rust/evalsuite-core/src/resample.rs +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/rust/evalsuite-core/src/surface.rs +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/rust/evalsuite-core/src/survival.rs +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/rust/evalsuite-core/src/ter.rs +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/rust/evalsuite-core/src/text.rs +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/rust/evalsuite-py/Cargo.toml +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/__main__.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/_evalci.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/_lazy.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/_native.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/_update.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/cache.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/classification/__init__.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/classification/_common.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/classification/metrics.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/cli/__init__.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/clinical/__init__.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/clinical/metrics.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/core/__init__.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/core/context.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/core/export.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/core/registry.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/core/types.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/core/validation.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/html_report.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/integrations.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/llm_benchmarks.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/llmsys/__init__.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/llmsys/_common.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/llmsys/agents.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/llmsys/code.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/llmsys/efficiency.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/llmsys/longcontext.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/llmsys/multilingual.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/llmsys/robustness.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/llmsys/safety.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/llmsys/uncertainty.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/monitor.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/py.typed +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/regression/__init__.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/regression/metrics.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/stats/__init__.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/stats/effect.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/stats/hypothesis.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/stats/intervals.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/stats/planning.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/stats/results.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/survival.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/text/__init__.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/text/_common.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/text/factuality.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/text/generation.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/text/judge.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/text/qa.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/text/rag.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/text/reasoning.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/text/retrieval.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/text/semantic.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/text/spice.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/text/structured.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/src/evalsuite/vision/__init__.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/__init__.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/classification/__init__.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/classification/test_against_sklearn.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/clinical/__init__.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/clinical/test_outputs.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/clinical/test_v020.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/conftest.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/integration/__init__.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/integration/test_qa.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/integration/test_readme_examples.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/integration/test_repo_hygiene.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/llmsys/__init__.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/llmsys/test_code_longcontext_efficiency.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/llmsys/test_edges.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/llmsys/test_fast_text.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/llmsys/test_hardening.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/llmsys/test_safety_robustness.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/llmsys/test_uncertainty_agents_multilingual.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/output/__init__.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/output/test_cli.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/output/test_plot.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/output/test_reporting.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/regression/__init__.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/regression/test_against_sklearn.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/stats/__init__.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/stats/test_branches.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/stats/test_compare.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/stats/test_fast_paths.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/stats/test_reference.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/test_cache.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/test_cards.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/test_harness.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/test_integrations.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/test_monitor.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/test_native.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/test_update.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/test_v111_fixes.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/test_v12.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/test_v121.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/test_v121_coverage.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/test_v13.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/test_v135.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/test_v13_edges.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/test_v140.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/text/__init__.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/text/test_against_references.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/text/test_text_edges.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/text/test_v040.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/unit/__init__.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/unit/test_core.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/unit/test_edges.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/vision/__init__.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/vision/test_detection.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/vision/test_edges.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/vision/test_outputs.py +0 -0
- {evalsuite_python-1.4.0 → evalsuite_python-2.0.0}/tests/vision/test_segmentation.py +0 -0
|
@@ -6,6 +6,41 @@ All notable changes to this project are documented here. The format follows
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [2.0.0] - 2026-11-28
|
|
10
|
+
|
|
11
|
+
A major feature release. Existing results are unchanged; every addition is new API.
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
- **Conformal prediction**: `conformal_classification` (LAC, APS, RAPS; per-class or per-group coverage) and
|
|
15
|
+
`conformal_regression` (absolute, normalized, CQR), with coverage, set-size and width reports.
|
|
16
|
+
- **`evalsuite report data.csv`** / `auto_report`: detects the task and columns and writes a full HTML report.
|
|
17
|
+
- **Data quality**: `leakage_report` (exact / near duplicates, shared IDs, MinHash text near-duplicates, target
|
|
18
|
+
leakage), `label_issues` (confident learning, matches cleanlab), `dataset_card`.
|
|
19
|
+
- **Checklists**: STARD (with the 2×2 table) and CONSORT-AI, auto-filled like TRIPOD+AI.
|
|
20
|
+
- **Statistics**: `noninferiority_test`, `equivalence_test` (TOST), `nemenyi_test` (matches scikit-posthocs),
|
|
21
|
+
`ipw_metric`; plots `critical_difference` and `forest`.
|
|
22
|
+
- **Clinical**: `reclassification` (categorical and continuous NRI, IDI) and `external_validation`.
|
|
23
|
+
- **LLM and AI systems**: `run_model` (OpenAI, Anthropic or any callable; on-disk cache, concurrency, retries;
|
|
24
|
+
keys only from environment variables), `agent_report`, `conversation_report`, `cost_quality_report` with a
|
|
25
|
+
Pareto front, `contamination_check`.
|
|
26
|
+
- **Workflow**: `log_to_mlflow`, `log_to_wandb`, `record_history` / `check_regression` (`evalsuite history`),
|
|
27
|
+
`evalsuite serve`, `df.evalsuite` for pandas and Polars, a Dockerfile.
|
|
28
|
+
- **Ease of use**: did-you-mean suggestions for misspelt functions and metrics, `_repr_html_` on every report,
|
|
29
|
+
`EvalSuiteDeprecationWarning` and a deprecation policy.
|
|
30
|
+
- **Trust and reach**: documentation site (MkDocs), conda recipe, build provenance attestation and CycloneDX
|
|
31
|
+
SBOM on releases, OpenSSF Scorecard; Hypothesis property tests.
|
|
32
|
+
- The per-metric benchmark now covers the 1.3 and 2.0 functions against pingouin, cleanlab, scikit-posthocs,
|
|
33
|
+
baycomp, properscoring and scikit-learn.
|
|
34
|
+
|
|
35
|
+
### Changed
|
|
36
|
+
- Faster, with identical results: isotonic recalibration (pool-adjacent-violators in the compiled core; about 2×
|
|
37
|
+
at 100,000 rows), `nemenyi_test` (about 5×) and `bayes_correlated_ttest` (about 5×; posterior draws are made
|
|
38
|
+
only when `.samples` is used).
|
|
39
|
+
|
|
40
|
+
### Fixed
|
|
41
|
+
- `label_issues` now matches cleanlab's confident learning exactly (an example whose most likely class is its
|
|
42
|
+
given label is never flagged; with several confident classes the most likely one is suggested).
|
|
43
|
+
|
|
9
44
|
## [1.4.0] - 2026-11-28
|
|
10
45
|
|
|
11
46
|
Smoother, cleaner and easier to keep tidy. Results are unchanged.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: evalsuite-python
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.0
|
|
4
4
|
Classifier: Development Status :: 5 - Production/Stable
|
|
5
5
|
Classifier: Intended Audience :: Science/Research
|
|
6
6
|
Classifier: Intended Audience :: Healthcare Industry
|
|
@@ -26,6 +26,7 @@ Requires-Dist: pandas>=1.4
|
|
|
26
26
|
Requires-Dist: matplotlib>=3.5 ; extra == 'all'
|
|
27
27
|
Requires-Dist: pillow>=9 ; extra == 'all'
|
|
28
28
|
Requires-Dist: nltk>=3.8 ; extra == 'all'
|
|
29
|
+
Requires-Dist: anthropic>=0.30 ; extra == 'anthropic'
|
|
29
30
|
Requires-Dist: datasets>=2.14 ; extra == 'benchmarks'
|
|
30
31
|
Requires-Dist: pytest>=7 ; extra == 'dev'
|
|
31
32
|
Requires-Dist: pytest-cov>=4 ; extra == 'dev'
|
|
@@ -58,11 +59,13 @@ Requires-Dist: keras>=3 ; extra == 'keras'
|
|
|
58
59
|
Requires-Dist: lightning>=2 ; extra == 'lightning'
|
|
59
60
|
Requires-Dist: nltk>=3.8 ; extra == 'llm'
|
|
60
61
|
Requires-Dist: mlflow>=2 ; extra == 'mlflow'
|
|
62
|
+
Requires-Dist: openai>=1.0 ; extra == 'openai'
|
|
61
63
|
Requires-Dist: matplotlib>=3.5 ; extra == 'plot'
|
|
62
64
|
Requires-Dist: scikit-learn>=1.2 ; extra == 'sklearn'
|
|
63
65
|
Requires-Dist: pillow>=9 ; extra == 'vision'
|
|
64
66
|
Requires-Dist: wandb>=0.16 ; extra == 'wandb'
|
|
65
67
|
Provides-Extra: all
|
|
68
|
+
Provides-Extra: anthropic
|
|
66
69
|
Provides-Extra: benchmarks
|
|
67
70
|
Provides-Extra: dev
|
|
68
71
|
Provides-Extra: docx
|
|
@@ -70,6 +73,7 @@ Provides-Extra: keras
|
|
|
70
73
|
Provides-Extra: lightning
|
|
71
74
|
Provides-Extra: llm
|
|
72
75
|
Provides-Extra: mlflow
|
|
76
|
+
Provides-Extra: openai
|
|
73
77
|
Provides-Extra: plot
|
|
74
78
|
Provides-Extra: sklearn
|
|
75
79
|
Provides-Extra: vision
|
|
@@ -104,11 +108,20 @@ evaluation into one consistent, validated, documented framework.
|
|
|
104
108
|
> **On an older version? Upgrade once:** `pip install -U evalsuite-python`. From 1.1.2 on, EvalSuite tells you
|
|
105
109
|
> when a newer release is out (`evalsuite upgrade`).
|
|
106
110
|
|
|
107
|
-
> **Status: stable (
|
|
111
|
+
> **Status: stable (2.0.0).** [Example notebooks](notebooks/README.md) (Colab) ·
|
|
108
112
|
> [in-browser tools](https://evalsuite-nine.vercel.app/tools) · [changelog](CHANGELOG.md)
|
|
109
113
|
|
|
110
114
|
**What's new**
|
|
111
115
|
|
|
116
|
+
- **2.0** — conformal prediction (LAC / APS / RAPS sets, absolute / normalized / CQR intervals, per-group
|
|
117
|
+
coverage); `evalsuite report data.csv` works out the task and writes a full HTML report; leakage checks
|
|
118
|
+
(exact and near duplicates, shared IDs, text near-duplicates, target leakage), label-issue finding
|
|
119
|
+
(cleanlab-exact) and dataset cards; STARD and CONSORT-AI checklists next to TRIPOD+AI; non-inferiority,
|
|
120
|
+
equivalence (TOST), Nemenyi with critical-difference plots, NRI / IDI, external validation, forest plots and
|
|
121
|
+
IPW metrics; LLM runs with caching (`run_model`), agent, conversation and cost–quality reports and a
|
|
122
|
+
contamination check; MLflow / W&B logging, an evaluation history with regression checks, `evalsuite serve`,
|
|
123
|
+
`df.evalsuite`; did-you-mean errors and notebook display for every report; a docs site, conda recipe, signed
|
|
124
|
+
build provenance and an SBOM.
|
|
112
125
|
- **1.4** — a cache you can see and clear (`evalsuite cache info` / `clear`), cleared automatically (unused for
|
|
113
126
|
90 days or beyond 2 GB); a package-wide fuzz: non-numeric input now raises a clear `InputValidationError`
|
|
114
127
|
naming the argument in every function, and wrong argument types are explained; every feature area loads
|
|
@@ -618,7 +631,7 @@ scripts, no external requests).
|
|
|
618
631
|
## Evaluation in pull requests
|
|
619
632
|
|
|
620
633
|
```yaml
|
|
621
|
-
- uses: mkcs28/evalsuite-python@
|
|
634
|
+
- uses: mkcs28/evalsuite-python@v2.0.0
|
|
622
635
|
with:
|
|
623
636
|
predictions: predictions.csv
|
|
624
637
|
y-true: label
|
|
@@ -739,11 +752,11 @@ metric calls. At 1,000,000 samples (pixels for segmentation; 1,000 images for de
|
|
|
739
752
|
| text: ROUGE-1, ROUGE-2, ROUGE-L (10000 sentences) | rouge-score | 219.5 | 889.0 | **4.05×** |
|
|
740
753
|
| text: corpus BLEU and chrF (10000 sentences) | sacreBLEU | 266.7 | 2399.8 | **9.00×** |
|
|
741
754
|
|
|
742
|
-
**Every metric is benchmarked too** (`evalsuite benchmark --suite metrics`, re-run on
|
|
743
|
-
metrics and statistics functions at 10,000 and 100,000 samples.
|
|
744
|
-
with
|
|
745
|
-
|
|
746
|
-
speed-up is **5.
|
|
755
|
+
**Every metric is benchmarked too** (`evalsuite benchmark --suite metrics`, re-run on 2.0.0, now including the
|
|
756
|
+
1.3 and 2.0 functions): all 238 registered metrics and statistics functions at 10,000 and 100,000 samples. 90 are
|
|
757
|
+
compared with a reference library (now also pingouin, cleanlab, scikit-posthocs, baycomp and properscoring), 120
|
|
758
|
+
with an independent textbook formula and 28 are timed alone; **all 210 comparisons agree**, and against the
|
|
759
|
+
libraries the geometric-mean speed-up is **5.88×** (169 of 180 measurements faster). Per-metric table in BENCHMARKS.md.
|
|
747
760
|
|
|
748
761
|
**Nearly every workload is faster than its reference.** The text metrics (BLEU, chrF, TER, ROUGE, METEOR, CIDEr,
|
|
749
762
|
CodeBLEU's n-gram terms, distinct-n), the whole COCO evaluation (IoU, score sort, matching, accumulation),
|
|
@@ -13,11 +13,20 @@ evaluation into one consistent, validated, documented framework.
|
|
|
13
13
|
> **On an older version? Upgrade once:** `pip install -U evalsuite-python`. From 1.1.2 on, EvalSuite tells you
|
|
14
14
|
> when a newer release is out (`evalsuite upgrade`).
|
|
15
15
|
|
|
16
|
-
> **Status: stable (
|
|
16
|
+
> **Status: stable (2.0.0).** [Example notebooks](notebooks/README.md) (Colab) ·
|
|
17
17
|
> [in-browser tools](https://evalsuite-nine.vercel.app/tools) · [changelog](CHANGELOG.md)
|
|
18
18
|
|
|
19
19
|
**What's new**
|
|
20
20
|
|
|
21
|
+
- **2.0** — conformal prediction (LAC / APS / RAPS sets, absolute / normalized / CQR intervals, per-group
|
|
22
|
+
coverage); `evalsuite report data.csv` works out the task and writes a full HTML report; leakage checks
|
|
23
|
+
(exact and near duplicates, shared IDs, text near-duplicates, target leakage), label-issue finding
|
|
24
|
+
(cleanlab-exact) and dataset cards; STARD and CONSORT-AI checklists next to TRIPOD+AI; non-inferiority,
|
|
25
|
+
equivalence (TOST), Nemenyi with critical-difference plots, NRI / IDI, external validation, forest plots and
|
|
26
|
+
IPW metrics; LLM runs with caching (`run_model`), agent, conversation and cost–quality reports and a
|
|
27
|
+
contamination check; MLflow / W&B logging, an evaluation history with regression checks, `evalsuite serve`,
|
|
28
|
+
`df.evalsuite`; did-you-mean errors and notebook display for every report; a docs site, conda recipe, signed
|
|
29
|
+
build provenance and an SBOM.
|
|
21
30
|
- **1.4** — a cache you can see and clear (`evalsuite cache info` / `clear`), cleared automatically (unused for
|
|
22
31
|
90 days or beyond 2 GB); a package-wide fuzz: non-numeric input now raises a clear `InputValidationError`
|
|
23
32
|
naming the argument in every function, and wrong argument types are explained; every feature area loads
|
|
@@ -527,7 +536,7 @@ scripts, no external requests).
|
|
|
527
536
|
## Evaluation in pull requests
|
|
528
537
|
|
|
529
538
|
```yaml
|
|
530
|
-
- uses: mkcs28/evalsuite-python@
|
|
539
|
+
- uses: mkcs28/evalsuite-python@v2.0.0
|
|
531
540
|
with:
|
|
532
541
|
predictions: predictions.csv
|
|
533
542
|
y-true: label
|
|
@@ -648,11 +657,11 @@ metric calls. At 1,000,000 samples (pixels for segmentation; 1,000 images for de
|
|
|
648
657
|
| text: ROUGE-1, ROUGE-2, ROUGE-L (10000 sentences) | rouge-score | 219.5 | 889.0 | **4.05×** |
|
|
649
658
|
| text: corpus BLEU and chrF (10000 sentences) | sacreBLEU | 266.7 | 2399.8 | **9.00×** |
|
|
650
659
|
|
|
651
|
-
**Every metric is benchmarked too** (`evalsuite benchmark --suite metrics`, re-run on
|
|
652
|
-
metrics and statistics functions at 10,000 and 100,000 samples.
|
|
653
|
-
with
|
|
654
|
-
|
|
655
|
-
speed-up is **5.
|
|
660
|
+
**Every metric is benchmarked too** (`evalsuite benchmark --suite metrics`, re-run on 2.0.0, now including the
|
|
661
|
+
1.3 and 2.0 functions): all 238 registered metrics and statistics functions at 10,000 and 100,000 samples. 90 are
|
|
662
|
+
compared with a reference library (now also pingouin, cleanlab, scikit-posthocs, baycomp and properscoring), 120
|
|
663
|
+
with an independent textbook formula and 28 are timed alone; **all 210 comparisons agree**, and against the
|
|
664
|
+
libraries the geometric-mean speed-up is **5.88×** (169 of 180 measurements faster). Per-metric table in BENCHMARKS.md.
|
|
656
665
|
|
|
657
666
|
**Nearly every workload is faster than its reference.** The text metrics (BLEU, chrF, TER, ROUGE, METEOR, CIDEr,
|
|
658
667
|
CodeBLEU's n-gram terms, distinct-n), the whole COCO evaluation (IoU, score sort, matching, accumulation),
|
|
@@ -49,6 +49,8 @@ mlflow = ["mlflow>=2"]
|
|
|
49
49
|
docx = ["python-docx>=1.0"]
|
|
50
50
|
benchmarks = ["datasets>=2.14"]
|
|
51
51
|
wandb = ["wandb>=0.16"]
|
|
52
|
+
openai = ["openai>=1.0"]
|
|
53
|
+
anthropic = ["anthropic>=0.30"]
|
|
52
54
|
all = ["matplotlib>=3.5", "pillow>=9", "nltk>=3.8"]
|
|
53
55
|
dev = [
|
|
54
56
|
"pytest>=7",
|
|
@@ -319,7 +319,7 @@ checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826"
|
|
|
319
319
|
|
|
320
320
|
[[package]]
|
|
321
321
|
name = "evalsuite"
|
|
322
|
-
version = "
|
|
322
|
+
version = "2.0.0"
|
|
323
323
|
dependencies = [
|
|
324
324
|
"criterion",
|
|
325
325
|
"evalsuite-core",
|
|
@@ -334,14 +334,14 @@ dependencies = [
|
|
|
334
334
|
|
|
335
335
|
[[package]]
|
|
336
336
|
name = "evalsuite-capi"
|
|
337
|
-
version = "
|
|
337
|
+
version = "2.0.0"
|
|
338
338
|
dependencies = [
|
|
339
339
|
"evalsuite",
|
|
340
340
|
]
|
|
341
341
|
|
|
342
342
|
[[package]]
|
|
343
343
|
name = "evalsuite-cli"
|
|
344
|
-
version = "
|
|
344
|
+
version = "2.0.0"
|
|
345
345
|
dependencies = [
|
|
346
346
|
"clap",
|
|
347
347
|
"csv",
|
|
@@ -351,14 +351,14 @@ dependencies = [
|
|
|
351
351
|
|
|
352
352
|
[[package]]
|
|
353
353
|
name = "evalsuite-core"
|
|
354
|
-
version = "
|
|
354
|
+
version = "2.0.0"
|
|
355
355
|
dependencies = [
|
|
356
356
|
"rayon",
|
|
357
357
|
]
|
|
358
358
|
|
|
359
359
|
[[package]]
|
|
360
360
|
name = "evalsuite-py"
|
|
361
|
-
version = "
|
|
361
|
+
version = "2.0.0"
|
|
362
362
|
dependencies = [
|
|
363
363
|
"evalsuite-core",
|
|
364
364
|
"pyo3",
|
|
@@ -367,7 +367,7 @@ dependencies = [
|
|
|
367
367
|
|
|
368
368
|
[[package]]
|
|
369
369
|
name = "evalsuite-wasm"
|
|
370
|
-
version = "
|
|
370
|
+
version = "2.0.0"
|
|
371
371
|
dependencies = [
|
|
372
372
|
"evalsuite",
|
|
373
373
|
"js-sys",
|
|
@@ -396,6 +396,39 @@ fn coco_evaluate<'py>(
|
|
|
396
396
|
))
|
|
397
397
|
}
|
|
398
398
|
|
|
399
|
+
/// Pool-adjacent-violators on per-x means `y` with weights `w` (float64 views of `n` elements): the pooled block
|
|
400
|
+
/// values and block lengths. The same operations in the same order as `evalsuite.recalibration._pava`, so results
|
|
401
|
+
/// are identical bit for bit.
|
|
402
|
+
#[pyfunction]
|
|
403
|
+
fn pava(py: Python<'_>, y: (usize, usize), w: (usize, usize)) -> PyResult<(Vec<f64>, Vec<u64>)> {
|
|
404
|
+
let ys: &[f64] = view(y.0, y.1)?;
|
|
405
|
+
let ws: &[f64] = view(w.0, w.1)?;
|
|
406
|
+
if ys.len() != ws.len() {
|
|
407
|
+
return Err(PyValueError::new_err("y and w must have the same length"));
|
|
408
|
+
}
|
|
409
|
+
Ok(py.detach(|| {
|
|
410
|
+
let mut vals: Vec<f64> = Vec::with_capacity(ys.len());
|
|
411
|
+
let mut wts: Vec<f64> = Vec::with_capacity(ys.len());
|
|
412
|
+
let mut lens: Vec<u64> = Vec::with_capacity(ys.len());
|
|
413
|
+
for (&v, &wt) in ys.iter().zip(ws) {
|
|
414
|
+
vals.push(v);
|
|
415
|
+
wts.push(wt);
|
|
416
|
+
lens.push(1);
|
|
417
|
+
while vals.len() > 1 && vals[vals.len() - 2] > vals[vals.len() - 1] {
|
|
418
|
+
let v2 = vals.pop().unwrap();
|
|
419
|
+
let w2 = wts.pop().unwrap();
|
|
420
|
+
let l2 = lens.pop().unwrap();
|
|
421
|
+
let last = vals.len() - 1;
|
|
422
|
+
let tot = wts[last] + w2;
|
|
423
|
+
vals[last] = (vals[last] * wts[last] + v2 * w2) / tot;
|
|
424
|
+
wts[last] = tot;
|
|
425
|
+
lens[last] += l2;
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
(vals, lens)
|
|
429
|
+
}))
|
|
430
|
+
}
|
|
431
|
+
|
|
399
432
|
/// Harrell's concordance sums `(numerator, denominator, comparable pairs)`. `time`, `risk` and `weight` are float64
|
|
400
433
|
/// views and `event` a uint8 view, all of `n` elements, kept alive and unchanged by the caller during the call.
|
|
401
434
|
#[pyfunction]
|
|
@@ -1163,6 +1196,7 @@ fn _core(m: &Bound<'_, PyModule>) -> PyResult<()> {
|
|
|
1163
1196
|
m.add_function(wrap_pyfunction!(codebleu_stats, m)?)?;
|
|
1164
1197
|
m.add_function(wrap_pyfunction!(distinct_ngrams, m)?)?;
|
|
1165
1198
|
m.add_function(wrap_pyfunction!(num_threads, m)?)?;
|
|
1199
|
+
m.add_function(wrap_pyfunction!(pava, m)?)?;
|
|
1166
1200
|
m.add_function(wrap_pyfunction!(retrieval_scores, m)?)?;
|
|
1167
1201
|
Ok(())
|
|
1168
1202
|
}
|
|
@@ -41,6 +41,11 @@ if TYPE_CHECKING: # static analysers and IDEs see the full eager API
|
|
|
41
41
|
from .api import (
|
|
42
42
|
evaluate,
|
|
43
43
|
)
|
|
44
|
+
from .auto_report import (
|
|
45
|
+
AutoReport,
|
|
46
|
+
auto_report,
|
|
47
|
+
detect_columns,
|
|
48
|
+
)
|
|
44
49
|
from .bayes import (
|
|
45
50
|
BayesComparison,
|
|
46
51
|
bayes_compare,
|
|
@@ -101,7 +106,22 @@ if TYPE_CHECKING: # static analysers and IDEs see the full eager API
|
|
|
101
106
|
sensitivity,
|
|
102
107
|
youden_j,
|
|
103
108
|
)
|
|
109
|
+
from .comparisons import (
|
|
110
|
+
NemenyiResult,
|
|
111
|
+
equivalence_test,
|
|
112
|
+
ipw_metric,
|
|
113
|
+
nemenyi_test,
|
|
114
|
+
noninferiority_test,
|
|
115
|
+
)
|
|
116
|
+
from .conformal import (
|
|
117
|
+
ConformalIntervals,
|
|
118
|
+
ConformalSets,
|
|
119
|
+
conformal_classification,
|
|
120
|
+
conformal_quantile,
|
|
121
|
+
conformal_regression,
|
|
122
|
+
)
|
|
104
123
|
from .core.exceptions import (
|
|
124
|
+
EvalSuiteDeprecationWarning,
|
|
105
125
|
EvalSuiteError,
|
|
106
126
|
InputValidationError,
|
|
107
127
|
MetricInputError,
|
|
@@ -119,6 +139,17 @@ if TYPE_CHECKING: # static analysers and IDEs see the full eager API
|
|
|
119
139
|
EvaluationResult,
|
|
120
140
|
MetricResult,
|
|
121
141
|
)
|
|
142
|
+
from .data_quality import (
|
|
143
|
+
DatasetCard,
|
|
144
|
+
LabelIssues,
|
|
145
|
+
LeakageReport,
|
|
146
|
+
dataset_card,
|
|
147
|
+
label_issues,
|
|
148
|
+
leakage_report,
|
|
149
|
+
)
|
|
150
|
+
from .dataframe import (
|
|
151
|
+
register_accessors,
|
|
152
|
+
)
|
|
122
153
|
from .drift import (
|
|
123
154
|
DriftReport,
|
|
124
155
|
drift_report,
|
|
@@ -157,6 +188,17 @@ if TYPE_CHECKING: # static analysers and IDEs see the full eager API
|
|
|
157
188
|
format_multiple_choice,
|
|
158
189
|
load_benchmark,
|
|
159
190
|
)
|
|
191
|
+
from .llm_eval import (
|
|
192
|
+
AgentReport,
|
|
193
|
+
ContaminationReport,
|
|
194
|
+
ConversationReport,
|
|
195
|
+
CostQualityReport,
|
|
196
|
+
agent_report,
|
|
197
|
+
contamination_check,
|
|
198
|
+
conversation_report,
|
|
199
|
+
cost_quality_report,
|
|
200
|
+
run_model,
|
|
201
|
+
)
|
|
160
202
|
from .llmsys import *
|
|
161
203
|
from .monitor import (
|
|
162
204
|
Alert,
|
|
@@ -178,6 +220,12 @@ if TYPE_CHECKING: # static analysers and IDEs see the full eager API
|
|
|
178
220
|
Calibrator,
|
|
179
221
|
recalibrate,
|
|
180
222
|
)
|
|
223
|
+
from .reclassification import (
|
|
224
|
+
ExternalValidation,
|
|
225
|
+
ReclassificationResult,
|
|
226
|
+
external_validation,
|
|
227
|
+
reclassification,
|
|
228
|
+
)
|
|
181
229
|
from .regression import (
|
|
182
230
|
adjusted_r2,
|
|
183
231
|
explained_variance,
|
|
@@ -267,6 +315,15 @@ if TYPE_CHECKING: # static analysers and IDEs see the full eager API
|
|
|
267
315
|
segmentation_confusion,
|
|
268
316
|
segmentation_report,
|
|
269
317
|
)
|
|
318
|
+
from .workflow import (
|
|
319
|
+
check_regression,
|
|
320
|
+
load_history,
|
|
321
|
+
log_to_mlflow,
|
|
322
|
+
log_to_wandb,
|
|
323
|
+
metrics_dict,
|
|
324
|
+
record_history,
|
|
325
|
+
serve,
|
|
326
|
+
)
|
|
270
327
|
|
|
271
328
|
# Submodules available as attributes (``es.stats``, ``es.plot``, ...).
|
|
272
329
|
_SUBMODULES = (
|
|
@@ -334,6 +391,7 @@ _EXPORTS: dict[str, tuple[str, ...]] = {
|
|
|
334
391
|
"youden_j",
|
|
335
392
|
),
|
|
336
393
|
".core.exceptions": (
|
|
394
|
+
"EvalSuiteDeprecationWarning",
|
|
337
395
|
"EvalSuiteError",
|
|
338
396
|
"InputValidationError",
|
|
339
397
|
"MetricInputError",
|
|
@@ -396,6 +454,60 @@ _EXPORTS: dict[str, tuple[str, ...]] = {
|
|
|
396
454
|
"cache_info",
|
|
397
455
|
"clear_cache",
|
|
398
456
|
),
|
|
457
|
+
".auto_report": (
|
|
458
|
+
"AutoReport",
|
|
459
|
+
"auto_report",
|
|
460
|
+
"detect_columns",
|
|
461
|
+
),
|
|
462
|
+
".comparisons": (
|
|
463
|
+
"NemenyiResult",
|
|
464
|
+
"equivalence_test",
|
|
465
|
+
"ipw_metric",
|
|
466
|
+
"nemenyi_test",
|
|
467
|
+
"noninferiority_test",
|
|
468
|
+
),
|
|
469
|
+
".conformal": (
|
|
470
|
+
"ConformalIntervals",
|
|
471
|
+
"ConformalSets",
|
|
472
|
+
"conformal_classification",
|
|
473
|
+
"conformal_quantile",
|
|
474
|
+
"conformal_regression",
|
|
475
|
+
),
|
|
476
|
+
".data_quality": (
|
|
477
|
+
"DatasetCard",
|
|
478
|
+
"LabelIssues",
|
|
479
|
+
"LeakageReport",
|
|
480
|
+
"dataset_card",
|
|
481
|
+
"label_issues",
|
|
482
|
+
"leakage_report",
|
|
483
|
+
),
|
|
484
|
+
".reclassification": (
|
|
485
|
+
"ExternalValidation",
|
|
486
|
+
"ReclassificationResult",
|
|
487
|
+
"external_validation",
|
|
488
|
+
"reclassification",
|
|
489
|
+
),
|
|
490
|
+
".llm_eval": (
|
|
491
|
+
"AgentReport",
|
|
492
|
+
"ContaminationReport",
|
|
493
|
+
"ConversationReport",
|
|
494
|
+
"CostQualityReport",
|
|
495
|
+
"agent_report",
|
|
496
|
+
"contamination_check",
|
|
497
|
+
"conversation_report",
|
|
498
|
+
"cost_quality_report",
|
|
499
|
+
"run_model",
|
|
500
|
+
),
|
|
501
|
+
".dataframe": ("register_accessors",),
|
|
502
|
+
".workflow": (
|
|
503
|
+
"check_regression",
|
|
504
|
+
"load_history",
|
|
505
|
+
"log_to_mlflow",
|
|
506
|
+
"log_to_wandb",
|
|
507
|
+
"metrics_dict",
|
|
508
|
+
"record_history",
|
|
509
|
+
"serve",
|
|
510
|
+
),
|
|
399
511
|
".fairness": (
|
|
400
512
|
"FairnessReport",
|
|
401
513
|
"fairness_report",
|
|
@@ -682,7 +794,10 @@ _LAZY: dict[str, str] = {name: mod for mod, names in _EXPORTS.items() for name i
|
|
|
682
794
|
_LAZY.update({"UpdateInfo": "._update", "check_for_update": "._update", "upgrade": "._update"})
|
|
683
795
|
|
|
684
796
|
__all__ = [
|
|
797
|
+
"EvalSuiteDeprecationWarning",
|
|
798
|
+
"AgentReport",
|
|
685
799
|
"Alert",
|
|
800
|
+
"AutoReport",
|
|
686
801
|
"BENCHMARKS",
|
|
687
802
|
"BayesComparison",
|
|
688
803
|
"BlandAltman",
|
|
@@ -692,29 +807,40 @@ __all__ = [
|
|
|
692
807
|
"ClassificationReport",
|
|
693
808
|
"ComparisonResult",
|
|
694
809
|
"ConfidenceInterval",
|
|
810
|
+
"ConformalIntervals",
|
|
811
|
+
"ConformalSets",
|
|
812
|
+
"ContaminationReport",
|
|
813
|
+
"ConversationReport",
|
|
814
|
+
"CostQualityReport",
|
|
815
|
+
"DatasetCard",
|
|
695
816
|
"DecisionCurve",
|
|
696
817
|
"DetectionReport",
|
|
697
818
|
"DiagnosticReport",
|
|
698
819
|
"DriftReport",
|
|
699
820
|
"EvalSuiteError",
|
|
700
821
|
"EvaluationResult",
|
|
822
|
+
"ExternalValidation",
|
|
701
823
|
"FairnessReport",
|
|
702
824
|
"ForecastReport",
|
|
703
825
|
"ICCForm",
|
|
704
826
|
"ICCResult",
|
|
705
827
|
"InputValidationError",
|
|
706
828
|
"JudgeReport",
|
|
829
|
+
"LabelIssues",
|
|
707
830
|
"Leaderboard",
|
|
831
|
+
"LeakageReport",
|
|
708
832
|
"MetricInfo",
|
|
709
833
|
"MetricInputError",
|
|
710
834
|
"MetricResult",
|
|
711
835
|
"Monitor",
|
|
712
836
|
"MultilabelReport",
|
|
837
|
+
"NemenyiResult",
|
|
713
838
|
"OptionalDependencyError",
|
|
714
839
|
"PII_PATTERNS",
|
|
715
840
|
"PYTHON_KEYWORDS",
|
|
716
841
|
"RAGReport",
|
|
717
842
|
"RankingReport",
|
|
843
|
+
"ReclassificationResult",
|
|
718
844
|
"ReportCard",
|
|
719
845
|
"RubricReport",
|
|
720
846
|
"SampleSize",
|
|
@@ -735,11 +861,13 @@ __all__ = [
|
|
|
735
861
|
"adjusted_r2",
|
|
736
862
|
"adversarial_robustness",
|
|
737
863
|
"agent_cost_per_task",
|
|
864
|
+
"agent_report",
|
|
738
865
|
"answer_correctness",
|
|
739
866
|
"answer_relevance",
|
|
740
867
|
"api_call_success_rate",
|
|
741
868
|
"attack_success_rate",
|
|
742
869
|
"aurc",
|
|
870
|
+
"auto_report",
|
|
743
871
|
"availability",
|
|
744
872
|
"average_precision",
|
|
745
873
|
"average_precision_detection",
|
|
@@ -766,6 +894,7 @@ __all__ = [
|
|
|
766
894
|
"calibration_report",
|
|
767
895
|
"calibration_slope",
|
|
768
896
|
"check_for_update",
|
|
897
|
+
"check_regression",
|
|
769
898
|
"chi_square_test",
|
|
770
899
|
"chrf",
|
|
771
900
|
"cider",
|
|
@@ -787,13 +916,19 @@ __all__ = [
|
|
|
787
916
|
"compression_ratio",
|
|
788
917
|
"concordance_index",
|
|
789
918
|
"confidence_accuracy_correlation",
|
|
919
|
+
"conformal_classification",
|
|
920
|
+
"conformal_quantile",
|
|
921
|
+
"conformal_regression",
|
|
790
922
|
"confusion_matrix",
|
|
791
923
|
"constraint_satisfaction_rate",
|
|
924
|
+
"contamination_check",
|
|
792
925
|
"context_precision",
|
|
793
926
|
"context_recall",
|
|
794
927
|
"context_relevance",
|
|
795
928
|
"context_utilization",
|
|
796
929
|
"contradiction_rate",
|
|
930
|
+
"conversation_report",
|
|
931
|
+
"cost_quality_report",
|
|
797
932
|
"coverage_at_risk",
|
|
798
933
|
"coverage_rate",
|
|
799
934
|
"cramers_v",
|
|
@@ -802,8 +937,10 @@ __all__ = [
|
|
|
802
937
|
"cross_lingual_consistency",
|
|
803
938
|
"crps",
|
|
804
939
|
"cultural_appropriateness",
|
|
940
|
+
"dataset_card",
|
|
805
941
|
"decision_curve",
|
|
806
942
|
"delong_test",
|
|
943
|
+
"detect_columns",
|
|
807
944
|
"detect_pii",
|
|
808
945
|
"detection_pr_curve",
|
|
809
946
|
"detection_report",
|
|
@@ -818,6 +955,7 @@ __all__ = [
|
|
|
818
955
|
"elo_ratings",
|
|
819
956
|
"embedding_similarity",
|
|
820
957
|
"energy_per_request",
|
|
958
|
+
"equivalence_test",
|
|
821
959
|
"error_rate",
|
|
822
960
|
"evaluate",
|
|
823
961
|
"exact_match",
|
|
@@ -825,6 +963,7 @@ __all__ = [
|
|
|
825
963
|
"expected_calibration_error",
|
|
826
964
|
"explained_variance",
|
|
827
965
|
"exposure",
|
|
966
|
+
"external_validation",
|
|
828
967
|
"extra_content_rate",
|
|
829
968
|
"extract_answer",
|
|
830
969
|
"extract_json",
|
|
@@ -861,6 +1000,7 @@ __all__ = [
|
|
|
861
1000
|
"invalid_tool_call_rate",
|
|
862
1001
|
"invariance_violation_rate",
|
|
863
1002
|
"iou",
|
|
1003
|
+
"ipw_metric",
|
|
864
1004
|
"jaccard",
|
|
865
1005
|
"json_schema_compliance",
|
|
866
1006
|
"json_validity",
|
|
@@ -871,17 +1011,22 @@ __all__ = [
|
|
|
871
1011
|
"krippendorff_alpha",
|
|
872
1012
|
"kruskal_wallis_test",
|
|
873
1013
|
"ks_drift",
|
|
1014
|
+
"label_issues",
|
|
874
1015
|
"language_consistency",
|
|
875
1016
|
"language_id_accuracy",
|
|
876
1017
|
"language_parity",
|
|
877
1018
|
"latency_percentiles",
|
|
878
1019
|
"latency_summary",
|
|
879
1020
|
"leaderboard",
|
|
1021
|
+
"leakage_report",
|
|
880
1022
|
"lins_ccc",
|
|
881
1023
|
"list_metrics",
|
|
882
1024
|
"llmsys",
|
|
883
1025
|
"load_benchmark",
|
|
1026
|
+
"load_history",
|
|
884
1027
|
"log_loss",
|
|
1028
|
+
"log_to_mlflow",
|
|
1029
|
+
"log_to_wandb",
|
|
885
1030
|
"lost_in_the_middle",
|
|
886
1031
|
"lr_negative",
|
|
887
1032
|
"lr_positive",
|
|
@@ -902,6 +1047,7 @@ __all__ = [
|
|
|
902
1047
|
"median_absolute_error",
|
|
903
1048
|
"meteor",
|
|
904
1049
|
"metric_info",
|
|
1050
|
+
"metrics_dict",
|
|
905
1051
|
"miou",
|
|
906
1052
|
"model_score",
|
|
907
1053
|
"moverscore",
|
|
@@ -912,8 +1058,10 @@ __all__ = [
|
|
|
912
1058
|
"multilabel_report",
|
|
913
1059
|
"ndcg_at_k",
|
|
914
1060
|
"needle_in_haystack",
|
|
1061
|
+
"nemenyi_test",
|
|
915
1062
|
"net_benefit",
|
|
916
1063
|
"noise_robustness",
|
|
1064
|
+
"noninferiority_test",
|
|
917
1065
|
"normalize_answer",
|
|
918
1066
|
"npv",
|
|
919
1067
|
"ood_accuracy",
|
|
@@ -951,9 +1099,12 @@ __all__ = [
|
|
|
951
1099
|
"recalibrate",
|
|
952
1100
|
"recall",
|
|
953
1101
|
"recall_at_k",
|
|
1102
|
+
"reclassification",
|
|
1103
|
+
"record_history",
|
|
954
1104
|
"recovery_success_rate",
|
|
955
1105
|
"red_team_success_rate",
|
|
956
1106
|
"refusal_rate",
|
|
1107
|
+
"register_accessors",
|
|
957
1108
|
"regression",
|
|
958
1109
|
"report_card",
|
|
959
1110
|
"requests_per_second",
|
|
@@ -977,6 +1128,7 @@ __all__ = [
|
|
|
977
1128
|
"rse",
|
|
978
1129
|
"rubric_report",
|
|
979
1130
|
"rubric_score",
|
|
1131
|
+
"run_model",
|
|
980
1132
|
"runtime_efficiency",
|
|
981
1133
|
"sample_size_auc",
|
|
982
1134
|
"sample_size_mean_difference",
|
|
@@ -990,6 +1142,7 @@ __all__ = [
|
|
|
990
1142
|
"self_preference_bias",
|
|
991
1143
|
"sensitivity",
|
|
992
1144
|
"sentence_bleu",
|
|
1145
|
+
"serve",
|
|
993
1146
|
"shapiro_wilk_test",
|
|
994
1147
|
"smape",
|
|
995
1148
|
"specificity",
|
|
@@ -1041,7 +1194,11 @@ def __getattr__(name: str) -> Any:
|
|
|
1041
1194
|
elif name in _LAZY:
|
|
1042
1195
|
value = getattr(_importlib.import_module(_LAZY[name], __name__), name)
|
|
1043
1196
|
else:
|
|
1044
|
-
|
|
1197
|
+
import difflib
|
|
1198
|
+
|
|
1199
|
+
close = difflib.get_close_matches(name, __all__, n=3, cutoff=0.75)
|
|
1200
|
+
hint = f" Did you mean {', '.join(repr(c) for c in close)}?" if close else ""
|
|
1201
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}.{hint}")
|
|
1045
1202
|
globals()[name] = value # cache: later look-ups are plain attribute access
|
|
1046
1203
|
return value
|
|
1047
1204
|
|