def METHOD_NAME(T, m, dask_cluster):
    with Client(dask_cluster) as dask_client:
        for width in range(T.shape[0]):
            for i in range(T.shape[0] - width):
                include = np.asarray(range(i, i + width + 1))
                excl_zone = int(np.ceil(m / 4))
                ref_P, ref_I = naive.maamp(T, m, excl_zone, include, discords=True)
                comp_P, comp_I = maamped(dask_client, T, m, include, discords=True)
                npt.assert_almost_equal(ref_P, comp_P)
                npt.assert_almost_equal(ref_I, comp_I)