I just posted another comment advocating that using logging would be better than redirect: I use it quite extensively in production and am mostly happy with its setup and use: what makes it evil for you and what is different about data science that makes it so?