code: def test_maamped_constant_subsequence_self_join(dask_cluster):
      with Client(dask_cluster) as dask_client:
          T_A = np.concatenate(
              (
                  np.zeros(20, dtype=np.float64),
                  np.ones(5, dtype=np.float64),
              )
          )
          T = np.array([T_A, T_A, np.random.rand(T_A.shape[0])])
          m = 3
  
          excl_zone = int(np.ceil(m / 4))
  
          ref_P, ref_I = naive.maamp(T, m, excl_zone)
          comp_P, comp_I = maamped(dask_client, T, m)
  
          npt.assert_almost_equal(ref_P, comp_P)
  
imports: import naive
  import numpy
  import numpy.testing
  import pandas
  import pytest
  from dask.distributed import Client, LocalCluster
  from stumpy import config, maamped
label_desc: Use image node_id 8 for calling a global function with example usage: test_maamped_constant_subsequence_self_join(dask_cluster) without return types