def test_obs_full_coverage(self):
    coveredIDs = list()
    nBatch = self.DataIterator.nBatch
    for bID in range(nBatch):
      bData = self.DataIterator.get_next_batch()      
      obsIDs = self.DataIterator.getObsIDsForCurrentBatch()
      coveredIDs.extend(obsIDs)
    assert len(np.unique(coveredIDs)) == self.Data.nObsTotal
Make sure all data items are covered every lap
dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/tests/data/TestMinibatchIterator.py/TestMinibatchIterator.test_obs_full_coverage