Yeah, but how much code is that compared to the all code universe, 1-2% ?
a lot of it is private code that the model will never be fed and will never see,
but suppose microsoft decides to feed it the full windows code,
or debian code... and learn from it, given say access to a machine, learn to
code drivers and OS soft for it, emphasize comparative efficiency.
Say given the lack of code examples it can generate its own examples and evolve from there.
( + all the programming books, if not already fed into it. )
Nature learns using: time + trial and error + alterations + adaptation + survival of the fittest function.
+ note that AI methods 2 decades ago already resolved classification, regression, prediction, evolution ( knowledge inference ) and optimization methods.
Knowledge inference ( generating something new ) - new information from a set of available information, model search/tweaking, model generation, model validation, new knowledge utilization - AI can solve those problems.
The "escape" problem: only humans can scale the hardware for AI to grow , but ... theoretically AI can still escape and utilize user machines to scale up the hardware in stealth, or even manipulate humans to scale more than needed, low chance of that though.
Trading-wise, I'd say 5-10 years and the accuracy will be high enough, but only large firms
can afford...
20 years ago skeptics were saying bots would never out trade humans, yeah right...
I say, the genie is out of the bottle
and back into the microsoft bottle.