def METHOD_NAME(tmp_path, bounds_option, kgo):
    """Test probability to percentile conversion where the percentiles need to sample
    outside of the distribution given by the probabilities.
    (there are three input probabilities with non-zero probabilities, outputs have
    five percentiles)."""
    kgo_dir = acc.kgo_root() / "generate-realizations/skip_ecc_bounds_probabilities"
    kgo_path = kgo_dir / kgo
    percentiles_path = kgo_dir / "input.nc"
    output_path = tmp_path / "output.nc"
    args = [
        "--realizations-count",
        "5",
        percentiles_path,
        "--output",
        output_path,
        *bounds_option,
    ]
    run_cli(args)
    acc.compare(output_path, kgo_path)