code: def test_prescrump_self_join_larger_window_m_5_k_5_with_isconstant(
      T_A, T_B
  ):
      isconstant_custom_func = functools.partial(
          naive.isconstant_func_stddev_threshold,
          quantile_threshold=0.05,
      )
  
      m = 5
      k = 5
      zone = int(np.ceil(m / 4))
  
      if len(T_B) > m:
          for s in range(1, zone + 1):
              seed = np.random.randint(100000)
  
              np.random.seed(seed)
              ref_P, ref_I = naive.prescrump(
                  T_B,
                  m,
                  T_B,
                  s=s,
                  exclusion_zone=zone,
                  k=k,
                  T_A_subseq_isconstant=isconstant_custom_func,
                  T_B_subseq_isconstant=isconstant_custom_func,
              )
  
              np.random.seed(seed)
              comp_P, comp_I = prescrump(
                  T_B,
                  m,
                  s=s,
                  k=k,
                  T_A_subseq_isconstant=isconstant_custom_func,
              )
  
              npt.assert_almost_equal(ref_P, comp_P)
              npt.assert_almost_equal(ref_I, comp_I)
  
imports: import functools
  import naive
  import numpy
  import numpy.testing
  import pytest
  from stumpy import config, scrump, stump
  from stumpy.scrump import prescrump
label_desc: Use image node_id 34 for calling a global function with example usage: test_prescrump_self_join_larger_window_m_5_k_5_with_isconstant(T_A, T_B) without return types