1 · Plan the term

Builds cohorts from the newest curriculum of each program, splits them into groups, and creates the sections they need.

2 · Solve

Assigns every section a slot pattern, a room and a professor. Runs in a worker thread; the page returns when it finishes.