code: def has_sequential_ids(data_wrapper):
      '''Check that IDs are increasing and consecutive
  
      returns tuple (bool, list of IDs that are not consecutive
      with their predecessor)
      '''
      db = data_wrapper.data_block
      ids = db[:, COLS.ID]
      steps = ids[np.where(np.diff(ids) != 1)[0] + 1].astype(int)
      return CheckResult(len(steps) == 0, stepsf has_sequential_ids(data_wrapper):
      '''Check that IDs are increasing and consecutive
  
      returns tuple (bool, list of IDs that are not consecutive
      with their predecessor)
      '''
      db = data_wrapper.data_block
      ids = db[:, COLS.ID]
      steps = ids[np.where(np.diff(ids) != 1)[0] + 1].astype(int)
      return CheckResult(len(steps) == 0, steps)
docs: Check that IDs are increasing and consecutive
  
      returns tuple (bool, list of IDs that are not consecutive
      with their predecessor)