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

Simplifies isolation mechanisms #224

Merged
merged 15 commits into from
Aug 2, 2024
Merged

Conversation

miguelgondu
Copy link
Collaborator

@miguelgondu miguelgondu commented Jul 25, 2024

This PR removes register_problem and everything associated with it.

(Closes #211 )

@miguelgondu miguelgondu changed the title [WIP] Unifies and simplifies isolation mechanisms Unifies and simplifies isolation mechanisms Jul 25, 2024
@miguelgondu miguelgondu changed the title Unifies and simplifies isolation mechanisms Simplifies isolation mechanisms Jul 25, 2024
@miguelgondu miguelgondu marked this pull request as ready for review July 25, 2024 20:59
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these MlFlow observer changes new? Why do they pop up under the problem registration refactor?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They were actually supposed to take place in the observer refactoring, but we forgot.

pyproject.toml Outdated
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 Seems like a reasonable exclusion list.

quiet=quiet,
**kwargs_for_factory,
)
# if not force_isolation:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a point in cleaning up this block? Or is this temporary?

# evaluation_budget=evaluation_budget,
# quiet=quiet,
# **kwargs_for_factory,
# )
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

End of comment block.

# it might be because you forgot to register your problem
# factory and black box inside the __init__.py file of
# the objective_repository. Remember that you need to add
# them to AVAILABLE_PROBLEM_FACTORIES and AVAILABLE_BLACK_BOXES.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Helpful comment:)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where did this one go? Or do we not want the basic examples anymore?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't tested the logic of these changes (yet), I'm only acknowledging that I am aware of the changes to the registry.

Copy link
Collaborator

@RMichae1 RMichae1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See minor comments.
The updated changes are indeed better digestible.

@miguelgondu miguelgondu merged commit 9261a9d into dev Aug 2, 2024
6 checks passed
@miguelgondu miguelgondu deleted the fix-cleans-problem-registration branch August 2, 2024 06:53
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.

Inconsistent Problem Registration and Isolation Management
2 participants