-
Notifications
You must be signed in to change notification settings - Fork 9
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
959 Add more tests for various load models Part 1 #1001
Conversation
38b2f54
to
3083f9b
Compare
Codecov Report
@@ Coverage Diff @@
## develop #1001 +/- ##
===========================================
+ Coverage 77.54% 77.62% +0.08%
===========================================
Files 656 666 +10
Lines 25390 25554 +164
===========================================
+ Hits 19688 19836 +148
- Misses 5702 5718 +16
|
1f59b28
to
0f13dbc
Compare
tests/unit/collection/test_model_persistence_median_last_n.extended.cc
Outdated
Show resolved
Hide resolved
d0ed839
to
3ed5cc0
Compare
a865040
to
8840f33
Compare
tests/unit/collection/test_model_persistence_median_last_n.extended.cc
Outdated
Show resolved
Hide resolved
tests/unit/collection/test_model_persistence_median_last_n.extended.cc
Outdated
Show resolved
Hide resolved
7fa23ec
to
0a0ab17
Compare
0a0ab17
to
423ecc1
Compare
tests/unit/collection/test_model_persistence_median_last_n.nompi.cc
Outdated
Show resolved
Hide resolved
@JacobDomagala could we finish this PR and merge it, and have you open and address issues for the remaining model classes separately? I have some somewhat urgent changes to make on #995 that I'm building on top of this branch. The only thing I'd ask to have added here before we go ahead with the merging is the fix for the defect you spotted in the |
…x ComposedModel::getNumCompletedPhases()
… isolated from dependencies
…ted from dependencies
e6caf84
to
1ca4c6b
Compare
Here is an overview of what got changed by this pull request: Clones added
============
- tests/unit/collection/test_model_multiple_phases.nompi.cc 6
- tests/unit/collection/test_model_persistence_median_last_n.nompi.cc 8
- tests/unit/collection/test_model_linear_model.nompi.cc 8
- tests/unit/collection/test_model_naive_persistence.nompi.cc 4
See the complete overview on Codacy |
std::make_pair(TimeType{35}, TimeType{110}), // iter 1 results | ||
std::make_pair(TimeType{60}, TimeType{70}), // iter 2 results | ||
std::make_pair(TimeType{24.5}, TimeType{65}), // iter 3 results | ||
std::make_pair(TimeType{46}, TimeType{-5}), // iter 4 results |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This raises an interesting question of whether the linear model should be changed to clamp its result to be >= 0
, since negative loads don't really make sense. We can consider that later, though,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Part 1
List of Load Models to be tested:
Following will be covered in Part 2: