Repository navigation
HERA
HERA is a MATLAB based scientific ranking framework for paired benchmarking. It provides a hierarchical-compensatory logic that integrates effect-size statistics, and automated reporting capabilities.
For more information please refer to the Readme and Project Documentation.
What's New in v1.4.11?
⚙️ Enhancements
- Python Interface, Typing & Runtime Management: Added PEP 561
py.typedsupport, updated.pyitype stubs, introduced context manager support (with hera_matlab.initialize() as hera:), hardened NumPy/Pandas/sequence marshaling inruntime_wrapper.py, and improved cross-platform MATLAB Runtime discovery ininstall_runtime.py. - Semantic Update Checks & Deployed Version Detection: Upgraded
+HERA/+start/check_updates.mto semantic version comparison withHERA_NO_UPDATE_CHECKopt-out support, and updated+HERA/get_version.mso deployed standalone/Python packages resolve their embedded version cleanly without invoking Git. - Expanded MATLAB & Python Test Coverage: Added
tests/python/test_python_interface.pycovering PyPI packaging, type stubs, wrapper conversions, and runtime installation, alongside expanded MATLAB tests (StatsTests.m,SystemTests.m,UnitTests.m) and tightened cycle-detection assertions.
📚 Documentation & Usability
- Colorblind-Safe Themes & Documentation Rendering: Added a colorblind-safe Okabe-Ito Sankey palette and consistent theme-aware line/marker styling in
design.m, and fixed GitHub-alert-to-MkDocs-admonition indentation conversion in.github/workflows/deploy_docs.yml.
🐛 Bug Fixes
- Statistical & Convergence Robustness: Hardened BCa confidence intervals (
calculate_bca_ci.m) with pairwise NaN pre-filtering and safe percentile fallbacks on pole crossings or inverted quantiles, and guardedcheck_convergence.m,find_elbow_point.m,jackknife.m,relative_difference.m,borda_ranking.m,calculate_ranking.m,calculate_thresholds.m, andpower_analysis.magainstNaN/Inf, empty inputs, andN <= 2edge cases. - Data Loading, Config Preservation & Export Parity: Improved mixed-type cell parsing, subject ID consistency checks, and string-scalar path handling in
load_data.m, preserved user config fields across CLI/batch entry points (start_ranking.m,run_ranking.m,ConfigValidator.m,setup_environment.m,setup_HERA.m), and aligned CSV/JSON/log export parity in+HERA/+output/. - Plot Crashes & Borda Consensus Scaling: Fixed Borda consensus bubble axis scaling (
borda_consensus.m), guarded against invalid/empty figure handles and degenerate distributions across+HERA/+plot/andgenerate_plots.m, and stabilized quiet report generation. - Build Scripts, CI Workflows & Benchmark Simulation Suite: Fixed
MLM_LICENSE_TOKENandMATLAB_Compiler_SDKworkflow setup inbuild_release.yml, fixedprepare_pypi.pypackaging assets andrun_HERA_Runtime.shpatching indeploy/build_HERA_matlab.m, resolveddata/utils/run_workflow.pyMCR handle reuse and opt-in auto-install, fixedsimulation/engine.pyroot detection andreporting.pycohort stratification (regenerating benchmark summary CSVs), and corrected Efron's Dice data in convergence/test cases.
Recent Major Features (from v1.4.0)
✨ Convergence Analysis Enhancements:
- New Scenario: Added a "Sensitivity" scenario with small effect sizes.
- JSON Configuration: All scenarios are fully customizable through a JSON configuration file.
(For a full history of previous features and changes, see the Changelog)
🖥️ Platform Support
- MATLAB Toolbox & Python Package: Windows, macOS (Intel & Apple Silicon), Linux. Execution instructions: MATLAB Toolbox (Overview) | Python Package
- Standalone Runtime Application: macOS (Apple Silicon ONLY). Execution instructions: Standalone App
📦 Compatibility
- MATLAB: Compatible with R2020a and newer.
- Python: Compatible with Python 3.9 through 3.12 (officially supported; Python 3.13+ supported via Stable ABI with a runtime compatibility warning) and MATLAB Runtime R2025b (25.2).
Full Changelog: v1.4.10...v1.4.11