Skip to content

fix: prepare the 0.10.0 release - #39

Merged
PricingFrontier merged 6 commits into
mainfrom
docs/roadmap-bug-notes
Nov 8, 2026
Merged

PricingFrontier merged 6 commits into
mainfrom
docs/roadmap-bug-notes

Conversation

@PricingFrontier

Copy link
Copy Markdown
Owner

Summary

Fixes what stood between main and a 0.10.0 release. #38 is merged but unreleased. This PR doesn't bump the version; the Release workflow does that.

  • Exceptions. The eight exception classes added with feat: out-of-core GLM fitting, bitwise identical to the in-memory fit #38 could only be imported from rustystats.exceptions, so except rs.MemoryPlanExceededError raised AttributeError. They're now exported like the older ones.
  • Loaded models. from_bytes lost fit_mode, passes, solver_settings, solver_trace and the memory plan. They now survive to_bytes, stored as plain values with no schema bump. Older payloads read as in-memory fits. A loaded out-of-core model now refuses relevel and fit_diagnostics, as a fresh one does.
  • Release notes. Adds CHANGELOG.md with 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.
  • Release 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.
  • Mutation gate. feat: out-of-core GLM fitting, bitwise identical to the in-memory fit #38 replaced the array-level variance and derivative with variance_at and derivative_at, so the two Rust targets' snippets no longer existed and Scored deterministic mutation failed as invalid. They now point at the new functions.
  • Docs. The expression docs listed log, exp and sqrt and 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 in pyproject.toml now matches the requirement.
  • Roadmap. Adds the monotone interaction notes as 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.
  • Scored mutation: Python 2/2 and Rust 2/2 killed.
  • ruff 0.15.14, actionlint and mkdocs build pass. The Release Notes page renders.
  • Models written by the published 0.9.0 load on this build and the reverse, with the same predictions.
  • The README's out-of-core example runs as written.

Deep assurance on current main (run 42483320568): 14 of 15 jobs pass. The one failure is the mutation gate fixed here.

After merge

  1. Run Release with version 0.10.0.
  2. Update Haute on mod-m01-chunked-glm: pin rustystats>=0.10.0,<0.11, remove [tool.uv.sources], run uv lock.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FsfCCsg5iwEbDuxnFqiQoB

PricingFrontier and others added 6 commits November 8, 2026 13:31
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
@PricingFrontier
PricingFrontier merged commit 5c535d3 into main Nov 8, 2026
27 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