West Wing was in season two in fall 2000 when the U.S. presidential election happened. This election was a terrible mess that took more than a month to settle, and people still debate who should have won. https://en.wikipedia.org/wiki/United_States_presidential_election,_2000
I was in a West Wing discussion group. We agreed that if this election had been a WW story line, it would have been condemned as ridiculous and unrealistic. Most people expect fiction to make sense, but the real world does not have that constraint.