Skip to content

TEST: add unit test of likelihood reweighting

Colm Talbot requested to merge reweight-unit-testing into master

I realized during a review call with @simon-stevenson that we don't have any unit tests of the likelihood reweighting. I added two test cases:

  • no likelihood change means perfect reweighting
  • a known difference in likelihoods gives the expected weights and changes the evidence by an expected way.

Merge request reports