-
Notifications
You must be signed in to change notification settings - Fork 199
Reuse npse_trained_model fixure for test_npse_map #1461
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
Open
vagechirkov
wants to merge
55
commits into
sbi-dev:main
Choose a base branch
from
vagechirkov:speed-up-tests-with-fixtures
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
f74511a
reuse npse_trained_model fixure for test_npse_map
vagechirkov f59a023
fix: sde_type and prior_type are now the part of the trained model fi…
vagechirkov b0c506d
formatting: shorten the parametrize mark
vagechirkov 5fdb087
enh: mark default as NOT slow
vagechirkov 607fce0
enh: clean up tests
vagechirkov c363126
chore: add syrupy dependency for snapshot testing, add snapshot test …
schroedk 893810c
WIP: pytest_cases spike
schroedk 8c3cc25
Update snapshots
schroedk 8cc1ed0
refactor npse tests
schroedk d6341db
Update num_simulations and num_samples for slow version of tests
schroedk cbd35d1
WIP
schroedk c4dfceb
Snapshot list of floats instead of tensor object
schroedk 43a8778
Increase numbers in snapshot test
schroedk 422bbe4
Merge branch 'sbi-dev:main' into speed-up-tests-with-fixtures
schroedk 0a9803c
refactor sampling test parameters handling
vagechirkov ba2fb41
Merge branch 'speed-up-tests-with-fixtures' into handle-combinations
vagechirkov 802aec4
Merge pull request #2 from vagechirkov/handle-combinations
vagechirkov d4c886f
Restrict snapshot test to gaussian prior
schroedk f6b517d
clean up x_o
vagechirkov 59d56d2
Add snapshot tests in a separate file
schroedk f42e776
Skip not working test
schroedk df39484
WIP: DO NOT MERGE!!!: simplify test run in ci for faster iteration
schroedk dfa60ad
Transform tensor to list
schroedk 1186823
Add *.npz files to LFS
schroedk f2e5a8e
replace inference.build_posterior with ScorePosterior
vagechirkov 293f91a
Add pytests-regressions to dev dependencies
schroedk 629196e
Use ndarrays_regression to check the output of the test_npse_snapshot…
schroedk d6efca6
Update .gitattributes
schroedk e562c8a
Add pytest-regression snapshot files
schroedk 5c354de
Merge remote-tracking branch 'origin/speed-up-tests-with-fixtures' in…
schroedk 76d23dd
Enable lfs in ci checkout step
schroedk 0e21be0
Update test runtime file
schroedk 3869a2b
Remove the tolerance from the snapshot test
schroedk f0e23fd
Set tolerance for snapshot test in test_snapshot.py
schroedk 44f7b91
Increase tolerance for snapshot test in test_snapshot.py
schroedk 72b9c64
Reduce number of steps in sampling, reduce number of simulations in s…
schroedk 1efac10
Update test run times
schroedk f88ffab
Update snapshots
schroedk a721184
Revert "WIP: DO NOT MERGE!!!: simplify test run in ci for faster iter…
schroedk d74399f
refactor helper functions
vagechirkov 7350ccf
run snapshot on 1 trial
vagechirkov d23c96f
timeout tests that are taking more than 60s to run
vagechirkov 2fc2925
files for snapshot tests
vagechirkov 830f553
Remove obsolete snapshot file
schroedk ad53690
Add configurable data directories for regression tests, mirror test f…
schroedk a6f761b
Delete obsolete regression files from the repository
schroedk a3fbef2
Move .test_duration to git lfs
schroedk 3cc04f9
Refactor linearGaussian_npse_test.py:
schroedk 67ae45a
Add regression files for npse snapshots
schroedk 50187ce
Remove obsolete test file
schroedk fd97749
Exclude cases from regression tests, which show non-determinism
schroedk ade4b06
Remove syrupy dependency
schroedk 0e9d4e6
Add .gitignore to __regressions__ directory
schroedk 2e46877
Make dataclasses frozen to ensure consistent hash and equality evalua…
schroedk 7276ad4
Refactor npse tests:
schroedk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.