code: def random_state_fixed(path_to_data, kmin, kmax, ccore, **kwargs):
      repeat = kwargs.get("repeat", 1)
      kstep = kwargs.get("kstep", 1)
  
      for _ in range(repeat):
          sample = read_sample(path_to_data)
  
          elbow_instance = elbow(
              sample, kmin, kmax, ccore=ccore, **kwargs
          ).process()
          elbow_1 = elbow_instance.get_amount()
          wce_1 = elbow_instance.get_wce()
  
          assertion.eq(len(wce_1), (kmax - kmin) / kstep + 1)
  
          elbow_instance = elbow(
              sample, kmin, kmax, ccore=ccore, **kwargs
          ).process()
          elbow_2 = elbow_instance.get_amount()
          wce_2 = elbow_instance.get_wce()
  
          assertion.eq(len(wce_2), (kmax - kmin) / kstep + 1)
  
          assertion.eq(elbow_1, elbow_2)
          assertion.eq(wce_1, wce_2)
  
imports: import math
  from pyclustering.utils import read_sample
  from pyclustering.cluster.elbow import elbow
  from pyclustering.tests.assertion import assertion
  from pyclustering.samples import answer_reader
label_desc: Use image node_id 2 for calling the elbow_test_template obj's underlying member method code with example usage: obj.random_state_fixed(path_to_data, kmin, kmax, ccore) without return types