Created a similar price predictor with regression for purchase department. Created the food monopolist tests. They all fail, need to work on that and on the new learningBEefMonopolist tests that shouldn't fail but do (because the plots used to work!)
made most of my supply chain tests multithreaded. Tried to find out what was the problem that broke the "learning". Reverted a lot of history and then back. Not much success except noticing that rounding/not rounding is important