Completely agree about the frustration you can have working on this algorithm. I can't count the number of seemingly very good ideas we had that just hurt his performance.
The worst were ideas that made it better against his former self but worse against human players (it happened !)