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
BinaryErrorDriftDescriptorensuring 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.*, andstride.exceptions). - GitHub Actions documentation workflow (
.github/workflows/docs.yml) with automated strict PR build validation and continuous deployment to GitHub Pages.
- Hosted documentation framework powered by Material for MkDocs (
- 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
D417docstring quality gate andconvention = "google".
- Systematic standardization across all public modules in
- Deterministic AI Agent Documentation Standards:
- Codified rules in
.agents/rules/documentation_standards.mdgoverning all future agent-generated code.
- Codified rules in
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: FullBaseDatasetcompliance 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.
- Modal dialog
- Agentic Release Governance:
- Release management standards (
release_standards.md) and autonomous deployment skill (release-managementskill).
- Release management standards (
[0.1.0] - 2026-10-05
Added
- Core Package Architecture: PyPA
src/stride/modular package layout with PEP 621 metadata understride-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).
- Rotating Hyperplane drift (
- Sequential Drift Detection:
- Online drift monitoring and error characterization (
BinaryErrorDriftDescriptor) leveraging River's Drift Detection Method (DDM).
- Online drift monitoring and error characterization (
- 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).
- Supervised Decision Boundary Maps (SDBM) and Self-Supervised Neural Projection (SSNP) for 2D boundary shift forensics (
- Headless Visualization Pipeline:
- Plotting routines in
stride.plottingreturningmatplotlib.figure.Figurewithout blocking execution.
- Plotting routines in
- Interactive Streamlit Dashboard:
- Multi-tab forensic application (
dashboard/app.py) spanning Data, Model, and Explanation analytical layers. - Decoupled UI configuration schemas under
dashboard/config/.
- Multi-tab forensic application (
- 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.
- Automated CI/CD release workflow using PyPI OpenID Connect (OIDC) Trusted Publishing (