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: remove removal of predicate from heap + adding restoration of key to heap #136

Closed
wants to merge 3 commits into from

Conversation

ImkoMarijnissen
Copy link
Contributor

There were two issues with autonomous search which are addressed by this PR:

  1. The removal was too aggressive since it was calculated using self.increment which could grow very large
  2. When a key is set to be dormant, we remove it from the heap and from predicate_id_info (in that order); when a new predicate is then added to the heap, it could be the case that it is now linked to the id which has been removed. This leads the heap to incorrectly believe that the newly added predicate has already been removed

…t incorrect assumption that predicate is not present in the heap
@ImkoMarijnissen ImkoMarijnissen changed the title fix: remove removal of variable + adding restoration of key to heap fix: remove removal of predicate from heap + adding restoration of key to heap Jan 21, 2025
@maartenflippo
Copy link
Contributor

maartenflippo commented Feb 3, 2025

Superseded by #139

@maartenflippo maartenflippo deleted the fix/autonomous-search branch February 3, 2025 12:59
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