Statsmodels Time Series Python Code Runner Software Architecture