My Pokemon TCG Agent Won 95% of Its Games and I Learned Nothing

I built a clean general search agent and it beat every opponent I had. Then I pointed it at a 400-line hand-written bot and lost three games in four. The opponents I had been measuring against were the problem.