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

Incorrect number of matches used to inform scheduler in eqsat_search!() #248

Open
gkronber opened this issue Oct 4, 2024 · 0 comments
Open
Assignees

Comments

@gkronber
Copy link
Collaborator

gkronber commented Oct 4, 2024

Issue refers to ale/3.0 branch.

Currently, the overall number of matches is used to inform the scheduler instead of the number of matches for each rule.
This means that BackoffScheduler does not work as intended.

n_matches - prev_matches > 0 && @debug "Rule $rule_idx: $rule produced $(n_matches - prev_matches) matches"
# if n_matches - prev_matches > 2 && rule_idx == 2
# @debug buffer_readable(g, old_len)
# end
inform!(scheduler, rule_idx, n_matches)

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

No branches or pull requests

1 participant