Final data science for competition

Reviews sound good.  This is the final version for the contest.
It's cheesy, but when I have expected values for calculations I usually throw them in a let block so that I can refer to them by some meaningful name. It's a minor point, but it lets the person coming along to maintain your code avoid that moment of "Ok, where the hell did this number come from?"