evalsuite-python 0.8.0__tar.gz → 1.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-0.8.0 → evalsuite_python-1.0.0}/CHANGELOG.md +65 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/PKG-INFO +29 -7
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/README.md +16 -6
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/pyproject.toml +6 -0
- evalsuite_python-1.0.0/rust/Cargo.lock +1330 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/rust/Cargo.toml +1 -1
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/rust/evalsuite-py/src/lib.rs +177 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/__init__.py +11 -0
- evalsuite_python-1.0.0/src/evalsuite/_evalci.py +251 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/api.py +37 -5
- evalsuite_python-1.0.0/src/evalsuite/cards.py +427 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/cli/main.py +49 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/core/result.py +84 -12
- evalsuite_python-1.0.0/src/evalsuite/harness.py +470 -0
- evalsuite_python-1.0.0/src/evalsuite/integrations.py +231 -0
- evalsuite_python-1.0.0/src/evalsuite/monitor.py +197 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/stats/compare.py +2 -1
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/stats/intervals.py +2 -1
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/text/retrieval.py +46 -14
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/version.py +1 -1
- evalsuite_python-1.0.0/tests/test_cards.py +85 -0
- evalsuite_python-1.0.0/tests/test_harness.py +117 -0
- evalsuite_python-1.0.0/tests/test_integrations.py +101 -0
- evalsuite_python-1.0.0/tests/test_monitor.py +57 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/test_native.py +56 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/unit/test_core.py +23 -1
- evalsuite_python-0.8.0/rust/Cargo.lock +0 -371
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/CONTRIBUTING.md +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/LICENSE +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/LICENSE-APACHE +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/rust/evalsuite-core/Cargo.toml +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/rust/evalsuite-core/README.md +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/rust/evalsuite-core/src/agreement.rs +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/rust/evalsuite-core/src/coco.rs +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/rust/evalsuite-core/src/curve.rs +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/rust/evalsuite-core/src/groups.rs +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/rust/evalsuite-core/src/hash.rs +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/rust/evalsuite-core/src/lib.rs +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/rust/evalsuite-core/src/meteor.rs +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/rust/evalsuite-core/src/permutation.rs +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/rust/evalsuite-core/src/qa.rs +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/rust/evalsuite-core/src/ranks.rs +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/rust/evalsuite-core/src/resample.rs +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/rust/evalsuite-core/src/surface.rs +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/rust/evalsuite-core/src/ter.rs +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/rust/evalsuite-core/src/text.rs +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/rust/evalsuite-py/Cargo.toml +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/__main__.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/_bench_metrics.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/_lazy.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/_native.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/benchmarks.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/calibration.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/classification/__init__.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/classification/_common.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/classification/metrics.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/cli/__init__.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/clinical/__init__.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/clinical/metrics.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/clinical/report.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/core/__init__.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/core/context.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/core/exceptions.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/core/export.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/core/registry.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/core/types.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/core/validation.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/llmsys/__init__.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/llmsys/_common.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/llmsys/agents.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/llmsys/code.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/llmsys/efficiency.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/llmsys/longcontext.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/llmsys/multilingual.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/llmsys/robustness.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/llmsys/safety.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/llmsys/uncertainty.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/plot.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/py.typed +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/regression/__init__.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/regression/metrics.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/reporting.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/stats/__init__.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/stats/_resolve.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/stats/effect.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/stats/hypothesis.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/stats/paired.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/stats/results.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/text/__init__.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/text/_common.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/text/factuality.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/text/generation.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/text/judge.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/text/qa.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/text/rag.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/text/reasoning.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/text/report.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/text/semantic.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/text/spice.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/text/structured.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/vision/__init__.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/vision/detection.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/src/evalsuite/vision/segmentation.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/__init__.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/classification/__init__.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/classification/test_against_sklearn.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/clinical/__init__.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/clinical/test_outputs.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/clinical/test_v020.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/conftest.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/integration/__init__.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/integration/test_qa.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/integration/test_readme_examples.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/integration/test_repo_hygiene.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/llmsys/__init__.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/llmsys/test_code_longcontext_efficiency.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/llmsys/test_edges.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/llmsys/test_fast_text.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/llmsys/test_hardening.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/llmsys/test_safety_robustness.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/llmsys/test_uncertainty_agents_multilingual.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/output/__init__.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/output/test_benchmarks.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/output/test_cli.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/output/test_plot.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/output/test_reporting.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/regression/__init__.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/regression/test_against_sklearn.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/stats/__init__.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/stats/test_branches.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/stats/test_compare.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/stats/test_fast_paths.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/stats/test_reference.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/text/__init__.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/text/test_against_references.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/text/test_text_edges.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/text/test_v040.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/unit/__init__.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/unit/test_edges.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/vision/__init__.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/vision/test_detection.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/vision/test_edges.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/vision/test_outputs.py +0 -0
- {evalsuite_python-0.8.0 → evalsuite_python-1.0.0}/tests/vision/test_segmentation.py +0 -0
|
@@ -6,6 +6,71 @@ All notable changes to this project are documented here. The format follows
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [1.0.0] - 2026-11-25
|
|
10
|
+
|
|
11
|
+
EvalSuite 1.0: answers with uncertainty by default, and one engine in every language.
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
- **Confidence intervals by default in `evaluate()`** (`ci="analytic"`: Wilson for proportions, DeLong for
|
|
15
|
+
ROC AUC, t-intervals for error metrics; `ci="bootstrap"` or `ci=False`) and **baseline tests**
|
|
16
|
+
(`baseline_pred=` / `baseline_prob=`: paired difference with interval and p-value, Holm-adjusted). Summaries,
|
|
17
|
+
Markdown, LaTeX and DataFrame exports show the interval and the comparison.
|
|
18
|
+
- **LLM leaderboard harness** (`es.leaderboard`, `evalsuite leaderboard`): scorers (exact match, GSM8K, boxed,
|
|
19
|
+
choice, numeric, ...), Wilson / bootstrap intervals, McNemar or paired-bootstrap tests with Holm adjustment,
|
|
20
|
+
significance-aware ranks, per-category tables, extraction-failure, contamination (n-gram overlap) and
|
|
21
|
+
judge position-consistency checks; Markdown, LaTeX, HTML, CSV and JSON output.
|
|
22
|
+
- **Integrations** (`evalsuite.integrations`): scikit-learn scorers, Hugging Face `compute_metrics`, Keras and
|
|
23
|
+
PyTorch Lightning callbacks, MLflow and Weights & Biases logging (optional extras).
|
|
24
|
+
- **Monitoring** (`es.Monitor`, `evalsuite::monitor`): sliding-window metrics, PSI and Kolmogorov–Smirnov drift
|
|
25
|
+
against reference scores, threshold alerts with callbacks, `snapshot()` with intervals.
|
|
26
|
+
- **Report cards** (`es.report_card`): the TRIPOD+AI performance section (sample, discrimination, calibration,
|
|
27
|
+
Brier, threshold measures, net benefit, subgroups) with intervals, a results paragraph and the checklist; model
|
|
28
|
+
cards from `context`; Markdown, LaTeX, HTML, JSON, CSV and Word (`[docx]` extra).
|
|
29
|
+
- **One engine, every language**: `evalsuite::bridge` (JSON in, JSON out); the `evalsuite` npm package
|
|
30
|
+
(WebAssembly, Node and browser); a C API (`evalsuite-capi`, `evalsuite.h`); R (`bindings/r`) and Julia
|
|
31
|
+
(`bindings/julia`) packages. CI checks that every language gives the engine's value.
|
|
32
|
+
|
|
33
|
+
### Changed
|
|
34
|
+
- Faster Rust text metrics: an allocation-free 13a tokenizer and parallel sentence statistics (TER 1.9×,
|
|
35
|
+
chrF 1.6×, BLEU 1.2× versus 0.8.5); HD95 percentiles by selection instead of sorting.
|
|
36
|
+
|
|
37
|
+
## [0.8.5] - 2026-11-25
|
|
38
|
+
|
|
39
|
+
The Rust edition is complete, gains a command-line tool, and the Python retrieval metrics run on it.
|
|
40
|
+
|
|
41
|
+
### Added
|
|
42
|
+
- **`code_complexity`, full CodeBLEU and a Python syntax check in the crate** (`code::code_complexity`,
|
|
43
|
+
`code::codebleu_python`, `code::python_syntax_ok`, `code::strip_python_comments`): Python source is parsed
|
|
44
|
+
with `rustpython-parser` into a CPython-shaped tree and tokenized as Python 3.12's `tokenize`, with radon's
|
|
45
|
+
complexity, Halstead and raw-line rules and CodeBLEU's sub-tree and data-flow matching. Every registered metric
|
|
46
|
+
of the Python package now has a Rust counterpart.
|
|
47
|
+
- **`evalsuite-cli`** (`cargo install evalsuite-cli`): the `evalsuite` command evaluates CSV, TSV, JSON and
|
|
48
|
+
JSON-lines files (`evaluate` for classification or regression, `diagnostic`, `calibration`, `text`,
|
|
49
|
+
`metrics`) as text, JSON, CSV or Markdown, with the same numbers as the Python CLI.
|
|
50
|
+
- **`clinical::diagnostic_report`** in the crate: the 2×2 table and every measure with its interval.
|
|
51
|
+
- **Property tests** for the crate (invariants independent of the fixtures) and **Criterion benchmarks**
|
|
52
|
+
(`cargo bench -p evalsuite`); results in BENCHMARKS.md.
|
|
53
|
+
- **Python retrieval metrics on Rust**: Precision, Recall and Hit rate @k, MRR, MAP and NDCG validate and look
|
|
54
|
+
up ids with Python's own dict and set semantics from Rust and repeat the arithmetic exactly (bit-identical,
|
|
55
|
+
checked by `tests/test_native.py` on mixed id types and graded judgements): 3–3.5× faster.
|
|
56
|
+
|
|
57
|
+
### Changed
|
|
58
|
+
- Faster crate kernels: label encoding in one hashed pass, unweighted accuracy without encoding (11–21× the
|
|
59
|
+
Python speed), selection instead of sorting for the median (2×), parallel BLEU tokenization.
|
|
60
|
+
- The crate's parity fixtures cover 36,514 cases (460 new ones for Python source analysis); `crates.yml`
|
|
61
|
+
publishes `evalsuite-core`, `evalsuite` and `evalsuite-cli` together.
|
|
62
|
+
|
|
63
|
+
### Fixed
|
|
64
|
+
- `proportion_ci(method="wilson")` (Python and Rust) keeps the estimate inside the interval at 0 and n
|
|
65
|
+
successes: rounding gave an upper bound of 0.9999999999999999 at n of n (Rust: a lower bound of 3e-17 at 0).
|
|
66
|
+
|
|
67
|
+
### Not moved to Rust
|
|
68
|
+
- Regression metrics: NumPy already handles the arrays and most of the time is input validation that stays in
|
|
69
|
+
Python, so a Rust call would gain little.
|
|
70
|
+
- Judge statistics (Bradley–Terry, Krippendorff's alpha) and other NumPy-vectorised groups: their results depend
|
|
71
|
+
on NumPy's SIMD `log` / `exp` and BLAS matrix products, which Rust cannot reproduce bit for bit on every CPU,
|
|
72
|
+
and the package's rule is that native results equal the Python ones exactly.
|
|
73
|
+
|
|
9
74
|
## [0.8.0] - 2026-11-25
|
|
10
75
|
|
|
11
76
|
A full Rust edition of EvalSuite: the new [`evalsuite`](https://crates.io/crates/evalsuite) crate on crates.io.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: evalsuite-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 1.0.0
|
|
4
4
|
Classifier: Development Status :: 5 - Production/Stable
|
|
5
5
|
Classifier: Intended Audience :: Science/Research
|
|
6
6
|
Classifier: Intended Audience :: Healthcare Industry
|
|
@@ -50,14 +50,26 @@ Requires-Dist: pandas-stubs ; extra == 'dev'
|
|
|
50
50
|
Requires-Dist: build ; extra == 'dev'
|
|
51
51
|
Requires-Dist: twine ; extra == 'dev'
|
|
52
52
|
Requires-Dist: pip-audit ; extra == 'dev'
|
|
53
|
+
Requires-Dist: python-docx>=1.0 ; extra == 'docx'
|
|
54
|
+
Requires-Dist: keras>=3 ; extra == 'keras'
|
|
55
|
+
Requires-Dist: lightning>=2 ; extra == 'lightning'
|
|
53
56
|
Requires-Dist: nltk>=3.8 ; extra == 'llm'
|
|
57
|
+
Requires-Dist: mlflow>=2 ; extra == 'mlflow'
|
|
54
58
|
Requires-Dist: matplotlib>=3.5 ; extra == 'plot'
|
|
59
|
+
Requires-Dist: scikit-learn>=1.2 ; extra == 'sklearn'
|
|
55
60
|
Requires-Dist: pillow>=9 ; extra == 'vision'
|
|
61
|
+
Requires-Dist: wandb>=0.16 ; extra == 'wandb'
|
|
56
62
|
Provides-Extra: all
|
|
57
63
|
Provides-Extra: dev
|
|
64
|
+
Provides-Extra: docx
|
|
65
|
+
Provides-Extra: keras
|
|
66
|
+
Provides-Extra: lightning
|
|
58
67
|
Provides-Extra: llm
|
|
68
|
+
Provides-Extra: mlflow
|
|
59
69
|
Provides-Extra: plot
|
|
70
|
+
Provides-Extra: sklearn
|
|
60
71
|
Provides-Extra: vision
|
|
72
|
+
Provides-Extra: wandb
|
|
61
73
|
License-File: LICENSE
|
|
62
74
|
License-File: LICENSE-APACHE
|
|
63
75
|
Summary: A unified Python framework for machine-learning, clinical, statistical, segmentation, object-detection, uncertainty, and model evaluation.
|
|
@@ -85,7 +97,11 @@ Project-URL: Source, https://github.com/mkcs28/evalsuite-python
|
|
|
85
97
|
EvalSuite brings classification, regression, clinical, statistical, segmentation and object-detection
|
|
86
98
|
evaluation into one consistent, validated, documented framework.
|
|
87
99
|
|
|
88
|
-
> **Status: stable (0.
|
|
100
|
+
> **Status: stable (1.0.0).** **1.0** makes `evaluate()` report confidence intervals by default and test
|
|
101
|
+
> against a baseline, and adds an LLM leaderboard harness, framework integrations (scikit-learn, Hugging Face,
|
|
102
|
+
> Keras, Lightning, MLflow, W&B), monitoring with drift alerts, TRIPOD+AI / model-card report cards, and the same
|
|
103
|
+
> engine for JavaScript (npm, WebAssembly), C, R and Julia.
|
|
104
|
+
> Every item on the 0.1.0–0.5.0 roadmaps is implemented and verified, including SPICE.
|
|
89
105
|
> **0.6 adds a compiled Rust core**: same API and identical results, with text metrics, COCO evaluation and
|
|
90
106
|
> bootstrap resampling several times faster and multithreaded (prebuilt wheels for Linux, macOS and Windows).
|
|
91
107
|
> **0.7.0** moves ROC AUC / average precision (and so `evaluate()`), the LLM-systems consistency metrics,
|
|
@@ -93,7 +109,8 @@ evaluation into one consistent, validated, documented framework.
|
|
|
93
109
|
> **0.7.1** adds bootstrapped ROC AUC / AP (4–5× faster intervals), DeLong, QA exact match / F1,
|
|
94
110
|
> Hausdorff / surface distances, calibration and the WEAT permutation test.
|
|
95
111
|
> **0.8.0** adds a **full Rust edition on crates.io** ([`evalsuite`](https://crates.io/crates/evalsuite)): every
|
|
96
|
-
> metric
|
|
112
|
+
> metric, checked case by case against this package. **0.8.5** completes it (code complexity, CodeBLEU), adds
|
|
113
|
+
> the `evalsuite` command-line tool (`cargo install evalsuite-cli`) and runs the retrieval metrics on Rust (3×).
|
|
97
114
|
> **LLM systems arrive in 0.5.0**: safety, robustness, calibration and uncertainty, agents and tool use,
|
|
98
115
|
> multilingual, code generation, long context and summarization, and inference efficiency and cost.
|
|
99
116
|
|
|
@@ -124,7 +141,8 @@ the default NumPy one, so interval endpoints and p-values differ slightly (stati
|
|
|
124
141
|
|
|
125
142
|
### Rust
|
|
126
143
|
|
|
127
|
-
The same metrics are available as a pure-Rust crate, verified against this package on 36,
|
|
144
|
+
The same metrics are available as a pure-Rust crate, verified against this package on 36,514 recorded cases,
|
|
145
|
+
and as a standalone command (`cargo install evalsuite-cli`):
|
|
128
146
|
|
|
129
147
|
```toml
|
|
130
148
|
[dependencies]
|
|
@@ -135,8 +153,12 @@ evalsuite = "0.8"
|
|
|
135
153
|
let acc = evalsuite::classification::accuracy(&[1, 0, 1, 1], &[1, 0, 0, 1], None).unwrap(); // 0.75
|
|
136
154
|
```
|
|
137
155
|
|
|
138
|
-
|
|
139
|
-
|
|
156
|
+
```bash
|
|
157
|
+
evalsuite evaluate preds.csv --y-true label --y-pred pred --y-prob score
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
See [rust/evalsuite/README.md](rust/evalsuite/README.md) for the module list, performance and the few
|
|
161
|
+
documented differences, and [rust/evalsuite-cli/README.md](rust/evalsuite-cli/README.md) for the command.
|
|
140
162
|
|
|
141
163
|
## Why EvalSuite
|
|
142
164
|
|
|
@@ -525,7 +547,7 @@ fallback; `tests/test_native.py` checks that the two give identical results. See
|
|
|
525
547
|
## Links
|
|
526
548
|
|
|
527
549
|
- PyPI: https://pypi.org/project/evalsuite-python/
|
|
528
|
-
- crates.io: https://crates.io/crates/evalsuite
|
|
550
|
+
- crates.io: https://crates.io/crates/evalsuite (library), https://crates.io/crates/evalsuite-cli (command)
|
|
529
551
|
- Website and documentation: https://evalsuite-nine.vercel.app
|
|
530
552
|
- Website source: https://github.com/mkcs28/evalsuite
|
|
531
553
|
|
|
@@ -10,7 +10,11 @@
|
|
|
10
10
|
EvalSuite brings classification, regression, clinical, statistical, segmentation and object-detection
|
|
11
11
|
evaluation into one consistent, validated, documented framework.
|
|
12
12
|
|
|
13
|
-
> **Status: stable (0.
|
|
13
|
+
> **Status: stable (1.0.0).** **1.0** makes `evaluate()` report confidence intervals by default and test
|
|
14
|
+
> against a baseline, and adds an LLM leaderboard harness, framework integrations (scikit-learn, Hugging Face,
|
|
15
|
+
> Keras, Lightning, MLflow, W&B), monitoring with drift alerts, TRIPOD+AI / model-card report cards, and the same
|
|
16
|
+
> engine for JavaScript (npm, WebAssembly), C, R and Julia.
|
|
17
|
+
> Every item on the 0.1.0–0.5.0 roadmaps is implemented and verified, including SPICE.
|
|
14
18
|
> **0.6 adds a compiled Rust core**: same API and identical results, with text metrics, COCO evaluation and
|
|
15
19
|
> bootstrap resampling several times faster and multithreaded (prebuilt wheels for Linux, macOS and Windows).
|
|
16
20
|
> **0.7.0** moves ROC AUC / average precision (and so `evaluate()`), the LLM-systems consistency metrics,
|
|
@@ -18,7 +22,8 @@ evaluation into one consistent, validated, documented framework.
|
|
|
18
22
|
> **0.7.1** adds bootstrapped ROC AUC / AP (4–5× faster intervals), DeLong, QA exact match / F1,
|
|
19
23
|
> Hausdorff / surface distances, calibration and the WEAT permutation test.
|
|
20
24
|
> **0.8.0** adds a **full Rust edition on crates.io** ([`evalsuite`](https://crates.io/crates/evalsuite)): every
|
|
21
|
-
> metric
|
|
25
|
+
> metric, checked case by case against this package. **0.8.5** completes it (code complexity, CodeBLEU), adds
|
|
26
|
+
> the `evalsuite` command-line tool (`cargo install evalsuite-cli`) and runs the retrieval metrics on Rust (3×).
|
|
22
27
|
> **LLM systems arrive in 0.5.0**: safety, robustness, calibration and uncertainty, agents and tool use,
|
|
23
28
|
> multilingual, code generation, long context and summarization, and inference efficiency and cost.
|
|
24
29
|
|
|
@@ -49,7 +54,8 @@ the default NumPy one, so interval endpoints and p-values differ slightly (stati
|
|
|
49
54
|
|
|
50
55
|
### Rust
|
|
51
56
|
|
|
52
|
-
The same metrics are available as a pure-Rust crate, verified against this package on 36,
|
|
57
|
+
The same metrics are available as a pure-Rust crate, verified against this package on 36,514 recorded cases,
|
|
58
|
+
and as a standalone command (`cargo install evalsuite-cli`):
|
|
53
59
|
|
|
54
60
|
```toml
|
|
55
61
|
[dependencies]
|
|
@@ -60,8 +66,12 @@ evalsuite = "0.8"
|
|
|
60
66
|
let acc = evalsuite::classification::accuracy(&[1, 0, 1, 1], &[1, 0, 0, 1], None).unwrap(); // 0.75
|
|
61
67
|
```
|
|
62
68
|
|
|
63
|
-
|
|
64
|
-
|
|
69
|
+
```bash
|
|
70
|
+
evalsuite evaluate preds.csv --y-true label --y-pred pred --y-prob score
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
See [rust/evalsuite/README.md](rust/evalsuite/README.md) for the module list, performance and the few
|
|
74
|
+
documented differences, and [rust/evalsuite-cli/README.md](rust/evalsuite-cli/README.md) for the command.
|
|
65
75
|
|
|
66
76
|
## Why EvalSuite
|
|
67
77
|
|
|
@@ -450,7 +460,7 @@ fallback; `tests/test_native.py` checks that the two give identical results. See
|
|
|
450
460
|
## Links
|
|
451
461
|
|
|
452
462
|
- PyPI: https://pypi.org/project/evalsuite-python/
|
|
453
|
-
- crates.io: https://crates.io/crates/evalsuite
|
|
463
|
+
- crates.io: https://crates.io/crates/evalsuite (library), https://crates.io/crates/evalsuite-cli (command)
|
|
454
464
|
- Website and documentation: https://evalsuite-nine.vercel.app
|
|
455
465
|
- Website source: https://github.com/mkcs28/evalsuite
|
|
456
466
|
|
|
@@ -42,6 +42,12 @@ dependencies = ["numpy>=1.22", "scipy>=1.8", "pandas>=1.4"]
|
|
|
42
42
|
plot = ["matplotlib>=3.5"]
|
|
43
43
|
vision = ["pillow>=9"]
|
|
44
44
|
llm = ["nltk>=3.8"]
|
|
45
|
+
sklearn = ["scikit-learn>=1.2"]
|
|
46
|
+
keras = ["keras>=3"]
|
|
47
|
+
lightning = ["lightning>=2"]
|
|
48
|
+
mlflow = ["mlflow>=2"]
|
|
49
|
+
docx = ["python-docx>=1.0"]
|
|
50
|
+
wandb = ["wandb>=0.16"]
|
|
45
51
|
all = ["matplotlib>=3.5", "pillow>=9", "nltk>=3.8"]
|
|
46
52
|
dev = [
|
|
47
53
|
"pytest>=7",
|