code: def get_dummy_run(nthread, nsamples, **kwargs):
      seed = kwargs.pop('seed', False)
      ndim = kwargs.pop('ndim', 2)
      logl_start = kwargs.pop('logl_start', -np.inf)
      logl_range = kwargs.pop('logl_range', 1)
      if kwargs:
          raise TypeError('Unexpected **kwargs: {0}'.format(kwargs))
      threads = []
      if seed is not False:
          np.random.seed(seed)
      threads = []
      for _ in range(nthread):
          threads.append(get_dummy_thread(
              nsamples, ndim=ndim, seed=False, logl_start=logl_start,
              logl_range=logl_range))
      threads = sorted(threads, key=lambda th: th['logl'][0])
      for i, _ in enumerate(threads):
          threads[i]['thread_labels'] = np.full(nsamples, i)
      return nestcheck.ns_run_utils.combine_threads(threads)