Factored out percentile assertion functions