code: def test_mstump_with_isconstant_case1():
      # case1: `T_subseq_isconstant` is a (partial) function
      d = 3
      n = 64
      m = 8
  
      T = np.random.uniform(-1000, 1000, size=[d, n])
      T_subseq_isconstant = functools.partial(
          naive.isconstant_func_stddev_threshold,
          quantile_threshold=0.05,
      )
  
      excl_zone = int(np.ceil(m / 4))
  
      ref_P, ref_I = naive.mstump(
          T, m, excl_zone, T_subseq_isconstant=T_subseq_isconstant
      )
      comp_P, comp_I = mstump(
          T, m, T_subseq_isconstant=T_subseq_isconstant
      )
  
      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 pandas
  import pytest
  from stumpy import config, core, mdl, mstump, subspace
  from stumpy.mstump import _get_first_mstump_profile, _get_multi_QT, _multi_mass, multi_distance_profile
label_desc: Use image node_id 28 for calling a global function with example usage: test_mstump_with_isconstant_case1() without return types