Repository navigation
chore: stamp the 0.6.16 release notes - #488
Merged
Merged
Conversation
0.6.16 has not been published to crates.io yet, so the [Unreleased] section is folded into the existing 0.6.16 entry instead of opening a new version. Covers #475, #478, #481, #482, #485. All release gates verified locally: - cargo test --all-features (614 unit + 73 doctests, 0 failed) - cargo fmt --all -- --check - cargo clippy --all-features (2018+2024 idioms, -Dwarnings) - cargo +1.85.0 build --all-features (MSRV) - cargo package (146 files, 2.1MiB)
The LLVM coverage engine instruments the whole serial test run (--test-threads 1). On a slow shared runner the instrumented run could exceed tarpaulin's default 60 s per-binary timeout; observed as 'Timed out waiting for test response' while test_logit (a 52181x94 logistic-regression fit) was running. Two changes: - test_logit now uses a 10000x94 matrix with the same class ratio (418 of 10000 positive). The test asserts the same property and finishes in ~0.5 s instead of ~3.5 s. - The coverage job builds in release mode (--release) and raises the tarpaulin timeout to 600 s.
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.
Checklist
Current behaviour
0.6.16is stamped inCargo.tomland has aCHANGELOG.mdsection, but the version was never published to crates.io. Five merged PRs (#475, #478, #481, #482/#483, #485) sit in[Unreleased]or have no entry at all. Separately, the coverage job flaked: the LLVM-instrumented serial run exceeded tarpaulin's default 60 s per-binary timeout whiletest_logit(a 52181x94 logistic-regression fit) was running.New expected behaviour
The
[Unreleased]section is folded into the existing## [0.6.16]entry, so the pending patch release ships with complete notes.Cargo.tomlstays at0.6.16. The coverage job now builds in release mode with a 600 s tarpaulin timeout, andtest_logituses a 10000x94 matrix with the same class ratio (418 of 10000 positive) — it finishes in ~0.5 s locally.Release gates verified locally:
cargo test --all-features— 614 unit + 73 doctests, 0 failedcargo fmt --all -- --checkcargo clippy --all-features -- -Drust-2018-idioms -Drust-2024-compatibility -Dwarningscargo +1.85.0 build --all-features(MSRV)cargo package— 146 files, 2.1 MiBNo public-API or serde changes since
v0.6.15(checkedgit diff v0.6.15..HEAD -- src/), so0.6.16stays a valid patch release.Change logs
Changed
CHANGELOG.md: 0.6.16 section now also lists Give each tree its own seed in random forest regressor/classifier #475 (per-tree forest seeds), Match sklearn sample weights #478 (sklearn-matching sample weights), Make base_tree_regressor faster #481 (fasterBaseTreeRegressor) and ci: use LLVM instrumentation for coverage #485 (CI coverage on the LLVM engine), next to the existingpredictmethod onDecisionTreeRegressorpanics when tree is not fit #469/Decision tree panic #470, fix(knn): accept k=1 in KNNClassifier #476 and ndarray from_iterator panics on rectangular column-major input #482 entries.src/linear/logistic_regression.rs:test_logitfixture reduced from 52181x94 to 10000x94, same class ratio, same assertion..github/workflows/coverage.yml: tarpaulin runs with--releaseand--timeout 600.