The governemnt isn't run by meritocracy, it's run by politicians looking to maximize their power and wealth. They could be perfectly logical and learn to compromise amongst all but the most extreme outliers of the various parties, however, that's not the case. It basically becomes all or nothing for them (and their party) and the government limps along behind that. It's nothing like machine learning unless you were to put those as goals of the algorithm.