I don't think about my compositions in terms of "ratios", but it is important to maintain a well-rounded composition which can deal with many threats. Specifically, you want to deal with the range of threats which you believe your opponent might deploy, which is where reaction to the opposition comes in.
That being said, building generically OK compositions with few critical weaknesses (or at least, weaknesses which are difficult to exploit at that time in the game) like Bandit/Racketeer, Rocko/Warrior, Reaper/Banisher, Grizzly with Duck/Archer/Scallop escort, etc. and then outskilling your opponent in other dimensions like macro, micro or strategy is a viable strategy (and is I expect how KGB wins if it doesn't react much to opposing compositions).
Deciding what units to build (and what factories to switch to) to counter an enemy composition (and what you expect your opponent to have built to supplement their composition by the time your new units get to the front) is a thoroughly nontrivial proposition and it would impress and surprise me to see an AI demonstrate skill in that area.
Just because you're reacting to what your opponent has built doesn't mean you don't have a proactive strategy. You do want to be making an army which will be effective against the opponent's army when you attack.