Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## sampler-engine-structure-280 #305 +/- ##
================================================================
- Coverage 83.82% 83.66% -0.16%
================================================================
Files 68 68
Lines 5348 5272 -76
================================================================
- Hits 4483 4411 -72
+ Misses 865 861 -4
Flags with carried forward coverage won't be shown. Click here to find out more.
|
damskii9992
left a comment
There was a problem hiding this comment.
Small comments only, otherwise it looks good to me.
| fit_objects: list | None = None, | ||
| fit_functions: list[Callable] | None = None, |
There was a problem hiding this comment.
Should this be typehinted as sequence, since we support any sequence?
There was a problem hiding this comment.
Yes. And more. We have to properly initialize fit_objects and fit_functions, otherwise the code will crash on the subsequent indexing... oops. Fixed.
There was a problem hiding this comment.
You still didn't change the typehint lol.
There was a problem hiding this comment.
What do you mean I didn't... I just did! Now.
This pull request replaces the deprecated
CollectionBasecontainer with the newEasyListfor aggregating fit objects inMultiFitter.