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

fix: [automl] config oracle edge cases #4327

Merged
merged 10 commits into from
Dec 16, 2022
Merged

fix: [automl] config oracle edge cases #4327

merged 10 commits into from
Dec 16, 2022

Conversation

lalo
Copy link
Collaborator

@lalo lalo commented Dec 12, 2022

No description provided.

@lalo lalo requested a review from bassmang December 12, 2022 20:28
@@ -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; }
Copy link
Member

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

Copy link
Collaborator Author

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

Copy link
Collaborator Author

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

Copy link
Collaborator Author

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

@lalo lalo enabled auto-merge (squash) December 16, 2022 17:08
@lalo lalo merged commit 5f73501 into master Dec 16, 2022
@lalo lalo deleted the oracfix branch March 3, 2023 18:49
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