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 save load functionality, test and tutorial #616

Merged
merged 4 commits into from
Dec 31, 2024
Merged

Conversation

AlexanderFengler
Copy link
Collaborator

No description provided.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 9 out of 10 changed files in this pull request and generated 2 comments.

Files not reviewed (1)
  • pyproject.toml: Evaluated as low risk
Comments suppressed due to low confidence (3)

tests/test_save_load.py:43

  • Remove the print statements as they are not necessary for the test and can clutter the output.
print("Saving model and mcmc traces, no vi")

tests/test_save_load.py:77

  • Remove the print statements as they are not necessary for the test and can clutter the output.
print("Saving idata only")

tests/test_save_load.py:97

  • Remove the print statements as they are not necessary for the test and can clutter the output.
print("Saving model with vi traces, no mcmc traces")

tests/test_save_load.py Outdated Show resolved Hide resolved
src/hssm/hssm.py Outdated Show resolved Hide resolved
Copy link

codecov bot commented Dec 29, 2024

Codecov Report

Attention: Patch coverage is 87.94326% with 17 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/hssm/hssm.py 79.51% 17 Missing ⚠️
Files with missing lines Coverage Δ
tests/conftest.py 93.90% <100.00%> (+0.39%) ⬆️
tests/test_save_load.py 100.00% <100.00%> (ø)
src/hssm/hssm.py 77.53% <79.51%> (+1.02%) ⬆️

... and 2 files with indirect coverage changes

@AlexanderFengler AlexanderFengler merged commit 8fd9584 into main Dec 31, 2024
10 of 11 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