Commodore Wesley was an idiot
In The Ultimate Computer, Wesley, in his messages both to the Enterprise and to Starfleet takes a tone implying that he thinks Kirk is responsible for the full-power attacks. So, they set up an elaborate field test for a new ship's computer that uses untested technology, and when things go horribly awry Wesley assumes that it must be because an experienced captain went crazy?
Does not bespeak good problem solving skills.