reproducibility problem in python