Skip to content

Improve unit tests#45

Merged
robin-janssen merged 22 commits intomainfrom
improve-unit-tests
Jul 28, 2025
Merged

Improve unit tests#45
robin-janssen merged 22 commits intomainfrom
improve-unit-tests

Conversation

@robin-janssen
Copy link
Copy Markdown
Collaborator

Improved unit tests to increase coverage and reflect changes in surrogate model structure

@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 28, 2025

Codecov Report

❌ Patch coverage is 78.94737% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
codes/utils/data_utils.py 0.00% 3 Missing ⚠️
codes/tune/optuna_fcts.py 0.00% 1 Missing ⚠️
Files with missing lines Coverage Δ
codes/benchmark/bench_fcts.py 46.01% <ø> (+39.26%) ⬆️
codes/surrogates/DeepONet/deeponet.py 90.15% <100.00%> (+2.45%) ⬆️
codes/surrogates/FCNN/fcnn.py 91.89% <100.00%> (+0.22%) ⬆️
...es/surrogates/LatentNeuralODE/latent_neural_ode.py 76.59% <100.00%> (+0.30%) ⬆️
codes/surrogates/LatentPolynomial/latent_poly.py 74.86% <100.00%> (+0.41%) ⬆️
codes/tune/optuna_fcts.py 79.37% <0.00%> (+65.08%) ⬆️
codes/utils/data_utils.py 58.04% <0.00%> (+49.80%) ⬆️

... and 14 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@robin-janssen robin-janssen merged commit 0a6dfc4 into main Jul 28, 2025
3 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.

1 participant