code: def test_mpdist_vect_percentage(T_A, T_B, percentage):
      m = 3
      ref_mpdist_vect = naive.mpdist_vect(
          T_A, T_B, m, percentage=percentage
      )
  
      Q_subseq_isconstant = naive.rolling_isconstant(T_A, m)
      T_subseq_isconstant = naive.rolling_isconstant(T_B, m)
      μ_Q, σ_Q = naive.compute_mean_std(T_A, m)
      M_T, Σ_T = naive.compute_mean_std(T_B, m)
      comp_mpdist_vect = _mpdist_vect(
          T_A,
          T_B,
          m,
          μ_Q,
          σ_Q,
          M_T,
          Σ_T,
          Q_subseq_isconstant,
          T_subseq_isconstant,
          percentage=percentage,
      )
  
      npt.assert_almost_equal(ref_mpdist_vect, comp_mpdist_vect)
  
file_path: stumpy/tests/test_mpdist.py
imports: import functools
  import naive
  import numpy
  import numpy.testing
  import pytest
  from dask.distributed import Client, LocalCluster
  from stumpy import mpdist, mpdisted
  from stumpy.mpdist import _mpdist_vect
label_desc: Use image node_id 3 for calling a global function with example usage: test_mpdist_vect_percentage(T_A, T_B, percentage) without return types