-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
fix: [automl] config oracle edge cases #4327
Conversation
@@ -187,6 +187,9 @@ void config_oracle<oracle_impl>::insert_config(set_ns_list_t&& new_elements, | |||
void oracle_rand_impl::gen_ns_groupings_at(const std::string& interaction_type, | |||
const interaction_vec_t& champ_interactions, const size_t, set_ns_list_t& new_elements, config_type) | |||
{ | |||
// If champ has no interactions, we can't generate any new configs. | |||
if (champ_interactions.empty()) { return; } |
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.
What's the point of this? If the champ has no interactions, we should still be able to generate new configs with additional namespaces, namely when the champ is initiated with no interactions
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 would only be empty if you are excluding all the namespaces, so you don't have anything else to add to be excluded
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 is only for the random impl
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.
not longer applies, see latest
No description provided.