Skip to content

Bugfix: Clear evidence storage after search#7

Merged
AaronDC60 merged 2 commits into
mainfrom
bugfix
Apr 23, 2026
Merged

Bugfix: Clear evidence storage after search#7
AaronDC60 merged 2 commits into
mainfrom
bugfix

Conversation

@AaronDC60
Copy link
Copy Markdown
Collaborator

This MR aims at fixing the following bug:

Running a hierarchical greedy or simulated annealing algorithm to find the best MCM for a given dataset after running it for another dataset with the same MCMSearch object yields incorrect results.

The problem was that the evidence storage that keeps track of the log-evidence for ICCs that have already been calculated during the search was not cleared after the search. When running a search for a second dataset the log-evidence for certain ICCs was not recalculated because they were still stored from the last search.

This issue is fixed by clearing the storage after each search.

@AaronDC60 AaronDC60 merged commit f9239bc into main Apr 23, 2026
2 checks passed
@AaronDC60 AaronDC60 deleted the bugfix branch April 24, 2026 07: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.

1 participant