I do not see any differentiation in the code regarding human or AI... so, that block of code acts exactly the same for any player in the game. Granted, there are other modifiers (plenty) that affect the "Go To War" weight, but I couldn't see any big change in those from G&K... I might have overlooked something, because I quickly went over the file, and the file is huge (and there are others), so the whole package calls for a thorough investigation for the curious.
What I wanted to show if that there is a rationale behind what some are seeing, and that it is WAD. Not a BUG, in other words. We can continue the debate now in terms of how good/precise/appropriate the design decision was, and how to change it if necessary. In other words, I wanted to kill the whine and move this to a more rational ground.
Also, see the comments "To Do: constant/XML", clearly pointing to an eventual extraction of some of the components of the modifier from the hard code --> modding. I wonder why the did not do that right from the beginning... I am sure it will come with the first patch, especially now that they are seeing some reactions.