Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add VR calculation on results #15

Merged
merged 3 commits into from
Dec 12, 2023
Merged

Conversation

adamchengtkc
Copy link
Collaborator

No description provided.

@adamchengtkc adamchengtkc merged commit 240758b into main Dec 12, 2023
Copy link

github-actions bot commented Dec 12, 2023

✅ Result of Pytest Coverage

---------- coverage: platform linux, python 3.10.13-final-0 ----------

Name Stmts Miss Cover
warmth/init.py 3 0 100%
warmth/build.py 460 99 78%
warmth/data.py 1 0 100%
warmth/forward_modelling.py 703 78 89%
warmth/logging.py 7 3 57%
warmth/mesh_model.py 962 962 0%
warmth/mesh_utils.py 167 167 0%
warmth/model.py 41 18 56%
warmth/parameters.py 270 45 83%
warmth/postprocessing.py 292 172 41%
warmth/resqpy_helpers.py 196 196 0%
warmth/simulator.py 167 43 74%
warmth/utils.py 22 4 82%
TOTAL 3291 1787 46%
=========================== short test summary
FAILED tests/test_builder.py::test_results - AssertionError:
Arrays are not almost
Mismatched elements: 4 /
Max absolute difference: 0.0526
Max relative difference: 0.11756817
undefined x: array([ nan,
undefined y: array([ nan,
FAILED tests/test_integration.py::test_integration_single_rift - AssertionError:
Arrays are not almost
Mismatched elements: 54241 /
Max absolute difference: 203.27415552
Max relative difference: 0.19907862
undefined x: array([[ nan,
undefined [ 5. ,
undefined [ 8.5 ,
undefined y: array([[ nan,
undefined [ 5. ,
undefined [ 8.46, 8.46,
FAILED tests/test_integration.py::test_integration_multi_rift - AssertionError:
Arrays are not almost
Mismatched elements: 53278 /
Max absolute difference: 139.78340498
Max relative difference: 0.12386042
undefined x: array([[ nan,
undefined [ 5. ,
undefined [ 9.09, 9.09,
undefined y: array([[ nan,
undefined [ 5. ,
undefined [ 8.71, 8.71,
================== 3 failed, 8

@adamchengtkc adamchengtkc deleted the subsheat3D/test_from_grids branch December 19, 2023 13:35
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