code: def test_calc_exclusion_start():
      ts = [1, 2, 3, 4, 5, 6, 7, 8]
      m = 4
      idx = 0
      exclusion_zone = scrimp.calc_exclusion_zone(m)
      start = scrimp.calc_exclusion_start(idx, exclusion_zone)
      expected_start = 0
  
      assert expected_start == start
  
      idx = 2
      start = scrimp.calc_exclusion_start(idx, exclusion_zone)
      expected_start = 1
      assert expected_start == start
  
      idx = 3
      start = scrimp.calc_exclusion_start(idx, exclusion_zone)
      expected_start = 2
      assert expected_start == start
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import os
  import pytest
  import numpy
  import matrixprofile
  from matrixprofile import scrimp
label_desc: Use image node_id 16 for calling a global function with example usage: test_calc_exclusion_start() without return types