Wordle Best Initial Guess

This program finds the best initial guess in Wordle, i.e., the word that most uniformly partitions the set of answers according to the output color pattern.

That word is ROATE.

Tyler Glaiel figured this out before me.