bug: duplicate samples in training set