Skip to content

Changelog

All notable changes to this project are documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

[0.3.0] - 2026-10-16

Added

  • ADWIN Drift Detection & Adaptive Characterization:
    • stride.drift.DualADWIN: Dual-threshold ADWIN wrapper providing simultaneous warning (\(\delta_{\text{warn}}\)) and confirmed drift (\(\delta_{\text{drift}}\)) signals with Hoeffding confidence bounds and \(O(\log W)\) memory.
    • Directional degradation filtering in BinaryErrorDriftDescriptor ensuring drift and warning alarms only fire upon performance deterioration.
    • Adaptive lookback window calibration bounded dynamically by ADWIN subwindow width (\(W\)).
    • Streamlit dashboard integration: added ADWIN to detector selection dropdown with dedicated confidence and window tuning widgets.
  • Documentation Infrastructure:
    • Hosted documentation framework powered by Material for MkDocs (mkdocs-material), mkdocstrings[python], and KaTeX math rendering (pymdownx.arithmatex).
    • Narrative documentation guides across all framework analytical layers: Getting Started, User Guide, and Theoretical Drift Taxonomy.
    • Autogenerated API reference manual covering all public subpackages (stride.datasets, stride.drift, stride.models, stride.plotting, stride.xai.*, and stride.exceptions).
    • GitHub Actions documentation workflow (.github/workflows/docs.yml) with automated strict PR build validation and continuous deployment to GitHub Pages.
  • Codebase Docstring Standardization:
    • Systematic standardization across all public modules in src/stride/ to Google style.
    • Dedicated parameter types in Python 3.10+ signatures and deduplicated docstrings.
    • Formal LaTeX mathematical formulations for statistical tests, loss functions, divergences, and clustering dynamics.
    • Ruff D417 docstring quality gate and convention = "google".
  • Deterministic AI Agent Documentation Standards:
    • Codified rules in .agents/rules/documentation_standards.md governing all future agent-generated code.

Changed

  • Documentation Refinement & Professionalization:
    • Eliminated promotional tropes, conversational filler, and decorative emojis across the documentation suite.
    • Expanded user guides, mathematical derivations, and architecture overviews into publication-grade technical prose.
    • Enriched all API reference pages with module architectures, exported component matrices, and standard import workflows.

[0.2.0] - 2026-10-07

Added

  • Shaker Semi-Synthetic Concept Drift Protocol:
    • Implemented the empirical dataset splicing protocol (Shaker & Hüllermeier, Neurocomputing 2015).
    • stride.datasets.FeatureMatcher: Statistical distribution alignment (Wasserstein distance with optimal bipartite assignment via Hungarian algorithm), exact column mapping, manual translation dictionary, shared PCA latent subspace projection, and feature scaling (StandardScaler / MinMaxScaler).
    • stride.datasets.DriftBlender: Deterministic stream blending supporting abrupt, gradual (Shaker sigmoidal Bernoulli trials), incremental (nearest-neighbor linear interpolation), and recurring (harmonic periodic oscillation) transition schedules.
    • stride.datasets.SemiSyntheticDriftDataset: Full BaseDataset compliance carrying ground-truth change-point timestamps, transition intervals, binary concept indicators, and statistical drifting feature diagnostics (KS test, Wasserstein distance).
    • Canonical UCI Wine Quality benchmark (Red \(\to\) White wine) offline loader and generator (load_wine_quality_drift).
  • Interactive Streamlit Dataset Stitcher:
    • Modal dialog open_dataset_stitcher_modal() allowing visual concept selection, feature mapping inspection, schedule tuning, interactive transition curve preview, and instant registry persistence.
    • Ground-truth change-point markers, shaded transition regions, and detector latency metrics in the Drift Detection tab.
    • Ground-truth drifting features banner in the Feature Importance Analysis tab.
  • Agentic Release Governance:
    • Release management standards (release_standards.md) and autonomous deployment skill (release-management skill).

[0.1.0] - 2026-10-05

Added

  • Core Package Architecture: PyPA src/stride/ modular package layout with PEP 621 metadata under stride-xai.
  • Synthetic Stream Generators:
    • Rotating Hyperplane drift (HyperplaneDriftDataset).
    • SEA benchmark generator with abrupt shift (SeaDriftDataset).
    • Random Basis Function cluster movement (RbfDriftDataset).
    • Linear Weight Inversion drift (LinearWeightInversionDriftDataset).
    • Multi-window generators (Mixed, Sine, Plane, STAGGER, Random Tree).
    • Registry adapters for external and streaming datasets (river, CSV).
  • Sequential Drift Detection:
    • Online drift monitoring and error characterization (BinaryErrorDriftDescriptor) leveraging River's Drift Detection Method (DDM).
  • Explainable AI (xAI) Modules:
    • Supervised Decision Boundary Maps (SDBM) and Self-Supervised Neural Projection (SSNP) for 2D boundary shift forensics (stride.xai.boundary).
    • Feature importance attribution via model-agnostic SHAP and Permutation Feature Importance (stride.xai.importance).
    • Selective drift discriminator with conformal p-value thresholding and abstention for localized feature attribution.
    • X-means clustering dynamics and centroid tracking via Hungarian bipartite assignment (stride.xai.clustering).
    • Prototype-based recurring concept detection using ProTree and HDBSCAN density clustering (stride.xai.recurrence).
    • Non-parametric hypothesis testing (Kolmogorov-Smirnov, Anderson-Darling) and 1D Wasserstein distance tracking (stride.xai.stats).
  • Headless Visualization Pipeline:
    • Plotting routines in stride.plotting returning matplotlib.figure.Figure without blocking execution.
  • Interactive Streamlit Dashboard:
    • Multi-tab forensic application (dashboard/app.py) spanning Data, Model, and Explanation analytical layers.
    • Decoupled UI configuration schemas under dashboard/config/.
  • Package Release Engineering:
    • Automated CI/CD release workflow using PyPI OpenID Connect (OIDC) Trusted Publishing (.github/workflows/release.yml).
    • Dynamic version extraction from src/stride/__init__.py.
    • PyPI discoverability metadata and navigation URLs.