def METHOD_NAME(get_json_from_tarfile):
    sbottom_archive = data_path("pyhf-ins1748602-probability-models.tar.gz")
    sbottom_regionA_bkgonly_json = get_json_from_tarfile(
        sbottom_archive, "RegionA/BkgOnly.json"
    )
    sbottom_regionA_1500_850_60_patch_json = get_json_from_tarfile(
        sbottom_archive, "RegionA/patch.sbottom_1500_850_60.json"
    )
    CLs_obs, CLs_exp = calculate_CLs(
        sbottom_regionA_bkgonly_json, sbottom_regionA_1500_850_60_patch_json
    )
    assert CLs_obs == pytest.approx(0.045367205665400624, rel=1e-5)
    assert np.all(
        np.isclose(
            np.array(CLs_exp),
            np.array(
                [
                    0.00598431785676406,
                    0.026102240062850574,
                    0.10093641492218848,
                    0.31019245951964736,
                    0.6553623337518385,
                ]
            ),
            rtol=1e-5,
        )
    )