Skip to content

v1.4.11

Latest

Choose a tag to compare

@lerdmann1601 lerdmann1601 released this 28 Nov 22:08
· 1 commit to main since this release

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.typed support, updated .pyi type stubs, introduced context manager support (with hera_matlab.initialize() as hera:), hardened NumPy/Pandas/sequence marshaling in runtime_wrapper.py, and improved cross-platform MATLAB Runtime discovery in install_runtime.py.
  • Semantic Update Checks & Deployed Version Detection: Upgraded +HERA/+start/check_updates.m to semantic version comparison with HERA_NO_UPDATE_CHECK opt-out support, and updated +HERA/get_version.m so deployed standalone/Python packages resolve their embedded version cleanly without invoking Git.
  • Expanded MATLAB & Python Test Coverage: Added tests/python/test_python_interface.py covering 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 guarded check_convergence.m, find_elbow_point.m, jackknife.m, relative_difference.m, borda_ranking.m, calculate_ranking.m, calculate_thresholds.m, and power_analysis.m against NaN/Inf, empty inputs, and N <= 2 edge 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/ and generate_plots.m, and stabilized quiet report generation.
  • Build Scripts, CI Workflows & Benchmark Simulation Suite: Fixed MLM_LICENSE_TOKEN and MATLAB_Compiler_SDK workflow setup in build_release.yml, fixed prepare_pypi.py packaging assets and run_HERA_Runtime.sh patching in deploy/build_HERA_matlab.m, resolved data/utils/run_workflow.py MCR handle reuse and opt-in auto-install, fixed simulation/engine.py root detection and reporting.py cohort 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

📦 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