webppl
webppl copied to clipboard
Add MH integration tests
Might this have caught #115? If not, what would - unit tests?
Integration tests would have caught #115 if we had used a model with a custom proposer that doesn't assign the same forward/reverseChoiceScore to each ERP proposal. If we had such tests for models that exercise substantial parts of the system and if refactored our probability calculations to be clearer (#145), I would be a lot more confident that there aren't more bugs lurking in the MH algorithm.