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

(Much) Faster tests 🐎 #391

Merged
merged 7 commits into from
Aug 14, 2023
Merged

(Much) Faster tests 🐎 #391

merged 7 commits into from
Aug 14, 2023

Conversation

Jacob-Stevens-Haas
Copy link
Collaborator

See #320

* Shrink test data
* set very accepting relative tolerance in integration
As these just assert that a model is fitted, we can trim excess work:
* shrink lorenz test data
* remove duplicate lines
* no separate test needed for normalize_columns (only handled in BaseOptimizer)
Also test just the optimizer, not the whole SINDy pipeline
Cuts this test duration, previously the longest, by 95%
@Jacob-Stevens-Haas Jacob-Stevens-Haas marked this pull request as draft August 9, 2023 00:53
@codecov
Copy link

codecov bot commented Aug 9, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.14% ⚠️

Comparison is base (a5dfc4a) 93.87% compared to head (5b774d6) 93.73%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #391      +/-   ##
==========================================
- Coverage   93.87%   93.73%   -0.14%     
==========================================
  Files          37       37              
  Lines        3590     3590              
==========================================
- Hits         3370     3365       -5     
- Misses        220      225       +5     

see 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Jacob-Stevens-Haas Jacob-Stevens-Haas marked this pull request as ready for review August 14, 2023 23:33
@Jacob-Stevens-Haas Jacob-Stevens-Haas merged commit ec8b34c into master Aug 14, 2023
4 of 6 checks passed
@Jacob-Stevens-Haas Jacob-Stevens-Haas deleted the faster-tests branch August 14, 2023 23:49
@Jacob-Stevens-Haas Jacob-Stevens-Haas restored the faster-tests branch August 14, 2023 23:49
jpcurbelo pushed a commit to jpcurbelo/pysindy_fork that referenced this pull request Apr 30, 2024
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.

None yet

1 participant