The document describes various adaptive methods for numerical integration or cubature of functions, including Monte Carlo methods, low-discrepancy sampling, and Bayesian cubature. It discusses approaches to choose sample sizes and weights to guarantee the integral estimate is within a given tolerance of the true integral with high probability. Specific examples discussed include multidimensional Gaussian integrals and estimating Sobol' sensitivity indices.