-
Notifications
You must be signed in to change notification settings - Fork 64
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
[ML] Refactor initialization of the bucket gatherer #2844
[ML] Refactor initialization of the bucket gatherer #2844
Conversation
75fd9a3
to
94f2efe
Compare
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.
Copilot reviewed 3 out of 22 changed files in this pull request and generated no comments.
Files not reviewed (19)
- include/model/CBucketGatherer.h: Language not supported
- include/model/CDataGatherer.h: Language not supported
- include/model/CEventRateBucketGatherer.h: Language not supported
- include/model/CMetricBucketGatherer.h: Language not supported
- include/model/CModelFactory.h: Language not supported
- lib/model/CBucketGatherer.cc: Language not supported
- lib/model/CCountingModelFactory.cc: Language not supported
- lib/model/CDataGatherer.cc: Language not supported
- lib/model/CEventRateBucketGatherer.cc: Language not supported
- lib/model/CEventRateModelFactory.cc: Language not supported
- lib/model/CEventRatePopulationModelFactory.cc: Language not supported
- lib/model/CMetricBucketGatherer.cc: Language not supported
- lib/model/CMetricModelFactory.cc: Language not supported
- lib/model/CMetricPopulationModelFactory.cc: Language not supported
- lib/model/CModelFactory.cc: Language not supported
- lib/model/unittest/CEventRateDataGathererTest.cc: Language not supported
- lib/model/unittest/CEventRatePopulationDataGathererTest.cc: Language not supported
- lib/model/unittest/CHierarchicalResultsTest.cc: Language not supported
- lib/model/unittest/CMetricDataGathererTest.cc: Language not supported
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.
LGTM
|
This is a purely refactoring PR. It introduces a parameter initialization object for the bucket gatherer to reduce the constructor signature and simplify future code extensions.
I also added
-modernize-use-ranges
to the clang-tidy rules because Clang 14 does not support range algorithms.