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

Speedup test for WSCC9BusSystem #450

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

lisawim
Copy link
Collaborator

@lisawim lisawim commented Jun 27, 2024

The current test test_WSCC9_SDC_detection takes quite long time to run. When I wrote this test the intention was to prove the SwitchEstimator since at this time there was no test available. However, with #404 this has changed. The detection in this large power system is really expensive and testing this in the CI pipeline is probably not really necessary since

  1. there are already some tests testing the dynamics of the power system in test_problems.py,
  2. in the PinTSimE project there is already a file where we investigated the behavior when the SE is applied to the power system, although only plots are studied.

Thus I decided to change the test by removing the detection part and only testing the get_switching_info method of the problem class.

What do you think about that?

Copy link

codecov bot commented Jun 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.83%. Comparing base (18989d3) to head (27aad76).
Report is 30 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #450      +/-   ##
==========================================
+ Coverage   77.38%   77.83%   +0.44%     
==========================================
  Files         327      332       +5     
  Lines       26085    25843     -242     
==========================================
- Hits        20187    20114      -73     
+ Misses       5898     5729     -169     

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

@pancetta pancetta merged commit af20147 into Parallel-in-Time:master Jun 27, 2024
86 checks passed
brownbaerchen pushed a commit to brownbaerchen/pySDC that referenced this pull request Jun 28, 2024
…n-Time#450)

#!!!!!!!!!! WARNING: FLAKEHEAVEN FAILED !!!!!!!!!!: 

#/Users/thomasbaumann/Documents/pySDC/pySDC/projects/DAE/tests/test_problems.py:2:1: F401 'warnings' imported but unused
#/Users/thomasbaumann/Documents/pySDC/pySDC/projects/DAE/tests/test_problems.py:319:121: E501 line too long (124 > 120 characters)
#/Users/thomasbaumann/Documents/pySDC/pySDC/projects/DAE/tests/test_problems.py:349:121: E501 line too long (132 > 120 characters)
#/Users/thomasbaumann/Documents/pySDC/pySDC/projects/DAE/tests/test_problems.py:361:121: E501 line too long (147 > 120 characters)
#/Users/thomasbaumann/Documents/pySDC/pySDC/projects/DAE/tests/test_problems.py:622:5: F401 'pySDC.helpers.stats_helper.get_sorted' imported but unused
#/Users/thomasbaumann/Documents/pySDC/pySDC/projects/DAE/tests/test_problems.py:673:29: F541 f-string is missing placeholders
#/Users/thomasbaumann/Documents/pySDC/pySDC/projects/DAE/tests/test_problems.py:676:25: F541 f-string is missing placeholders:
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.

2 participants