Skip to content

Improve Bayesian posterior displays and DREAM CLI robustness#174

Merged
AndrewSazonov merged 17 commits into
developfrom
misc2
May 15, 2026
Merged

Improve Bayesian posterior displays and DREAM CLI robustness#174
AndrewSazonov merged 17 commits into
developfrom
misc2

Conversation

@AndrewSazonov
Copy link
Copy Markdown
Member

Adds ASCII posterior distribution/predictive displays, terminal-width ASCII plot resampling, and no-arg posterior distribution plotting for all free parameters. Improves posterior pair marginals by using full samples, guards DREAM multiprocessing in spawn-based direct scripts, removes unused dependencies, and updates Bayesian docs/tutorials.

@AndrewSazonov AndrewSazonov added the [scope] enhancement Adds/improves features (major.MINOR.patch) label May 15, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 15, 2026

Codecov Report

❌ Patch coverage is 82.25806% with 22 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.43%. Comparing base (2d759a9) to head (c065cd5).

Files with missing lines Patch % Lines
src/easydiffraction/display/plotting.py 63.26% 10 Missing and 8 partials ⚠️
...easydiffraction/analysis/minimizers/bumps_dream.py 88.57% 2 Missing and 2 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #174      +/-   ##
===========================================
+ Coverage    86.37%   86.43%   +0.06%     
===========================================
  Files          159      159              
  Lines        12451    12549      +98     
  Branches      1442     1463      +21     
===========================================
+ Hits         10754    10847      +93     
- Misses        1176     1177       +1     
- Partials       521      525       +4     
Flag Coverage Δ
integration 70.34% <55.64%> (-0.09%) ⬇️
unittests 78.34% <66.93%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...c/easydiffraction/analysis/fit_helpers/tracking.py 93.93% <100.00%> (+0.01%) ⬆️
src/easydiffraction/display/plotters/ascii.py 83.92% <100.00%> (+4.15%) ⬆️
src/easydiffraction/display/plotters/base.py 96.82% <ø> (ø)
src/easydiffraction/display/plotters/plotly.py 83.00% <ø> (ø)
src/easydiffraction/project/display.py 73.49% <100.00%> (+1.10%) ⬆️
src/easydiffraction/utils/logging.py 77.77% <100.00%> (ø)
...easydiffraction/analysis/minimizers/bumps_dream.py 93.77% <88.57%> (-0.47%) ⬇️
src/easydiffraction/display/plotting.py 72.40% <63.26%> (+0.41%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@AndrewSazonov AndrewSazonov merged commit 1a94b59 into develop May 15, 2026
34 of 36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[scope] enhancement Adds/improves features (major.MINOR.patch)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant