SAES 2.1.1__tar.gz → 2.2.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.
Files changed (153) hide show
  1. {saes-2.1.1 → saes-2.2.0}/.github/workflows/release.yml +2 -0
  2. {saes-2.1.1 → saes-2.2.0}/CHANGELOG.md +229 -0
  3. {saes-2.1.1 → saes-2.2.0}/CITATION.cff +9 -2
  4. {saes-2.1.1 → saes-2.2.0}/PKG-INFO +4 -4
  5. {saes-2.1.1 → saes-2.2.0}/README.md +2 -2
  6. {saes-2.1.1 → saes-2.2.0}/docs/api-reference.md +3 -0
  7. {saes-2.1.1 → saes-2.2.0}/docs/extensibility.md +1 -1
  8. {saes-2.1.1 → saes-2.2.0}/docs/getting-started/quickstart.md +13 -6
  9. {saes-2.1.1 → saes-2.2.0}/docs/index.md +2 -2
  10. {saes-2.1.1 → saes-2.2.0}/docs/rest-api.md +4 -4
  11. {saes-2.1.1 → saes-2.2.0}/docs/tutorials/metaheuristics-benchmark.md +3 -3
  12. {saes-2.1.1 → saes-2.2.0}/docs/tutorials/ml-crossvalidation.md +6 -3
  13. {saes-2.1.1 → saes-2.2.0}/docs/user-guide/bayesian-and-equivalence.md +1 -1
  14. {saes-2.1.1 → saes-2.2.0}/docs/user-guide/blocked-and-posthoc.md +1 -1
  15. {saes-2.1.1 → saes-2.2.0}/docs/user-guide/visualization-and-tables.md +1 -1
  16. saes-2.2.0/examples/README.md +22 -0
  17. saes-2.2.0/examples/case_study_continuous.py +169 -0
  18. saes-2.2.0/examples/case_study_metaheuristics.py +168 -0
  19. saes-2.2.0/examples/case_study_ml.py +161 -0
  20. saes-2.2.0/examples/saes_walkthrough.ipynb +827 -0
  21. saes-2.2.0/examples/smoke_test.sh +75 -0
  22. {saes-2.1.1 → saes-2.2.0}/pyproject.toml +2 -2
  23. saes-2.2.0/scripts/benchmarks/README.md +29 -0
  24. saes-2.2.0/scripts/benchmarks/generate_continuous_benchmark.py +364 -0
  25. saes-2.2.0/scripts/benchmarks/generate_ml_benchmark.py +256 -0
  26. {saes-2.1.1 → saes-2.2.0}/scripts/release_stamp.js +10 -0
  27. {saes-2.1.1 → saes-2.2.0}/src/saes/__init__.py +12 -0
  28. {saes-2.1.1 → saes-2.2.0}/src/saes/api.py +3 -0
  29. saes-2.2.0/src/saes/data/__init__.py +1 -0
  30. saes-2.2.0/src/saes/data/continuous_blackbox_benchmark.csv +5401 -0
  31. saes-2.2.0/src/saes/data/continuous_optimization_fitness.csv +121 -0
  32. saes-2.2.0/src/saes/data/continuous_optimization_low_scale.csv +91 -0
  33. saes-2.2.0/src/saes/data/continuous_optimization_scores.csv +91 -0
  34. saes-2.2.0/src/saes/data/ml_classification_cv.csv +481 -0
  35. saes-2.2.0/src/saes/data/ml_multidataset_cv.csv +8101 -0
  36. saes-2.2.0/src/saes/data/moo_pareto_indicators.csv +961 -0
  37. saes-2.2.0/src/saes/data/zcat_moo_benchmark.csv +12001 -0
  38. saes-2.2.0/src/saes/datasets.py +248 -0
  39. {saes-2.1.1 → saes-2.2.0}/src/saes/domain/models.py +62 -0
  40. {saes-2.1.1 → saes-2.2.0}/src/saes/server/routes/datasets.py +29 -0
  41. {saes-2.1.1 → saes-2.2.0}/src/saes/server/schemas.py +30 -0
  42. saes-2.2.0/src/saes/validation/inspector.py +341 -0
  43. {saes-2.1.1 → saes-2.2.0}/src/saes/visualization/plackett_luce_plot.py +4 -4
  44. saes-2.2.0/tests/fixtures/data.csv +14701 -0
  45. saes-2.2.0/tests/integration/test_examples.py +82 -0
  46. saes-2.2.0/tests/unit/test_datasets_and_inspector.py +235 -0
  47. {saes-2.1.1 → saes-2.2.0}/uv.lock +1 -1
  48. saes-2.2.0/version.txt +1 -0
  49. saes-2.1.1/version.txt +0 -1
  50. {saes-2.1.1 → saes-2.2.0}/.github/CODEOWNERS +0 -0
  51. {saes-2.1.1 → saes-2.2.0}/.github/workflows/docs.yml +0 -0
  52. {saes-2.1.1 → saes-2.2.0}/.github/workflows/tests.yml +0 -0
  53. {saes-2.1.1 → saes-2.2.0}/.gitignore +0 -0
  54. {saes-2.1.1 → saes-2.2.0}/LICENSE +0 -0
  55. {saes-2.1.1 → saes-2.2.0}/Makefile +0 -0
  56. {saes-2.1.1 → saes-2.2.0}/assets/saes-logo.svg +0 -0
  57. {saes-2.1.1 → saes-2.2.0}/docs/assets/figures/bayesian_simplex_hv.svg +0 -0
  58. {saes-2.1.1 → saes-2.2.0}/docs/assets/figures/boxplot_dtlz2_hv.svg +0 -0
  59. {saes-2.1.1 → saes-2.2.0}/docs/assets/figures/critical_distance_hv.svg +0 -0
  60. {saes-2.1.1 → saes-2.2.0}/docs/assets/figures/effect_size_forest_dtlz2.svg +0 -0
  61. {saes-2.1.1 → saes-2.2.0}/docs/assets/figures/ml_cd_accuracy.svg +0 -0
  62. {saes-2.1.1 → saes-2.2.0}/docs/assets/figures/plackett_luce_hv.svg +0 -0
  63. {saes-2.1.1 → saes-2.2.0}/docs/assets/logo.svg +0 -0
  64. {saes-2.1.1 → saes-2.2.0}/docs/changelog.md +0 -0
  65. {saes-2.1.1 → saes-2.2.0}/docs/getting-started/installation.md +0 -0
  66. {saes-2.1.1 → saes-2.2.0}/docs/hooks.py +0 -0
  67. {saes-2.1.1 → saes-2.2.0}/docs/javascripts/mathjax.js +0 -0
  68. {saes-2.1.1 → saes-2.2.0}/docs/methodology.md +0 -0
  69. {saes-2.1.1 → saes-2.2.0}/docs/stylesheets/extra.css +0 -0
  70. {saes-2.1.1 → saes-2.2.0}/docs/user-guide/decision-engine.md +0 -0
  71. {saes-2.1.1 → saes-2.2.0}/docs/user-guide/pareto-plugin.md +0 -0
  72. {saes-2.1.1 → saes-2.2.0}/mkdocs.yml +0 -0
  73. {saes-2.1.1 → saes-2.2.0}/src/saes/_version.py +0 -0
  74. {saes-2.1.1 → saes-2.2.0}/src/saes/app/__init__.py +0 -0
  75. {saes-2.1.1 → saes-2.2.0}/src/saes/app/pipeline.py +0 -0
  76. /saes-2.1.1/tests/fixtures/data.csv → /saes-2.2.0/src/saes/data/metaheuristics_benchmark.csv +0 -0
  77. {saes-2.1.1 → saes-2.2.0}/src/saes/domain/__init__.py +0 -0
  78. {saes-2.1.1 → saes-2.2.0}/src/saes/domain/exceptions.py +0 -0
  79. {saes-2.1.1 → saes-2.2.0}/src/saes/io/__init__.py +0 -0
  80. {saes-2.1.1 → saes-2.2.0}/src/saes/io/base.py +0 -0
  81. {saes-2.1.1 → saes-2.2.0}/src/saes/io/csv_reader.py +0 -0
  82. {saes-2.1.1 → saes-2.2.0}/src/saes/plugins/__init__.py +0 -0
  83. {saes-2.1.1 → saes-2.2.0}/src/saes/plugins/pareto/__init__.py +0 -0
  84. {saes-2.1.1 → saes-2.2.0}/src/saes/plugins/pareto/dominance.py +0 -0
  85. {saes-2.1.1 → saes-2.2.0}/src/saes/plugins/pareto/eaf.py +0 -0
  86. {saes-2.1.1 → saes-2.2.0}/src/saes/plugins/pareto/indicators.py +0 -0
  87. {saes-2.1.1 → saes-2.2.0}/src/saes/plugins/pareto/io.py +0 -0
  88. {saes-2.1.1 → saes-2.2.0}/src/saes/plugins/pareto/models.py +0 -0
  89. {saes-2.1.1 → saes-2.2.0}/src/saes/plugins/pareto/plots.py +0 -0
  90. {saes-2.1.1 → saes-2.2.0}/src/saes/plugins/pareto/plugin.py +0 -0
  91. {saes-2.1.1 → saes-2.2.0}/src/saes/plugins/pareto/router.py +0 -0
  92. {saes-2.1.1 → saes-2.2.0}/src/saes/plugins/registry.py +0 -0
  93. {saes-2.1.1 → saes-2.2.0}/src/saes/py.typed +0 -0
  94. {saes-2.1.1 → saes-2.2.0}/src/saes/reports/__init__.py +0 -0
  95. {saes-2.1.1 → saes-2.2.0}/src/saes/reports/renderers.py +0 -0
  96. {saes-2.1.1 → saes-2.2.0}/src/saes/reports/reproducibility.py +0 -0
  97. {saes-2.1.1 → saes-2.2.0}/src/saes/server/__init__.py +0 -0
  98. {saes-2.1.1 → saes-2.2.0}/src/saes/server/app.py +0 -0
  99. {saes-2.1.1 → saes-2.2.0}/src/saes/server/helpers.py +0 -0
  100. {saes-2.1.1 → saes-2.2.0}/src/saes/server/routes/__init__.py +0 -0
  101. {saes-2.1.1 → saes-2.2.0}/src/saes/server/routes/analysis.py +0 -0
  102. {saes-2.1.1 → saes-2.2.0}/src/saes/server/routes/health.py +0 -0
  103. {saes-2.1.1 → saes-2.2.0}/src/saes/server/routes/plugins.py +0 -0
  104. {saes-2.1.1 → saes-2.2.0}/src/saes/server/storage.py +0 -0
  105. {saes-2.1.1 → saes-2.2.0}/src/saes/stats/__init__.py +0 -0
  106. {saes-2.1.1 → saes-2.2.0}/src/saes/stats/anova.py +0 -0
  107. {saes-2.1.1 → saes-2.2.0}/src/saes/stats/assumptions.py +0 -0
  108. {saes-2.1.1 → saes-2.2.0}/src/saes/stats/base.py +0 -0
  109. {saes-2.1.1 → saes-2.2.0}/src/saes/stats/bayesian.py +0 -0
  110. {saes-2.1.1 → saes-2.2.0}/src/saes/stats/decision.py +0 -0
  111. {saes-2.1.1 → saes-2.2.0}/src/saes/stats/effect_sizes.py +0 -0
  112. {saes-2.1.1 → saes-2.2.0}/src/saes/stats/explorer.py +0 -0
  113. {saes-2.1.1 → saes-2.2.0}/src/saes/stats/nonparametric.py +0 -0
  114. {saes-2.1.1 → saes-2.2.0}/src/saes/stats/posthoc.py +0 -0
  115. {saes-2.1.1 → saes-2.2.0}/src/saes/stats/power.py +0 -0
  116. {saes-2.1.1 → saes-2.2.0}/src/saes/stats/profiles.py +0 -0
  117. {saes-2.1.1 → saes-2.2.0}/src/saes/stats/ranking.py +0 -0
  118. {saes-2.1.1 → saes-2.2.0}/src/saes/stats/registry.py +0 -0
  119. {saes-2.1.1 → saes-2.2.0}/src/saes/stats/tables.py +0 -0
  120. {saes-2.1.1 → saes-2.2.0}/src/saes/stats/ttest.py +0 -0
  121. {saes-2.1.1 → saes-2.2.0}/src/saes/validation/__init__.py +0 -0
  122. {saes-2.1.1 → saes-2.2.0}/src/saes/validation/validator.py +0 -0
  123. {saes-2.1.1 → saes-2.2.0}/src/saes/visualization/__init__.py +0 -0
  124. {saes-2.1.1 → saes-2.2.0}/src/saes/visualization/barplot.py +0 -0
  125. {saes-2.1.1 → saes-2.2.0}/src/saes/visualization/base.py +0 -0
  126. {saes-2.1.1 → saes-2.2.0}/src/saes/visualization/bayesianplot.py +0 -0
  127. {saes-2.1.1 → saes-2.2.0}/src/saes/visualization/boxplot.py +0 -0
  128. {saes-2.1.1 → saes-2.2.0}/src/saes/visualization/cdplot.py +0 -0
  129. {saes-2.1.1 → saes-2.2.0}/src/saes/visualization/ecdfplot.py +0 -0
  130. {saes-2.1.1 → saes-2.2.0}/src/saes/visualization/forest_plot.py +0 -0
  131. {saes-2.1.1 → saes-2.2.0}/src/saes/visualization/lineplot.py +0 -0
  132. {saes-2.1.1 → saes-2.2.0}/src/saes/visualization/registry.py +0 -0
  133. {saes-2.1.1 → saes-2.2.0}/src/saes/visualization/scatterplot.py +0 -0
  134. {saes-2.1.1 → saes-2.2.0}/src/saes/visualization/utils.py +0 -0
  135. {saes-2.1.1 → saes-2.2.0}/src/saes/visualization/violinplot.py +0 -0
  136. {saes-2.1.1 → saes-2.2.0}/tests/__init__.py +0 -0
  137. {saes-2.1.1 → saes-2.2.0}/tests/fixtures/ml_data.csv +0 -0
  138. {saes-2.1.1 → saes-2.2.0}/tests/integration/test_pipeline.py +0 -0
  139. {saes-2.1.1 → saes-2.2.0}/tests/integration/test_real_dataset.py +0 -0
  140. {saes-2.1.1 → saes-2.2.0}/tests/plugins/test_dominance_and_indicators.py +0 -0
  141. {saes-2.1.1 → saes-2.2.0}/tests/plugins/test_eaf.py +0 -0
  142. {saes-2.1.1 → saes-2.2.0}/tests/plugins/test_io_and_plots.py +0 -0
  143. {saes-2.1.1 → saes-2.2.0}/tests/plugins/test_plugin_integration.py +0 -0
  144. {saes-2.1.1 → saes-2.2.0}/tests/statistical/test_reference_validation.py +0 -0
  145. {saes-2.1.1 → saes-2.2.0}/tests/statistical/test_stats_correctness.py +0 -0
  146. {saes-2.1.1 → saes-2.2.0}/tests/unit/test_datasets_api.py +0 -0
  147. {saes-2.1.1 → saes-2.2.0}/tests/unit/test_io.py +0 -0
  148. {saes-2.1.1 → saes-2.2.0}/tests/unit/test_plugins.py +0 -0
  149. {saes-2.1.1 → saes-2.2.0}/tests/unit/test_plugins_sync.py +0 -0
  150. {saes-2.1.1 → saes-2.2.0}/tests/unit/test_scientific_features.py +0 -0
  151. {saes-2.1.1 → saes-2.2.0}/tests/unit/test_server.py +0 -0
  152. {saes-2.1.1 → saes-2.2.0}/tests/unit/test_validation.py +0 -0
  153. {saes-2.1.1 → saes-2.2.0}/tests/unit/test_visualization.py +0 -0
@@ -120,6 +120,8 @@ jobs:
120
120
  )
121
121
  match = pattern.search(text)
122
122
  notes = match.group(0).strip() if match else f"Release v{version}"
123
+ pypi_url = f"https://pypi.org/project/saes/{version}/"
124
+ notes = f"{notes}\n\n---\n\n**PyPI:** [saes {version}]({pypi_url})"
123
125
  pathlib.Path("release_notes.md").write_text(notes + "\n", encoding="utf-8")
124
126
  EOF
125
127
  gh release create "v${VERSION}" \
@@ -9,6 +9,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  ## [Released]
11
11
 
12
+ ## [2.2.0] — 2026-12-02 (@rorro6787)
13
+
14
+ ### Added
15
+
16
+ - Packaged 9 curated benchmark datasets directly inside `saes.data` — including 3 large multi-domain benchmarks (`zcat_moo_benchmark.csv` [12,000 rows, 5 MOEAs × 20 ZCAT problems], `ml_multidataset_cv.csv` [8,100 rows, 6 real `scikit-learn` classifiers × 15 real UCI/OpenML/NASA datasets × 30 paired 3×10-fold CV splits], and `continuous_blackbox_benchmark.csv` [5,400 rows, 6 derivative-free optimizers × 15 shifted 10D functions]) alongside `metaheuristics_benchmark.csv` (14,700 rows), `moo_pareto_indicators.csv` (960 rows), `ml_classification_cv.csv` (480 rows), `continuous_optimization_fitness.csv`, `continuous_optimization_scores.csv`, and `continuous_optimization_low_scale.csv` — while keeping `/datasets/` gitignored for runtime user storage; exposed programmatically through `saes.datasets` (`list_datasets`, `describe_datasets`, `load_dataset`, `dataset_path`, `load_metaheuristics`, `load_zcat_benchmark`, `load_ml_multidataset`, `load_continuous_blackbox`, `load_moo_indicators`, `load_ml_benchmark`, `load_continuous_optimization`, `load_optimization_scores`, `load_optimization_low_scale`) and `GET /api/v1/datasets/bundled`.
17
+ - Added programmatic CSV inspection and repair APIs (`saes.inspect_csv`, `saes.repair_csv`, `CSVRowIssue`, `CSVInspectionResult`, `CSVRepairResult`) backed by `DatasetValidator` rules, exposed via `POST /api/v1/datasets/inspect` and `POST /api/v1/datasets/repair`.
18
+ - Added deterministic, headless-ready (`MPLBACKEND=Agg`) multi-domain reproducibility artifacts under `examples/` (`case_study_metaheuristics.py`, `case_study_continuous.py`, `case_study_ml.py`, an exhaustive 9-section `saes_walkthrough.ipynb`, `smoke_test.sh`, and `README.md`) plus PEP 723 dataset provenance scripts under `scripts/benchmarks/`, verified by automated integration tests.
19
+
20
+ ### Changed
21
+
22
+ - Updated `README.md`, Quickstart, Tutorials, User Guides, and API Reference to load bundled datasets via `saes.datasets` so all code snippets execute out of the box after `pip install saes`.
23
+ - Removed stale MCP server references from `docs/rest-api.md`.
24
+ - Completed `CITATION.cff` with version, release date, author affiliations, and PyPI artifact URL, wired `scripts/release_stamp.js` to bump `CITATION.cff` automatically on release, and updated PyPI development status classifier in `pyproject.toml` to `5 - Production/Stable`.
25
+
26
+ ### Fixed
27
+
28
+ - Clamped asymmetric error-bar deltas (`max(0.0, ...)`) in `PlackettLucePlotGenerator` (`plot` and `plot_interactive`) so strongly concentrated discrete posterior rank distributions (where the 95% quantile credible interval collapses while the mean expected rank differs slightly) never raise a negative-`xerr` `ValueError` in Matplotlib.
29
+
12
30
  ## [2.1.1] — 2026-11-27 (@rorro6787)
13
31
 
14
32
  ### Security
@@ -126,3 +144,214 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
126
144
  - Decoupled and extracted `chat`, `mcp`, and `plugins` into the dedicated `saes-ai` package.
127
145
  - `saes.server.app` now dynamically mounts `saes_ai.server.routes` when `saes-ai` is installed without internal legacy fallbacks.
128
146
  - Cleaned core dependencies by removing `chat` extra and delegating AI tooling to `[ai]` optional extra (`saes-ai`).
147
+
148
+ ## [1.5.0] — 2025-11-21 (@rorro6787)
149
+
150
+ ### Added
151
+
152
+ - **Reproducibility support**: Added `seed` parameter to Bayesian statistical tests (`bayesian_sign_test`, `bayesian_signed_rank_test`) for deterministic results.
153
+ - **Reproducibility support**: Added `seed` parameter to `HistoPlot` class for consistent jitter in histogram generation.
154
+ - **Multi-platform CI**: Comprehensive GitHub Actions workflow testing on Windows, Linux (Ubuntu), and macOS.
155
+ - **Smoke tests**: Added automated smoke tests for CLI and API functionality across all platforms.
156
+ - **Environment files**: Added `requirements.txt`, `requirements-dev.txt`, and `environment.yml` for broader compatibility.
157
+ - **Headless mode documentation**: Complete documentation and examples for running SAES without display (CI/CD, servers).
158
+ - **Headless mode examples**: Python and shell script examples for automated workflows (`examples/headless_mode_example.py`, `examples/headless_cli_example.sh`, `examples/headless_cli_example.bat`).
159
+ - **New test suite**: Added `test_bayesian_seed.py` specifically for verifying seed reproducibility.
160
+ - **Documentation**: New reproducibility documentation page (`docs/usage/reproducibility.rst`) with best practices.
161
+
162
+ ### Changed
163
+
164
+ - Updated `test_bayesian.py` to demonstrate both seed parameter usage and backward compatibility.
165
+ - Enhanced `README.md` with sections on reproducibility and headless mode.
166
+ - Improved documentation structure to include reproducibility guidance.
167
+
168
+ ### Fixed
169
+
170
+ - Ensured all random operations can be made deterministic for reproducible research.
171
+
172
+ ## [1.4.0] — 2025-11-15 (@rorro6787)
173
+
174
+ ### Added
175
+
176
+ - Comprehensive test suite for Bayesian statistical tests (`bayesian_sign_test`, `bayesian_signed_rank_test`).
177
+ - Code of Conduct based on Contributor Covenant v2.1.
178
+ - `.editorconfig` file for consistent code style across editors.
179
+ - `.pre-commit-config.yaml` for automated code quality checks (`black`, `flake8`, `isort`).
180
+
181
+ ### Changed
182
+
183
+ - **BREAKING**: Renamed plot modules to lowercase for Python naming consistency:
184
+ - `SAES.plots.CDplot` → `SAES.plots.cdplot`
185
+ - `SAES.plots.HistoPlot` → `SAES.plots.histoplot`
186
+ - `SAES.plots.Pplot` → `SAES.plots.pplot`
187
+ - Migrated from `pip`/`venv` to `uv` for faster, more reliable dependency management.
188
+ - Reorganized dependencies in `pyproject.toml` into logical groups:
189
+ - Runtime dependencies (core functionality)
190
+ - `[test]`: Testing dependencies
191
+ - `[dev]`: Development tools (`black`, `flake8`, `mypy`, `isort`, `pre-commit`)
192
+ - `[docs]`: Documentation generation (Sphinx)
193
+ - `[html]`: HTML notebook generation (`papermill`, `nbconvert`)
194
+ - Expanded `CONTRIBUTING.md` with detailed setup instructions using `uv`.
195
+ - Updated `README.md` with `uv` installation instructions.
196
+ - Improved documentation in `docs/conf.py` to dynamically read version from `version.txt`.
197
+ - Updated GitHub Actions workflows to use `uv` for dependency installation.
198
+ - Updated all notebooks to use new lowercase plot module names.
199
+
200
+ ### Fixed
201
+
202
+ - Corrected `'frtom'` typo to `'from'` in all plot module docstrings (23 instances across 5 files).
203
+ - Removed debug code (`if __name__ == "__main__"` block) from `HistoPlot.py`.
204
+ - Fixed `pyproject.toml` structure (moved `requires-python` to correct location).
205
+ - Restored corrupted `boxplot.py` and `violin.py` files.
206
+
207
+ ### Documentation
208
+
209
+ - Populated `CHANGELOG.md` with complete version history from v0.5.1 to v1.3.6.
210
+ - Replaced generic TODO comment in `apv_procedures.py` with comprehensive module docstring.
211
+ - Added detailed examples and usage instructions throughout documentation.
212
+
213
+ ## [1.3.6] — 2025-03-18 (@rorro6787)
214
+
215
+ ### Added
216
+
217
+ - Added `HistoPlot` visualization.
218
+ - Added Violin Plot visualization.
219
+
220
+ ## [1.3.5] — 2025-03-13 (@rorro6787)
221
+
222
+ ### Added
223
+
224
+ - Added ML notebook example.
225
+ - Added Friedman Aligned Ranks, Quade, ANOVA, and T-Test statistical tests.
226
+ - Added Friedman p-values, ANOVA, T-Test, and T-Test pivot tables.
227
+
228
+ ### Changed
229
+
230
+ - Use of mean/median as estimator of best and second-best performing algorithm in LaTeX tables.
231
+
232
+ ## [1.3.4] — 2025-03-06 (@rorro6787)
233
+
234
+ ### Added
235
+
236
+ - Added scientific article references to all implementations.
237
+ - Bayesian posterior graphs now include a frequency bar for better visualization.
238
+
239
+ ### Fixed
240
+
241
+ - Fixed dependencies compatibility with Google Colab.
242
+
243
+ ## [1.3.2] — 2025-03-06 (@rorro6787)
244
+
245
+ ### Added
246
+
247
+ - Added flexibility in the size of the Bayesian posterior graph.
248
+ - Added option to choose the pivot algorithm manually in the Wilcoxon pivot table.
249
+
250
+ ### Security
251
+
252
+ - Fixed dependency vulnerability issues.
253
+
254
+ ## [1.3.1] — 2025-03-05 (@rorro6787)
255
+
256
+ ### Fixed
257
+
258
+ - Fixed problem in the `Pplot` generator that released incoherent results when comparing `alg1-alg2` vs. `alg2-alg1`.
259
+
260
+ ## [1.3.0] — 2025-03-05 (@rorro6787)
261
+
262
+ ### Added
263
+
264
+ - Added a new type of plot: the Bayesian Posterior Plot (`Pplot`).
265
+
266
+ ## [1.2.0] — 2025-03-04 (@rorro6787)
267
+
268
+ ### Added
269
+
270
+ - Added an HTML module for easy and intuitive HTML report generation.
271
+ - Added unit tests for all modules of the `SAES` library.
272
+
273
+ ### Documentation
274
+
275
+ - Updated `README.md` and documentation with the HTML module.
276
+
277
+ ## [1.1.0] — 2025-02-26 (@rorro6787)
278
+
279
+ ### Added
280
+
281
+ - Added a multi-objective module for Pareto front plots in 2D, 3D, and parallel coordinates graphs for higher dimensions.
282
+ - Added extra notebooks with multi-objective optimization examples.
283
+
284
+ ### Changed
285
+
286
+ - Changed structure of LaTeX tables, boxplot, and `cdplot` to object-oriented.
287
+ - Updated command-line interface.
288
+ - Updated documentation for multi-objective setup.
289
+ - Changed structure of unit tests (WIP).
290
+
291
+ ## [1.0.3] — 2025-02-07 (@rorro6787)
292
+
293
+ ### Fixed
294
+
295
+ - Fixed bug where datasets that were not diverse enough threw an exception.
296
+
297
+ ## [1.0.2] — 2025-02-06 (@rorro6787)
298
+
299
+ ### Fixed
300
+
301
+ - Fixed bug where the Friedman dataframe did not include the Friedman results column.
302
+
303
+ ## [1.0.1] — 2025-02-06 (@rorro6787)
304
+
305
+ ### Added
306
+
307
+ - Added tutorial in `multiobjective_optimization.ipynb` to download HTML without code.
308
+ - Added extra dependencies.
309
+
310
+ ### Documentation
311
+
312
+ - Updated information in `README.md`.
313
+
314
+ ## [1.0.0] — 2025-02-05 (@rorro6787)
315
+
316
+ ### Added
317
+
318
+ - Added possibility to generate LaTeX tables in vertical orientation.
319
+
320
+ ### Changed
321
+
322
+ - Updated documentation to showcase command-line features.
323
+ - Changed notebooks structure.
324
+
325
+ ### Fixed
326
+
327
+ - Fixed various bugs.
328
+
329
+ ## [0.6.0] — 2025-02-03 (@rorro6787)
330
+
331
+ ### Added
332
+
333
+ - Added command-line executables.
334
+ - Added IQR tables to the median tables.
335
+ - Added exponential number format in tables.
336
+ - Added SAES tutorial and usage template to the notebooks structure.
337
+
338
+ ### Changed
339
+
340
+ - Updated `README.md` and SAES documentation.
341
+
342
+ ### Fixed
343
+
344
+ - Fixed CD plot bug where all CD plots were identical.
345
+ - Fixed various bugs.
346
+
347
+ ## [0.5.1] — 2025-01-21 (@rorro6787)
348
+
349
+ ### Added
350
+
351
+ - **Seamless CSV data processing**: Import and preprocess experiment results effortlessly, handling datasets of varying sizes.
352
+ - **Statistical analysis**:
353
+ - Parametric tests: Normality test.
354
+ - Non-parametric tests: Friedman test, Wilcoxon signed-rank test.
355
+ - Post-hoc analysis: Nemenyi test (critical distance).
356
+ - **Report generation**: Automated LaTeX reports with Median table, Median table with Friedman test, Median table with Wilcoxon pairwise test (pivot-based), and Pairwise Wilcoxon test table (1-to-1 comparison).
357
+ - **Visualization**: Boxplot graphs for algorithm comparison and Critical Distance plots for statistical significance.
@@ -2,16 +2,22 @@ cff-version: 1.2.0
2
2
  message: "If you use SAES in scientific publications or empirical algorithm benchmarks, please cite it as below."
3
3
  type: software
4
4
  title: "SAES: Stochastic Algorithm Evaluation Suite"
5
+ version: "2.1.1"
6
+ date-released: "2026-11-27"
5
7
  abstract: >-
6
8
  Open-source scientific Python library for rigorous frequentist, exact Bayesian,
7
- equivalence (TOST), sensitivity (MDES), and Dolan-More meta-benchmarking
8
- statistical evaluation of stochastic optimization algorithms and machine learning models.
9
+ equivalence (TOST), sensitivity (MDES), multi-objective Pareto/EAF, and
10
+ Dolan-More meta-benchmarking statistical evaluation of stochastic optimization
11
+ algorithms and machine learning models.
9
12
  authors:
10
13
  - family-names: Carreira
11
14
  given-names: Emilio R.
15
+ affiliation: "University of Málaga"
12
16
  - family-names: Nebro
13
17
  given-names: Antonio J.
18
+ affiliation: "University of Málaga"
14
19
  repository-code: "https://github.com/saes-suite/saes"
20
+ repository-artifact: "https://pypi.org/project/SAES/"
15
21
  url: "https://saes-suite.github.io/saes/"
16
22
  license: GPL-3.0-or-later
17
23
  keywords:
@@ -24,4 +30,5 @@ keywords:
24
30
  - critical-distance
25
31
  - performance-profiles
26
32
  - equivalence-testing
33
+ - pareto-fronts
27
34
  - reproducibility
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: saes
3
- Version: 2.1.1
3
+ Version: 2.2.0
4
4
  Summary: Stochastic Algorithm Evaluation Suite - Scientific Python library for statistical benchmarking
5
5
  Project-URL: Homepage, https://github.com/saes-suite/saes
6
6
  Project-URL: Documentation, https://saes-suite.github.io/saes/
@@ -11,7 +11,7 @@ Author: Emilio R. Carreira, Antonio J. Nebro
11
11
  License: GPL-3.0-or-later
12
12
  License-File: LICENSE
13
13
  Keywords: bayesian-statistics,benchmarking,critical-distance,friedman,hypothesis-testing,metaheuristics,nonparametric,performance-profiles,statistics,stochastic-algorithms
14
- Classifier: Development Status :: 4 - Beta
14
+ Classifier: Development Status :: 5 - Production/Stable
15
15
  Classifier: Intended Audience :: Science/Research
16
16
  Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
17
17
  Classifier: Operating System :: OS Independent
@@ -130,8 +130,8 @@ pip install "saes[all]"
130
130
  ```python
131
131
  import saes
132
132
 
133
- # 1. Load and strictly validate a tidy 6-column benchmark CSV
134
- dataset = saes.load("datasets/swarmintelligence.csv")
133
+ # 1. Load a bundled benchmark dataset (or pass any CSV path to saes.load("benchmark.csv"))
134
+ dataset = saes.datasets.load_metaheuristics()
135
135
  assert saes.validate(dataset).is_valid
136
136
 
137
137
  # 2. Explore distributions, normality, and dataset-aware test recommendations
@@ -63,8 +63,8 @@ pip install "saes[all]"
63
63
  ```python
64
64
  import saes
65
65
 
66
- # 1. Load and strictly validate a tidy 6-column benchmark CSV
67
- dataset = saes.load("datasets/swarmintelligence.csv")
66
+ # 1. Load a bundled benchmark dataset (or pass any CSV path to saes.load("benchmark.csv"))
67
+ dataset = saes.datasets.load_metaheuristics()
68
68
  assert saes.validate(dataset).is_valid
69
69
 
70
70
  # 2. Explore distributions, normality, and dataset-aware test recommendations
@@ -7,7 +7,10 @@ Every capability in the SAES ecosystem is exposed first as a strongly typed Pyth
7
7
  | Function | Signature / Purpose | Return Type |
8
8
  | :--- | :--- | :--- |
9
9
  | `saes.load` | `load(source)` — Load CSV filepath or buffer | `Dataset` |
10
+ | `saes.datasets` | `list_datasets()`, `describe_datasets()`, `load_dataset(name)`, `dataset_path(name)`, `load_metaheuristics()`, `load_zcat_benchmark()`, `load_ml_multidataset()`, `load_continuous_blackbox()`, `load_moo_indicators()`, `load_ml_benchmark()`, `load_continuous_optimization()`, `load_optimization_scores()`, `load_optimization_low_scale()` | `Dataset` / `list` / `Path` |
10
11
  | `saes.validate` | `validate(dataset)` — Strict schema & type validation | `ValidationReport` |
12
+ | `saes.inspect_csv` | `inspect_csv(raw_csv)` — Schema, mapping & row-level CSV inspection | `CSVInspectionResult` |
13
+ | `saes.repair_csv` | `repair_csv(raw_csv, column_mapping=None, cell_edits=None, drop_invalid_rows=False)` | `CSVRepairResult` |
11
14
  | `saes.explore` | `explore(dataset, metrics=None, algorithms=None, instances=None, alpha=0.05)` | `DataExplorationResult` |
12
15
  | `saes.export_exploration` | `export_exploration(exploration, view_mode="reveal_metrics", export_format="csv", ...)` | `bytes` |
13
16
  | `saes.analyze` | `analyze(dataset, alpha=0.05, generate_plots=True, paired=False)` | `AnalysisReport` |
@@ -95,7 +95,7 @@ class TypstTableRenderer(saes.TableRenderer):
95
95
 
96
96
  saes.TableRendererRegistry.register("typst", TypstTableRenderer)
97
97
 
98
- dataset = saes.load("datasets/swarmintelligence.csv")
98
+ dataset = saes.datasets.load_metaheuristics()
99
99
  table = saes.generate_table(dataset, metric="HV")
100
100
  typst_bytes = saes.export_table(table, export_format="typst")
101
101
  ```
@@ -16,18 +16,25 @@ SAES validates every benchmark dataset against a strict six-column tidy schema:
16
16
  | `maximize` | `bool` | `True` | `True` if higher values are better, `False` otherwise |
17
17
 
18
18
  !!! tip "Bundled Benchmark Datasets"
19
- `saes` ships with two real benchmark datasets under `datasets/`:
20
-
21
- - `datasets/swarmintelligence.csv` — 7 multi-objective optimizers × 12 DTLZ/ZDT instances × 7 quality indicators.
22
- - `datasets/ml_data.csv` — 4 ML classifiers (`KNN`, `MLP`, `RandomForest`, `SVM`) across accuracy and loss.
19
+ `saes` ships with nine curated benchmark datasets packaged directly inside `saes.data` and accessible via `saes.datasets` (`saes.datasets.list_datasets()`):
20
+
21
+ - `saes.datasets.load_metaheuristics()` (`metaheuristics_benchmark.csv`) — 7 multi-objective optimizers × 12 DTLZ/ZDT instances × 7 quality indicators × 25 runs (14,700 rows).
22
+ - `saes.datasets.load_zcat_benchmark()` (`zcat_moo_benchmark.csv`) — 5 MOEAs (`MOEAD`, `MOEADDE`, `NSGAII`, `NSGAIIDE`, `SMPSO`) × 20 ZCAT problems × 4 indicators (`EP`, `HV`, `IGD+`, `NHV`) × 30 runs (12,000 rows).
23
+ - `saes.datasets.load_ml_multidataset()` (`ml_multidataset_cv.csv`) — 6 real `scikit-learn` classifiers × 15 real UCI/OpenML/NASA datasets × 3 metrics (`accuracy`, `f1_macro`, `log_loss`) × 30 paired 3×10-fold CV splits (8,100 rows).
24
+ - `saes.datasets.load_continuous_blackbox()` (`continuous_blackbox_benchmark.csv`) — 6 derivative-free stochastic optimizers × 15 shifted 10D continuous functions × 2 metrics (`best_fitness`, `runtime_ms`) × 30 runs under an equal 2,000-evaluation budget (5,400 rows).
25
+ - `saes.datasets.load_moo_indicators()` (`moo_pareto_indicators.csv`) — 4 MOEAs (`MOEA/D`, `NSGA-II`, `SMPSO`, `SPEA2`) × 4 ZDT/DTLZ instances × 5 Pareto indicators (960 rows).
26
+ - `saes.datasets.load_ml_benchmark()` (`ml_classification_cv.csv`) — 4 ML classifiers (`KNN`, `MLP`, `RandomForest`, `SVM`) across accuracy and loss (480 rows).
27
+ - `saes.datasets.load_continuous_optimization()` (`continuous_optimization_fitness.csv`) — 3 optimizers (`DE`, `GA`, `PSO`) × 4 continuous functions minimizing `Fitness` (120 rows).
28
+ - `saes.datasets.load_optimization_scores()` (`continuous_optimization_scores.csv`) — 3 optimizers × 3 functions maximizing percentage-scale `Score` (90 rows).
29
+ - `saes.datasets.load_optimization_low_scale()` (`continuous_optimization_low_scale.csv`) — 3 optimizers × 3 functions maximizing small-scale `Score` (90 rows).
23
30
 
24
31
  ## 2. End-to-End Python Workflow
25
32
 
26
33
  ```python
27
34
  import saes
28
35
 
29
- # 1. Load & validate
30
- ds = saes.load("datasets/swarmintelligence.csv")
36
+ # 1. Load & validate (use saes.load("your_file.csv") for custom benchmark files)
37
+ ds = saes.datasets.load_metaheuristics()
31
38
  val = saes.validate(ds)
32
39
  assert val.is_valid, f"Validation failed: {val.issues}"
33
40
 
@@ -104,7 +104,7 @@ Evaluating stochastic algorithms across multiple problem instances introduces we
104
104
  import saes
105
105
 
106
106
  # 1. Load and strictly validate a tidy long-format benchmark CSV
107
- dataset = saes.load("datasets/swarmintelligence.csv")
107
+ dataset = saes.datasets.load_metaheuristics()
108
108
  assert saes.validate(dataset).is_valid
109
109
 
110
110
  # 2. Explore distributions & dataset-aware test recommendations
@@ -130,7 +130,7 @@ repro = saes.reproducibility(dataset, metric="HV", filename="swarmintelligence.c
130
130
  <figure class="saes-figure" markdown>
131
131
  ![Critical Distance Diagram generated by SAES](assets/figures/critical_distance_hv.svg)
132
132
  <figcaption>
133
- <strong>Figure 1:</strong> Publication-ready Demšar (2006) Friedman + Nemenyi Critical Distance diagram generated directly via <code>saes.export_plot(dataset, plot_type="critical-distance", metric="HV", export_format="svg")</code> on the bundled 7-optimizer, 12-instance <code>swarmintelligence.csv</code> benchmark.
133
+ <strong>Figure 1:</strong> Publication-ready Demšar (2006) Friedman + Nemenyi Critical Distance diagram generated directly via <code>saes.export_plot(dataset, plot_type="critical-distance", metric="HV", export_format="svg")</code> on the bundled 7-optimizer, 12-instance <code>metaheuristics_benchmark.csv</code> benchmark.
134
134
  </figcaption>
135
135
  </figure>
136
136
 
@@ -1,6 +1,6 @@
1
1
  # REST API & Ecosystem Architecture
2
2
 
3
- While `saes` is a standalone, zero-UI scientific Python library at its core, installing the optional `[api]` extra exposes a fully typed **FastAPI** REST server (`saes-api`, default port `:8060`) that powers the **SAES Web/Desktop Studio** (`saes-ui`) and **SAES Conversational AI / MCP Server** (`saes-ai`).
3
+ While `saes` is a standalone, zero-UI scientific Python library at its core, installing the optional `[api]` extra exposes a fully typed **FastAPI** REST server (`saes-api`, default port `:8060`) that powers the **SAES Web/Desktop Studio** (`saes-ui`) and **SAES Conversational AI Assistant** (`saes-ai`).
4
4
 
5
5
  ## Ecosystem Architecture (API-First & Thin Client)
6
6
 
@@ -9,7 +9,7 @@ flowchart LR
9
9
  PY["Python Scripts &<br/>Jupyter Notebooks"] -->|import saes| CORE["saes Core Engine<br/>NumPy · SciPy · Statsmodels · Pydantic V2"]
10
10
  CORE --> REST["Optional FastAPI Server<br/>saes[api] (:8060)"]
11
11
  REST -->|Typed JSON / SVG / PDF / LaTeX| UI["saes-ui (Thin Client)<br/>React 18 · TypeScript · Plotly · Tauri v2"]
12
- REST -->|REST / MCP Tools| AI["saes-ai (:8070)<br/>Statistical AI Assistant & MCP Server"]
12
+ REST -->|Python / Agent Tools| AI["saes-ai (:8070)<br/>Conversational Statistical AI Assistant"]
13
13
  UI <-->|Streaming Chat + UI Actions| AI
14
14
  ```
15
15
 
@@ -33,8 +33,8 @@ saes-api
33
33
 
34
34
  ```bash
35
35
  # Run Games-Howell post-hoc test on stored dataset
36
- curl "http://127.0.0.1:8060/api/v1/datasets/swarmintelligence.csv/posthoc?metric=HV&instance=DTLZ2&method=games_howell&alpha=0.05"
36
+ curl "http://127.0.0.1:8060/api/v1/datasets/metaheuristics_benchmark.csv/posthoc?metric=HV&instance=DTLZ2&method=games_howell&alpha=0.05"
37
37
 
38
38
  # Compute Bayesian Correlated t-test for 10-fold CV (rho = 1/9)
39
- curl "http://127.0.0.1:8060/api/v1/datasets/ml_data.csv/bayesian/correlated-ttest?metric=accuracy&algo_a=RandomForest&algo_b=SVM&rope=0.01&rho=0.111111"
39
+ curl "http://127.0.0.1:8060/api/v1/datasets/ml_classification_cv.csv/bayesian/correlated-ttest?metric=accuracy&algo_a=RandomForest&algo_b=SVM&rope=0.01&rho=0.111111"
40
40
  ```
@@ -1,13 +1,13 @@
1
1
  # Tutorial 1: Multi-Objective Metaheuristics Benchmark
2
2
 
3
- This tutorial walks through a complete frequentist, Bayesian, and meta-benchmarking evaluation of 7 multi-objective particle swarm and evolutionary optimizers (`AutoMOPSOD`, `AutoMOPSORE`, `AutoMOPSOW`, `AutoMOPSOZ`, `NSGAII`, `OMOPSO`, `SMPSO`) across 12 DTLZ/ZDT benchmark instances using the bundled `datasets/swarmintelligence.csv`.
3
+ This tutorial walks through a complete frequentist, Bayesian, and meta-benchmarking evaluation of 7 multi-objective particle swarm and evolutionary optimizers (`AutoMOPSOD`, `AutoMOPSORE`, `AutoMOPSOW`, `AutoMOPSOZ`, `NSGAII`, `OMOPSO`, `SMPSO`) across 12 DTLZ/ZDT benchmark instances using the bundled `saes.datasets.load_metaheuristics()` (`metaheuristics_benchmark.csv`).
4
4
 
5
5
  ## 1. Load, Validate, and Explore the Dataset
6
6
 
7
7
  ```python
8
8
  import saes
9
9
 
10
- ds = saes.load("datasets/swarmintelligence.csv")
10
+ ds = saes.datasets.load_metaheuristics()
11
11
  val = saes.validate(ds)
12
12
  assert val.is_valid, f"Validation failed: {val.issues}"
13
13
 
@@ -123,6 +123,6 @@ latex_bytes = saes.export_table(tbl, export_format="latex")
123
123
  svg_bytes, _, _ = saes.export_plot(ds, plot_type="critical-distance", metric="HV", export_format="svg")
124
124
 
125
125
  # FAIR reproducibility pack (Python script, Jupyter notebook, SHA-256 manifest)
126
- repro = saes.reproducibility(ds, metric="HV", alpha=0.05, filename="swarmintelligence.csv")
126
+ repro = saes.reproducibility(ds, metric="HV", alpha=0.05, filename="metaheuristics_benchmark.csv")
127
127
  print("Statsmodels version:", repro.manifest.statsmodels_version)
128
128
  ```
@@ -1,6 +1,9 @@
1
1
  # Tutorial 2: Machine Learning Cross-Validation, Correlated Bayesian $t$-Test & Equivalence (TOST)
2
2
 
3
- This tutorial demonstrates evaluating four classifiers (`KNN`, `MLP`, `RandomForest`, `SVM`) on accuracy and loss across matched cross-validation folds using `datasets/ml_data.csv`, highlighting **explicit pairing**, the **Bayesian Correlated $t$-test** (Nadeau & Bengio 2003; Benavoli et al. 2017), **sensitivity (MDES)** analysis, and **TOST equivalence testing** (Schuirmann 1987; Lakens 2017).
3
+ This tutorial demonstrates evaluating four classifiers (`KNN`, `MLP`, `RandomForest`, `SVM`) on accuracy and loss across matched cross-validation folds using the bundled `saes.datasets.load_ml_benchmark()` dataset, highlighting **explicit pairing**, the **Bayesian Correlated $t$-test** (Nadeau & Bengio 2003; Benavoli et al. 2017), **sensitivity (MDES)** analysis, and **TOST equivalence testing** (Schuirmann 1987; Lakens 2017).
4
+
5
+ !!! tip "Larger Multi-Dataset Benchmark"
6
+ For multi-dataset classifier benchmarking across 15 real UCI/OpenML/NASA datasets (6 real `scikit-learn` classifiers × 30 paired 3×10-fold CV splits = 8,100 rows), use `saes.datasets.load_ml_multidataset()` (see `examples/case_study_ml.py`).
4
7
 
5
8
  ## 1. Load & Analyze Matched Cross-Validation Folds (`paired=True`)
6
9
 
@@ -9,7 +12,7 @@ Unlike independent stochastic optimization runs (`paired=False`), classifiers ev
9
12
  ```python
10
13
  import saes
11
14
 
12
- ds = saes.load("datasets/ml_data.csv")
15
+ ds = saes.datasets.load_ml_benchmark()
13
16
  assert saes.validate(ds).is_valid
14
17
 
15
18
  # Automated analysis explicitly declaring matched CV folds
@@ -20,7 +23,7 @@ print(report.to_dataframe()[["instance", "metric", "test_name", "p_value", "effe
20
23
  <figure class="saes-figure" markdown>
21
24
  ![Critical Distance Diagram on ML Accuracy](../assets/figures/ml_cd_accuracy.svg)
22
25
  <figcaption>
23
- <strong>Classifier Ranking (Accuracy):</strong> Friedman + Nemenyi Critical Distance diagram generated directly from <code>datasets/ml_data.csv</code>.
26
+ <strong>Classifier Ranking (Accuracy):</strong> Friedman + Nemenyi Critical Distance diagram generated directly from the bundled <code>ml_classification_cv.csv</code> benchmark.
24
27
  </figcaption>
25
28
  </figure>
26
29
 
@@ -13,7 +13,7 @@ Following **Benavoli et al. (2017)** (*JMLR*), SAES evaluates pairwise multi-ins
13
13
  ```python
14
14
  import saes
15
15
 
16
- ds = saes.load("datasets/swarmintelligence.csv")
16
+ ds = saes.datasets.load_metaheuristics()
17
17
  bayes = saes.statistics.bayesian_signed_rank(
18
18
  ds,
19
19
  metric="HV",
@@ -14,7 +14,7 @@ When benchmarking $k \ge 3$ algorithms across $N \ge 2$ benchmark instances, obs
14
14
  ```python
15
15
  import saes
16
16
 
17
- ds = saes.load("datasets/swarmintelligence.csv")
17
+ ds = saes.datasets.load_metaheuristics()
18
18
 
19
19
  cd = saes.statistics.friedman_nemenyi(ds, metric="HV", alpha=0.05)
20
20
  aligned = saes.statistics.friedman_aligned_ranks(ds, metric="HV", alpha=0.05)
@@ -13,7 +13,7 @@ All {{ saes_plotters_count }} plotters below are introspected live from `saes.Pl
13
13
  ```python
14
14
  import saes
15
15
 
16
- ds = saes.load("datasets/swarmintelligence.csv")
16
+ ds = saes.datasets.load_metaheuristics()
17
17
  svg_bytes, _, _ = saes.export_plot(
18
18
  ds,
19
19
  plot_type="effect-size-forest",
@@ -0,0 +1,22 @@
1
+ # SAES Reproducible Examples & Case Studies
2
+
3
+ This directory provides deterministic, headless-ready (`MPLBACKEND=Agg`) scripts and an exhaustive 9-section Jupyter walkthrough reproducing the statistical, multi-objective Pareto/EAF, multi-format reporting, and FAIR packaging workflows of `saes` using the bundled datasets (`saes.datasets`) — requiring **no external libraries beyond `saes[viz]`**.
4
+
5
+ ## Quick Verification (One Command)
6
+
7
+ ```bash
8
+ chmod +x examples/smoke_test.sh
9
+ ./examples/smoke_test.sh
10
+ ```
11
+
12
+ ## Included Artifacts
13
+
14
+ | File | Domain & Capabilities Demonstrated |
15
+ | :--- | :--- |
16
+ | `case_study_metaheuristics.py` | **Multi-objective metaheuristics** (`metaheuristics_benchmark.csv` 14,700 rows + `zcat_moo_benchmark.csv` 12,000 rows, `paired=False`): Friedman + Nemenyi CD, Aligned-Ranks, Quade, RM-ANOVA with Greenhouse–Geisser $\varepsilon$, Bayesian Plackett–Luce & Signed-Rank ROPE, effect-size forest, Dolan–Moré profiles, Pareto EAF/KS-EAF plugin, LaTeX tables, vector SVG plots, and FAIR reproducibility pack. |
17
+ | `case_study_continuous.py` | **Continuous single-objective black-box optimization** (`continuous_blackbox_benchmark.csv` 5,400 rows, 6 optimizers × 15 shifted 10D functions, `paired=False`): Shapiro/Lilliefors/Anderson/Levene diagnostics, Welch ANOVA + Games–Howell, Kruskal + Dunn/Conover–Iman, Brunner–Munzel, exact Shaffer & Bergmann–Hommel matrix corrections, Bayesian Sign vs Signed-Rank, and quality-vs-runtime Dolan–Moré profiles. |
18
+ | `case_study_ml.py` | **Multi-dataset ML cross-validation** (`ml_multidataset_cv.csv` 8,100 rows, 6 real classifiers × 15 real UCI/OpenML/NASA datasets × 30 paired 3×10-fold CV splits, `paired=True`): blocked multi-dataset Friedman/Aligned-Ranks/Quade + Bayesian Plackett–Luce, Nadeau–Bengio Bayesian Correlated $t$-test ($\rho = 1/9$), power & MDES sensitivity audit, Schuirmann TOST equivalence (both equivalent and non-equivalent pairs), Dunnett post-hoc, LaTeX table, and vector SVGs. |
19
+ | `saes_walkthrough.ipynb` | **Exhaustive 9-section interactive Jupyter showcase** exercising all bundled datasets, `inspect_csv`/`repair_csv`, assumption checks, all 4 blocked omnibus tests, all 5 post-hoc procedures + Shaffer/Bergmann–Hommel, exact effect-size CIs & forest, all Bayesian models, power/MDES/TOST, Dolan–Moré profiles, all 3 table types & 6 export formats, static & interactive plotters, FAIR packs, registries, and `saes.plugins.pareto`. |
20
+ | `smoke_test.sh` | Automated headless verification script running all three domain case studies plus all code cells of `saes_walkthrough.ipynb` and asserting all 19 generated tables, vector plots, notebooks, and SHA-256 manifests. |
21
+
22
+ > **Dataset Provenance:** The deterministic data-generation scripts used to build the bundled empirical benchmarks are archived separately under [`scripts/benchmarks/`](../scripts/benchmarks/README.md) with PEP 723 inline metadata (not required to run `saes` or any file in `examples/`).