Reminds me of that one episode where Mr. Spock figures out there's a problem with the computer because it loses at chess. And he knows it shouldn't lose at chess because he programmed it himself.