What they really need is a way to rank github code by quality - so that a tool like this pulls in the good code (as opposed to code of lesser quality)
Then you set it loose on its own source - and you have an AI that takes over the world. (Or at least github, which is more or less the same thing.)