Changelog¶
Current Version:
v2.1.1— automatically synchronized at build time fromCHANGELOG.mdandversion.txt.
All notable changes to the SAES core repository are documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]¶
[Released]¶
[2.1.1] — 2026-11-27 (@rorro6787)¶
Security¶
- Upgraded locked dependencies in
uv.lockto remediate Dependabot advisories acrosspillow(12.3.0→13.0.0),pymdown-extensions(10.21.2→12.3/13.0),mkdocs-material(9.7.6→9.8.2), andcertifi(2026.7.22→2026.11.20), along withmkdocstrings(1.0.4→1.0.8) andmkdocstrings-python(2.0.3→2.0.11) forpymdown-extensions13 compatibility. - Tightened minimum version constraints in
pyproject.tomlforpydantic(>=2.4.0),python-multipart(>=0.0.31),mkdocs-material(>=9.7.7),mkdocstrings[python](>=1.0.8), andpytest(>=9.0.3) to exclude known vulnerable or incompatible releases.
[2.1.0] — 2026-11-27 (@rorro6787)¶
Added¶
- PEP-standard Python plugin discovery and domain extension architecture (
saes.plugins, exported assaes.PluginManifest,saes.SAESPlugin,saes.PluginRegistry, andsaes.plugins): automatically discovers built-in and external packages viaimportlib.metadata.entry_pointsacross four groups (saes.tests,saes.renderers,saes.plotters,saes.plugins) with graceful fault isolation. - Built-in reference domain plugin
saes.plugins.pareto(ParetoPlugin, registered via[project.entry-points."saes.plugins"]): - Multi-objective Pareto front domain models (
ParetoFront,FrontCollection), vectorized non-dominated filtering, set coverage matrix \(C(A, B)\), and representative run selection (best / median / worst / accumulated front). - Exact 2D Empirical Attainment Functions (EAF), attainment surfaces (0%, 25%, 50%, 75%, 100%), pairwise \(\Delta\text{EAF}(z)\) spatial advantage surfaces, and deterministic KS-EAF Monte Carlo permutation hypothesis tests.
- Multi-objective quality indicators (
HVexact 2D & 3D,IGD,IGD+,GD,EPS,Spacing) with direct bridgeFrontCollection.to_indicators_dataset() -> saes.Dataset. - Flexible I/O (tidy CSV,
.pfreference fronts, jMetal/PlatEMOFUN.*.tsvtrees, ZIP archives, built-in ZDT1–3 & DTLZ2 demo suite), 7 dual Matplotlib/Plotly visualization modes (attainment,runs,representative,eaf-diff,small-multiples,3d,pcp) with full publication styling parity (title,title_mode,legend_placement,font_size,font_family,label_mode,bold_mode,show_grid,dark_theme,width_px,height_px), reference-only plotting (algorithms=[],show_reference=True), non-overlapping legends & colorbars, and FastAPI routes auto-mounted under/api/v1/plugins/pareto. - Lazy entry-point discovery integrated into
TestRegistry,TableRendererRegistry, andPlotterRegistry. - REST plugin discovery endpoint
GET /api/v1/plugins(PluginRegistryResponse) and automatic mounting of plugin-provided FastAPIAPIRouterinstances under/api/v1/plugins/<plugin_id>insaes.server.app.create_app(). - Expanded
docs/extensibility.mdand added dedicated GitHub Pages guidedocs/user-guide/pareto-plugin.mdcovering multi-file, tidy CSV,.pf, and jMetal ZIP input formats, exact EAF/KS-EAF methodology, and REST endpoints (includingPOST /api/v1/plugins/pareto/collections/create-multi).
[2.0.0] — 2026-11-24 (@rorro6787)¶
Added¶
- Updated
.github/workflows/release.ymlto authenticate release stamp pushes and GitHub Releases via thesaes-release-botGitHub App (actions/create-github-app-token@v1) so protectedmainrulesets remain enforced. - Exact confidence intervals on all parametric and non-parametric effect sizes (
saes.stats.effect_sizes): noncentral-\(t\) CIs for Cohen's \(d\) / Hedges' \(g\) (cohens_d_ci), noncentral-\(F\) CIs for ANOVA \(\eta^2\) (eta_squared_ci), Brunner–Munzel logit-transformed CIs for Vargha–Delaney \(A_{12}\) and Cliff's \(\delta\) (vargha_delaney_a12_ci,cliffs_delta_ci), and percentile bootstrap CIs for Kruskal–Wallis \(\varepsilon^2\) (epsilon_squared_ci), automatically populated on everyStatisticalResult.effect_size. - Comprehensive multiple-comparison adjustments and post-hoc test suite (
saes.stats.posthoc): extendedadjust_pvaluesto 11 procedures (holm,bonferroni,hochberg,hommel,finner,holland,rom,li,fdr_bh,fdr_by,none), added Shaffer's static (adjust_pvalues_shaffer) and exact Bergmann–Hommel exhaustive (adjust_pvalues_bergmann_hommel) matrix procedures, plustukey_hsd,games_howell,dunnett,dunn,conover_iman, andBrunnerMunzelTest(saes.statistics.brunner_munzel). - Blocked multi-instance omnibus tests (
saes.stats.ranking):FriedmanAlignedRanksTest(saes.statistics.friedman_aligned_ranks),QuadeTest(saes.statistics.quade), andRepeatedMeasuresANOVAwith Greenhouse–Geisser sphericity \(\varepsilon\) (saes.statistics.rm_anova). - Exact Bayesian testing suite (
saes.stats.bayesian):BayesianCorrelatedTTest(Nadeau & Bengio 2003; Benavoli et al. 2017) viasaes.statistics.bayesian_correlated_ttestandBayesianPlackettLuceTest(Calvo et al. 2018) viasaes.statistics.bayesian_plackett_luce. - Sensitivity analysis (
compute_minimum_detectable_effect/saes.statistics.minimum_detectable_effect,PowerAnalysisResult.sensitivity_audit) and Two One-Sided Tests for statistical equivalence (saes.tost/saes.statistics.tost/TOSTResult, Schuirmann 1987; Lakens 2017). - Normality assumption checkers
LillieforsChecker(saes.statistics.lilliefors) andAndersonDarlingChecker(saes.statistics.anderson). - Extensible plugin registries
TestRegistry(saes.stats.registry) andTableRenderer/TableRendererRegistry(saes.reports.renderers), plus.summary()and.to_dataframe()convenience methods across primary Pydantic V2 result models. - Standardized effect-size forest computation (
saes.statistics.effect_size_forest,EffectSizeComparisonItem,EffectSizeForestResult) and two new registered publication plotters (plackett-luceandeffect-size-forest, 10 total plotters inPlotterRegistry), plus exact analytical posterior density curves (curve_x,curve_y) onBayesianCorrelatedTResult. - Dataset-aware design capability diagnostics (
can_run_cell_tests,can_run_blocked_omnibus, Anderson–Darling \(A^2\) metrics onDistributionProfile, and UI routing metadatatarget_tab/target_modeonTestRecommendation) inDataExplorerEngine. - Typed FastAPI REST endpoints (stateless CSV and stored dataset routes) for full UI parity:
/posthoc,/tost,/bayesian/correlated-ttest,/effect-sizes, plus expandedRankingAnalysisResponse(bayesian_plackett_luce,friedman_aligned,quade,rm_anova) and explicitpaired,rope,prior_strength, andposthoc_correctionquery/form parameters across existing routes. - Professional Material for MkDocs GitHub Pages documentation site (
mkdocs.yml, custom CSS/MathJax 3/Mermaid,mkdocstrings[python]auto-API reference, live MkDocs build hooks indocs/hooks.pyauto-syncingversion.txt,CHANGELOG.md,pyproject.tomlextras,PlotterRegistry, and FastAPI OpenAPI routes, 6 generated vector SVG benchmark figures,[docs]optional extra pinned tomkdocs>=1.6.0,<2.0.0,make docs/make docs-serve/make docs-preview, PR validation in.github/workflows/docs.yml, and automated post-release GitHub Pages deployment in.github/workflows/release.yml). - Full PEP 621 PyPI metadata (
license,authors,keywords,classifiers,[project.urls]) inpyproject.toml,CITATION.cffsoftware citation metadata (with dynamic BibTeX section in docs),statsmodels_versiontracking inEnvironmentManifest, and multi-version Python 3.11 / 3.12 / 3.13 GitHub Actions test matrix.
Fixed¶
- Suppressed SciPy
brunnermunzelcomplete-separationRuntimeWarninginsaes.stats.effect_sizesandsaes.stats.posthocby gracefully falling back to the normal-approximation distribution before exact boundary clamping. - Fixed
TestDecisionEngine.select_test()to gate parametric vs. non-parametric tests on Shapiro–Wilk normality (checking paired differences for paired 2-group comparisons) and stopped silently inferring statistical pairing from matchingrun_idindices (explicitpaired: bool = Falsedefault acrossanalyze,generate_table,profiles, andpower). - Fixed
FriedmanNemenyiTestto compute the exact tie-corrected Friedman \(\chi^2_F\) statistic (matchingscipy.stats.friedmanchisquareand Rfriedman.test) and aggregate multi-metricall-metricsscores within each instance son_blocks == n_instanceswithout inflating block sample sizes. - Fixed
BayesianRankingTestto follow exact Benavoli et al. (2017) Dirichlet Process posterior weights (removing the artificial \(N=12\) effective sample cap and 3 pseudo-observations, adding exact optional absoluteropein metric units andprior_strength, and computing coherent multi-algorithm \(P(\text{best})\) via Plackett–Luce). - Replaced invalid uncalibrated
scipy.stats.kstestnormality check on standardized samples inDataExplorerEnginewith the Lilliefors-corrected test (statsmodels.stats.diagnostic.lilliefors). - Replaced invalid unblocked One-Way ANOVA / Welch ANOVA / Kruskal–Wallis computation over multi-instance means in
StatisticalTableGenerator(returningNonefor multi-instance scope while exposing blocked Friedman, Aligned Friedman, and Quade statistics) and replaced parametric normal approximations in_fast_bayesian_*with exact DP Signed-Rank and Plackett–Luce calculations. - Fixed
compute_post_hoc_power_auditpairing inference (paired=(n1 == n2)) and pooled-SD vs. Welch inconsistency, and added per-instance multiplicity adjustment and non-parametric \(A_{12}\)/median win direction incompute_performance_profiles. - Removed duplicated Section 6 cell in generated Jupyter notebooks (
saes.reports.reproducibility) and replaced deprecatedseaborn.boxplotcall inBoxplotGeneratorwith native Matplotlibax.boxplot(..., orientation="vertical")to eliminate Matplotlib 3.11 deprecation warnings.
Changed¶
- Breaking (v2.0.0 Consolidation): Consolidated the PEP 8 Python package and PyPI distribution from
saesV2into canonicalsaes(pip install saes,import saes), succeeding SAES1.5.0on PyPI and removing RuffN999suppression. Legacy SAES v1 users should pinpip install "SAES<2". - Modularized
saes.stats.tablesby extracting LaTeX, Markdown, CSV, HTML, DOCX, and PDF presentation renderers intosaes.reports.renderers(fully re-exported for backward compatibility) with cleanConfigurationErrorhandling when[viz]is not installed. - Removed unused
tabulatedependency frompyproject.toml.
[0.3.1] — 2026-11-20 (@rorro6787)¶
Changed¶
- Decoupled
saesV2.server.appfromsaes_aiby removing optional runtime mounting ofsaes_ai.server.routeson:8060. - Removed legacy
saesmodule alias fromsaesV2/__init__.pyandValidationIssueSchemaalias fromsaesV2/server/schemas.py.
Fixed¶
- Use absolute
raw.githubusercontent.comURL for the SAES logo inREADME.mdso it renders properly on PyPI.
[0.3.0] — 2026-11-19 (@rorro6787)¶
Fixed¶
- Added
cells_countproperty toAnalysisReport(saesV2.app.pipeline) so generated reproducibility scripts and notebooks can accessanalysis.cells_countwithout raisingAttributeError. - Resolved
__version__dynamically from package metadata (importlib.metadata) withversion.txtfallback and replaced hardcoded"0.1.0"versions insaesV2.serverandsaesV2.reports.reproducibility. - Updated
README.md(added SAES logo, fixedsaesV2package/module names and removed obsoletesaes.chatreferences) andMakefilehelp text.
[0.2.0] — 2026-11-18 (@rorro6787)¶
Added¶
- Initial release of SAES core statistics suite.
- One-way ANOVA and Welch's ANOVA tests.
- Two-sample independent, Welch's, and paired t-tests.
- Normality checking via Shapiro-Wilk test.
- Variance homogeneity checking via Levene's test.
- Automatic statistical test selection decision engine.
- Effect size calculations (Cohen's d, Eta-squared).
- High-level orchestration pipeline.
saesV2.export_plot(...)programmatic Python API to export any registered statistical plot or diagram (boxplot,violin,critical-distance,bayesian-rank,barplot,lineplot,ecdf,scatter) as PNG (300 DPI), SVG, or PDF bytes.- REST API plot export endpoints
POST /api/v1/plots/exportandPOST /api/v1/datasets/{filename}/plots/exportreturning downloadable PNG, SVG, or PDF figures. - Dolan-Moré (2002) performance profiles and meta-benchmarking engine (
saes.stats.profiles.compute_performance_profiles,saes.profiles) computing solver efficiency \(\rho(1)\), robustness \(\lim \rho(\tau)\), \(\tau\) curves, and global pairwise Win/Tie/Loss (W/T/L) and Copeland score ranking matrices across multi-problem benchmark suites. - Statistical power and experimental design planning engine (
saes.stats.power.analyze_statistical_power,calculate_statistical_power,estimate_required_sample_size,generate_power_curves,saes.power) implementing exact two-sample power via non-central Student \(t\) distribution (scipy.stats.nct), Hodges-Lehmann non-parametric sample size bounds, and post-hoc power audits to prevent Type II errors in stochastic algorithm evaluation. - FAIR science reproducibility pack generator (
saes.reports.reproducibility.generate_reproducibility_artifacts,saes.reproducibility) creating standalone executable Python scripts (reproduce.pywithimport saes), Jupyter Notebooks (.ipynbnbformat 4), and environment SHA-256 integrity manifests. - REST API endpoints for specialized scientific capabilities:
POST /api/v1/profiles,POST /api/v1/power,POST /api/v1/reproducibility, and dataset-scoped counterparts/api/v1/datasets/{filename}/profiles,/api/v1/datasets/{filename}/power,/api/v1/datasets/{filename}/reproducibility. - Publication-grade PDF styling & presentation customization in
_build_pdf_bytes,export_statistical_table, andsaes.export_tablewith support for custom title, custom caption, 5 distinct publication color themes (slate,academic_bw,emerald,navy,crimson), orientation (landscapevsportrait), font density scaling (compact7pt,standard8.5pt,large10pt), best performer winner highlighting, zebra striping, and border rule styles (full,horizontalbooktabs,minimal). - REST API support for PDF table presentation options across
POST /api/v1/tables/export,GET /api/v1/datasets/{filename}/tables/export, andPOST /api/v1/datasets/{filename}/tables/export. - Standalone LaTeX document generation (
latex_document_mode:standalonevssnippet) with complete LaTeX document preambles and postambles (\documentclass,\usepackage[table]{xcolor},booktabs,amsmath,\begin{document},\maketitle) allowing immediate out-of-the-box compilation in Overleaf or TeXShop. - Configurable LaTeX number notation modes (
latex_notation:scientific$2.55\text{e-}02_{...}$,siunitx\SI{2.55e-2}{...}, andstandard$0.0255 \pm 0.0033$) with cell shading (\cellcolor{gray95}for best,\cellcolor{gray25}for second best), adaptive\tabcolsepcolumn spacing, and vertical grid borders matching standard scientific benchmark styles. - Non-parametric hypothesis tests (
WilcoxonSignedRankTest,MannWhitneyUTest,KruskalWallisTest), non-parametric effect sizes (compute_vargha_delaney_a12,compute_cliffs_delta, Epsilon-squared), and multiple-testing p-value corrections (adjust_pvalues: Holm-Bonferroni, Bonferroni-Dunn, Hochberg, Benjamini-Hochberg FDR) insaes.stats.nonparametricandsaes.statistics.*. - Scientific benchmark table generation (
StatisticalTableGenerator,saes.generate_table,saes.statistics.table) and multi-format table exporter (export_statistical_table,saes.export_table) supporting Instance × Algorithm (+ / ≈ / −) benchmark tables, 1vs1 pairwise comparison matrices with per-instance statistical confidence symbol sequences (+ / = / -,instance_symbols, standalone LaTeX1vs1 Tablewith\texttt{...}and ordered instance caption), Friedman/ANOVA post-hoc control tables, and exports in PDF, Word (.docx), LaTeX, CSV, Markdown, and HTML. - Dataset observation explorer, multi-metric side-by-side pivot reveal, distribution/normality profiler (Shapiro-Wilk, D'Agostino-Pearson \(K^2\), Kolmogorov-Smirnov, Levene, Bartlett, IQR outliers), context-aware statistical test recommendation engine (
DataExplorerEngine,saes.explore,saes.statistics.explore), and multi-format observation table exporter (export_exploration_table,saes.export_exploration). - REST API endpoints
POST /api/v1/tables,POST /api/v1/tables/export,POST /api/v1/explore,POST /api/v1/explore/export, and HTTP-cacheable dataset-scopedGET/POSTcounterparts/api/v1/datasets/{filename}/tables,/api/v1/datasets/{filename}/tables/export,/api/v1/datasets/{filename}/explore, and/api/v1/datasets/{filename}/explore/export. - Non-parametric Friedman rank test with Iman-Davenport F and Nemenyi post-hoc Critical Distance (
FriedmanNemenyiTest,saes.statistics.friedman_nemenyi), plus Bayesian Sign and Signed-Rank Simplex ROPE & posterior ranking tests (BayesianRankingTest,saes.statistics.bayesian_ranking,bayesian_sign,bayesian_signed_rank) with multi-metric (all-metrics) support. - Publication-grade
CriticalDistancePlotGenerator(critical-distance) andBayesianRankPlotGenerator(bayesian-rank,bayesian-sign,bayesian-signed-rank) supporting Matplotlib (plot) and Plotly (plot_interactive), registered inPlotterRegistryand exposed viasaes.plot(...). - Scientific paper aspect ratio presets (
PAPER_FORMAT_PRESETS:single-col,golden,double-col,square,compact) and palettes (academic,nature,viridis,colorblind,set2) insaes.visualization.utils. - REST API endpoints
POST /api/v1/rankingandPOST /api/v1/datasets/{filename}/ranking, plusinterpretationandgroup_summariesin/api/v1/analyzeresponses. - PEP 561
py.typedmarker, corepydantic>=2.0.0dependency, and lazy loading forPlotterRegistry.
Fixed¶
- Fixed LaTeX table compilation errors in
render_latex_tableandexport_flat_tablewhere unescaped Unicode characters (±,α,−,≈,—,²) in benchmark table captions, cells, and headers caused fatalpdflatexcompilation errors (Unicode character not set up for use with LaTeX). Added automated conversion of mathematical symbols to standard LaTeX math commands and\footnotesizescaling for publication compliance.
Changed¶
- Decoupled and extracted
chat,mcp, andpluginsinto the dedicatedsaes-aipackage. saes.server.appnow dynamically mountssaes_ai.server.routeswhensaes-aiis installed without internal legacy fallbacks.- Cleaned core dependencies by removing
chatextra and delegating AI tooling to[ai]optional extra (saes-ai).