upload random_sample.py