Conversation
- python/tests/test_functionality.py: invariant/functionality tests (no R,
no reference dumps) -- fit across specs, IC consistency, interval
ordering/nesting, ARMA + orders$select, diagnostics, simulate
reproducibility, confint/summary shapes, Box-Cox positivity, outlier
detection, pandas-Series lag inference, input validation. Auto-lambda
(power Z) tests are guarded by importorskip("smooth") so engine-only
functionality runs in CI without the non-PyPI sibling packages.
- pyproject: pytest (addopts ignores test_*_parity.py), ruff (E/F/W/I/B/UP),
mypy (ignore_missing_imports, files=src/muse) config; parity scripts
excluded from lint too.
- .github/workflows/python-check.yaml: ubuntu job installing Armadillo +
LAPACK/BLAS, building/installing muse via scikit-build-core, then running
ruff / mypy / pytest. Verified end-to-end in an isolated venv
(30 passed, 4 auto-lambda skipped without smooth).
Bug fixed (caught by the new tests): simulate() passed h=0 to the engine's
simulateInit loop, returning an empty (0 x nsim) matrix. Pass h=nobs so the
in-sample replay spans the full sample (nobs x nsim).
Lint fixes: zip(strict=False), raise ... from None, int|None annotation, and
type: ignore on the compiled _musecore import.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Expand the Python README into a standard package landing page (modelled on smooth's): badges (Python versions, CI, license), logo via absolute GitHub raw URL (renders on PyPI), feature list, install-from-source + system-requirements + optional-dependency table, a runnable Quick Example, a Model-specification reference table (P/T/S letters), an API-at-a-glance table (methods + properties), the relationship-to-R note, See Also, and License. All documented examples were run against the live API. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
config-i1
added a commit
that referenced
this pull request
Jul 23, 2026
Workflows and preparations for PyPI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.