Skip to content

Commit 71e658f

Browse files
Morten Taborclaude
andcommitted
Update docs for v0.3.2 release
Add proper v0.3.2 and v0.3.1 sections to CHANGELOG (previously under [Unreleased]) and update README test count from 880 to 903. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ffa490c commit 71e658f

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.3.2] - 2026-02-20
11+
12+
### Fixed
13+
14+
- **Bai-Perron partial structural change model failing when `exog_break` is a subset of `exog`**: Duplicate columns caused multicollinearity in the regime design matrix. PR #4.
15+
- **CI lint errors** from PR #4 code (ruff format/check, issue #7)
16+
17+
### Added
18+
19+
- **R cross-validation reference tests** for Bai-Perron (903 tests total, 86% coverage)
20+
21+
### Changed
22+
23+
- Test PyPI publish step made non-blocking (`continue-on-error`) in release workflow
24+
25+
## [0.3.1] - 2026-02-19
26+
1027
### Fixed
1128

1229
- **Smoothed probability leakage in restricted Markov models**: statsmodels' Hamilton filter and Kim smoother convert zero transition probabilities to `log(max(0, 1e-20)) ≈ -46`, which leaks ~1e-20 probability per step. Over many time steps with strong data, this accumulates and overwhelms transition restrictions, causing non-recurring models to show impossible regime reversals. Added `_RestrictedFilterMixin` that overrides `_filter`/`_smooth` in both restricted statsmodels subclasses with `_LOG_ZERO = -1000` to eliminate leakage. 3 new tests verify smoothed probability monotonicity (880 tests total).

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ All regression models support multiple covariance estimators:
557557

558558
## Testing
559559

560-
The package includes a comprehensive test suite with 880 tests:
560+
The package includes a comprehensive test suite with 903 tests:
561561

562562
```bash
563563
# Run all tests

0 commit comments

Comments
 (0)