Skip to content

Improve live fitting feedback and posterior uncertainty displays#173

Merged
AndrewSazonov merged 16 commits into
developfrom
progress-indicator
May 15, 2026
Merged

Improve live fitting feedback and posterior uncertainty displays#173
AndrewSazonov merged 16 commits into
developfrom
progress-indicator

Conversation

@AndrewSazonov
Copy link
Copy Markdown
Member

Add a shared activity indicator for standard, sequential, and Bayesian fitting in terminal and Jupyter, keep fit progress visible during long plateaus, harden cleanup on solver failures, and standardize posterior uncertainty wording to 95% credible interval.

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

codecov Bot commented May 14, 2026

Codecov Report

❌ Patch coverage is 81.64384% with 67 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.37%. Comparing base (a6e8099) to head (d340581).

Files with missing lines Patch % Lines
src/easydiffraction/display/progress.py 72.68% 37 Missing and 16 partials ⚠️
src/easydiffraction/analysis/sequential.py 66.66% 6 Missing and 1 partial ⚠️
...c/easydiffraction/analysis/fit_helpers/tracking.py 95.60% 2 Missing and 2 partials ⚠️
src/easydiffraction/project/display.py 81.81% 2 Missing ⚠️
src/easydiffraction/display/tablers/pandas.py 85.71% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #173      +/-   ##
===========================================
+ Coverage    86.32%   86.37%   +0.04%     
===========================================
  Files          158      159       +1     
  Lines        12179    12451     +272     
  Branches      1400     1442      +42     
===========================================
+ Hits         10513    10754     +241     
- Misses        1155     1176      +21     
- Partials       511      521      +10     
Flag Coverage Δ
integration 70.42% <63.83%> (-0.27%) ⬇️
unittests 78.35% <73.69%> (+0.27%) ⬆️

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

Files with missing lines Coverage Δ
src/easydiffraction/analysis/analysis.py 90.75% <100.00%> (+3.75%) ⬆️
src/easydiffraction/display/plotters/plotly.py 83.00% <ø> (ø)
src/easydiffraction/display/plotting.py 71.99% <100.00%> (-0.04%) ⬇️
src/easydiffraction/display/tablers/base.py 94.59% <100.00%> (+0.30%) ⬆️
src/easydiffraction/display/tablers/rich.py 70.37% <100.00%> (-7.41%) ⬇️
src/easydiffraction/display/tables.py 79.66% <100.00%> (+2.73%) ⬆️
src/easydiffraction/utils/utils.py 96.12% <100.00%> (+0.06%) ⬆️
src/easydiffraction/display/tablers/pandas.py 67.64% <85.71%> (+4.15%) ⬆️
src/easydiffraction/project/display.py 72.38% <81.81%> (+0.40%) ⬆️
...c/easydiffraction/analysis/fit_helpers/tracking.py 93.91% <95.60%> (+3.81%) ⬆️
... and 2 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@AndrewSazonov AndrewSazonov merged commit 2d759a9 into develop May 15, 2026
35 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