Nope. I have written code that generates further code, but that extra code is still a direct result of the code I have written, and if I could be bothered I would be able to follow the algorithms through precisely. Decisions require an understanding of not only the parameters, but why the decisions should be made in the first place. A piece of code my decide between to options, but the questions is how did it decide to make the choice. Nobody has yet produced a machine or programme that comes even close to that.