Skip to content

BUG: Preserve array-like sample weights in EMC bootstraps - #607

Merged
mherde merged 1 commit into
scikit-activeml:developmentfrom
AryanRG:wave185-sample-alignment
Nov 12, 2026
Merged

mherde merged 1 commit into
scikit-activeml:developmentfrom
AryanRG:wave185-sample-alignment

Conversation

@AryanRG

@AryanRG AryanRG commented Nov 7, 2026

Copy link
Copy Markdown

Closes #606

Additional context

Keep the validated weight array returned by check_X_y for bootstrap indexing. This fixes list/tuple inputs and keeps indexed Series weights aligned with sample positions.

Added public-query coverage for both fit_reg modes and extended bootstrap alignment tests. The changed modules pass 96 tests with 100% statement coverage for the production module. Black and flake8 pass.

The pool run had 1,608 passes and two failures also observed on unchanged development. Independent reruns reproduced ContrastiveAL’s failure. UncertaintySampling passed on both revisions in those reruns. Full-project tests, documentation builds and other dependency profiles remain pending.

Prepared with AI assistance.

@mherde mherde left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks for your contribution, which looks fine to me!

@mherde
mherde merged commit 36bd609 into scikit-activeml:development Nov 12, 2026
35 of 72 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.

2 participants