def percent_beyond_1_std(x, e):
    dists_from_mu = x - weighted_average(x, e)
    return np.mean(dists_from_mu > weighted_std_dev(x, e))
Test for setup failure for boolean from.
dataset/ETHPy150Open cesium-ml/cesium/cesium/science_features/common_functions.py/percent_beyond_1_std--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/tests/components/automation/test_state.py/TestAutomationState.test_if_fails_setup_if_from_boolean_value