Skip to content

v0.3.0 finalization: test coverage + example notebooks#6

Merged
mortentabor merged 1 commit intomainfrom
v0.3.0-finalize
Feb 19, 2026
Merged

v0.3.0 finalization: test coverage + example notebooks#6
mortentabor merged 1 commit intomainfrom
v0.3.0-finalize

Conversation

@mortentabor
Copy link
Contributor

Summary

  • 877 tests, 86% coverage — up from 816 tests after Markov PR merge. Added 61 new tests covering Markov utilities, model edge cases, restricted transitions, selection, sequential restriction, visualization, and results base classes.
  • 4 focused example notebooks replacing the monolithic exploration.ipynb (128 cells, 1.7MB):
    • 01_models_and_visualization.ipynb — OLS, AR with breaks, all visualization functions, diagnostics
    • 02_structural_break_tests.ipynb — Bai-Perron, Chow, CUSUM, Andrews-Ploberger
    • 03_dynamic_estimation.ipynb — Rolling/recursive estimation, ADL models
    • 04_markov_switching.ipynb — Full Markov switching API demo (new content, 86 cells)
  • Ruff lint/format clean, ROADMAP.md updated

Test plan

  • All 877 tests pass (python -m pytest --no-cov)
  • ruff check src/ tests/ clean
  • ruff format --check src/ tests/ clean
  • Coverage: 86% overall, all Markov modules ≥80%
  • CI passes on push

🤖 Generated with Claude Code

…ooks

- Add 61 new tests across Markov utils, models, restricted, selection,
  sequential restriction, visualization, and results base classes
- Split monolithic exploration.ipynb (128 cells) into 4 focused notebooks:
  01_models_and_visualization, 02_structural_break_tests,
  03_dynamic_estimation, 04_markov_switching
- Fix ruff lint/format issues in new test files
- Update ROADMAP.md with coverage target achieved and notebook restructure

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mortentabor mortentabor merged commit 4af34cf into main Feb 19, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant