Skip to content

fix: surface CHRR rounding non-convergence through randomSampling - #687

Merged
edkerk merged 1 commit into
develop3from
fix/chrr-convergence-warning
Jul 17, 2026
Merged

fix: surface CHRR rounding non-convergence through randomSampling#687
edkerk merged 1 commit into
develop3from
fix/chrr-convergence-warning

Conversation

@edkerk

@edkerk edkerk commented Jul 17, 2026

Copy link
Copy Markdown
Member

Main improvements in this PR:

  • fix:
    • sampleCHRR computed mveConverged but never warned when the maximum-volume ellipsoid rounding failed to converge, and randomSampling discarded it (single output), so sampling via randomSampling(...,'method','chrr') gave no signal that the samples might be poorly mixed. sampleCHRR now warns on non-convergence, and randomSampling returns the CHRR info as a third output.
  • documentation:
    • Test in tSampling.m that info is reachable through randomSampling.

Instructions on merging this PR:

  • This PR has develop3 as target branch, and will be resolved with a squash-merge.

sampleCHRR computed info.mveConverged but never warned when the
maximum-volume ellipsoid rounding failed to converge, and randomSampling
called sampleCHRR with a single output, so the diagnostic was unreachable
through the documented entry point: a user sampling via
randomSampling(...,'method','chrr') got no signal that the samples might be
poorly mixed. sampleCHRR now warns on non-convergence, and randomSampling
returns the CHRR info as a third output.
@github-actions

Copy link
Copy Markdown

Function test results

291 tests   265 ✅  1m 9s ⏱️
 25 suites   26 💤
  1 files      0 ❌

Results for commit 29e29f6.

@edkerk
edkerk merged commit efdeaa8 into develop3 Jul 17, 2026
4 checks passed
@edkerk
edkerk deleted the fix/chrr-convergence-warning branch July 17, 2026 20:25
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