Fonction Python Moving Regression Testing