webppl icon indicating copy to clipboard operation
webppl copied to clipboard

Add MH integration tests

Open stuhlmueller opened this issue 11 years ago • 2 comments

In particular, Geweke tests as described here.

stuhlmueller avatar Feb 10 '15 01:02 stuhlmueller

Might this have caught #115? If not, what would - unit tests?

null-a avatar Jul 09 '15 14:07 null-a

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.

stuhlmueller avatar Jul 09 '15 17:07 stuhlmueller