Fix more errors and stale references.
Compute squared values in Python rather than in formula.
Remove max metric switching.
Linear mismatch second. Much faster this way.
Fix enumeration and optimality.
Fix repeat matches across multiple rounds.
Add current round matches as played.
Reset term list in each round for metric.
Pop metric from left side.
Push after popping a metric requirement so immediate pops don't unwind requirements.
Back to 3 rounds.
Fix more incorrect repeat match logic.
Add pushes before every constraint addition and recompute badness.