active learning automatically records; active learning single draw further optimized; mkdir function in IO; reset sample; no files written when unittest is run