Approximate Posterior Quality Metric via Monte Carlo Sampling - Coding problem | OneNoughtOne