AI knew early on it was Brexit that did it in the UK election