Code for Phantom Trend election forecasts