I think that they have all of the season’s episodes written and produced before the season starts.
They write and produce each episode the week before it airs. That is why they could do the election episode last year the day after the election. There have been other examples of how their quick turnaround has let them be far more topical than anyone else.
No...They write each episode the week before it airs.