The AI is indeed far from perfect. They derp a lot by design at the start before you get few wins and only start playing at their peak performance after you get 5 wins. Just to ease out the difficulty curve a bit.