Repository navigation
fix: prepare the 0.10.0 release - #39
Merged
Merged
Conversation
Keeps the items still open in those notes, out-of-range scoring and a post-fit monotonicity check, alongside the other specs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FsfCCsg5iwEbDuxnFqiQoB
…_bytes The eight exception classes added with out-of-core fitting could only be imported from rustystats.exceptions, unlike the older ones. Loaded models also lost fit_mode, passes, solver_settings, solver_trace and the memory plan. Older payloads read as in-memory fits, and a loaded out-of-core model refuses per-row methods as a fresh one does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FsfCCsg5iwEbDuxnFqiQoB
The out-of-core work replaced the array-level variance and derivative with per-element functions, so the two target snippets no longer existed and scored mutation failed as invalid. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FsfCCsg5iwEbDuxnFqiQoB
docs/changelog.md includes CHANGELOG.md, which did not exist, so the Release Notes page was blank. The notes cover the behaviour changes in the out-of-core release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FsfCCsg5iwEbDuxnFqiQoB
A dry run skipped only the PyPI upload: it still pushed the version commit and tag and created a GitHub Release. It now builds from the commit it runs on and stops there. Real releases put the version section of CHANGELOG.md above the generated notes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FsfCCsg5iwEbDuxnFqiQoB
Expressions are one operation on columns or numbers; log, exp, sqrt and compound formulas never parsed. The README now covers out-of-core fitting and the Polars 2 requirement, and the polars floor comment matches the requirement. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FsfCCsg5iwEbDuxnFqiQoB
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.
Summary
Fixes what stood between
mainand a 0.10.0 release. #38 is merged but unreleased. This PR doesn't bump the version; the Release workflow does that.rustystats.exceptions, soexcept rs.MemoryPlanExceededErrorraisedAttributeError. They're now exported like the older ones.from_byteslostfit_mode,passes,solver_settings,solver_traceand the memory plan. They now surviveto_bytes, stored as plain values with no schema bump. Older payloads read as in-memory fits. A loaded out-of-core model now refusesrelevelandfit_diagnostics, as a fresh one does.CHANGELOG.mdwith the 0.10.0 notes, including the behaviour changes from feat: out-of-core GLM fitting, bitwise identical to the in-memory fit #38. The docs' Release Notes page was blank because that file didn't exist. Real releases now put the version's section above GitHub's generated notes.dry_run. It only skipped the PyPI upload: it still pushed the version commit and tag and created a GitHub Release. It now builds from the commit it runs on and stops there, so dry-run artifacts carry that commit's version.varianceandderivativewithvariance_atandderivative_at, so the two Rust targets' snippets no longer existed and Scored deterministic mutation failed as invalid. They now point at the new functions.log,expandsqrtand showed a compound BMI formula, none of which parse: an expression is one operation. The README gains an out-of-core section and the Polars 2 requirement, and the polars comment inpyproject.tomlnow matches the requirement.specs/roadmap/bug.md. The bug itself is fixed. Out-of-range scoring and a post-fit monotonicity check are still open.Verification
In a clean clone with these changes:
pytest tests/python: 2,705 passed, 2 skipped, 97.49% coverage, module thresholds pass.mkdocs buildpass. The Release Notes page renders.Deep assurance on current
main(run 42483320568): 14 of 15 jobs pass. The one failure is the mutation gate fixed here.After merge
0.10.0.mod-m01-chunked-glm: pinrustystats>=0.10.0,<0.11, remove[tool.uv.sources], runuv lock.🤖 Generated with Claude Code
https://claude.ai/code/session_01FsfCCsg5iwEbDuxnFqiQoB