Skip to content

Conversation

@Kucharssim
Copy link
Member

Adds tests for model comparison diagnostics (mentioned in #335 (comment))

Also moved expected_calibration_error() into diagnostics.metrics and made the interface a little bit more consistent with the new style.

@codecov-commenter
Copy link

codecov-commenter commented Feb 24, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Files with missing lines Coverage Δ
bayesflow/diagnostics/metrics/__init__.py 100.00% <100.00%> (ø)
.../diagnostics/metrics/expected_calibration_error.py 100.00% <100.00%> (ø)
bayesflow/diagnostics/plots/mc_calibration.py 100.00% <100.00%> (+77.27%) ⬆️
bayesflow/utils/__init__.py 100.00% <ø> (ø)

... and 1 file with indirect coverage changes

@paul-buerkner
Copy link
Contributor

Looks great! Thank you!

@paul-buerkner paul-buerkner merged commit 5ac7c99 into bayesflow-org:dev Feb 24, 2025
13 checks passed
@Kucharssim Kucharssim deleted the tests-model-comparison-diagnostics branch March 11, 2025 07:59
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.

3 participants