BUG: fix and test ModelData.set_effect_prior