Full code for trefyranio election forecasts