Well....
About the licensing. Even
if we could safely determine if any produced code by a given AI is free of "copied" material (either verbatim, or with negligible differences) or the source of the copy would permit use under the licenses that would be required ..... That would not be the end of it.
I guess, but do not know, that an AI under current law in probably all countries of the world can not itself hold legal rights. But that may change. Just to say, if a tree can have the right of owning itself:
https://en.wikipedia.org/wiki/Tree_That_Owns_Itself ....
But then an AI is in the end a machine. And it may well be possible that the owners of a machine hold rights on the product of that machine. And those rights would be hold automatically, until explicitly give up or transferred....
Mind, all that needs to be checked for any country in the world.
But even then, lets for arguments sake ignore the above.
@Webdrifter Why don't you try how far an AI would actually get?You say it can do debugging. Well then, we have a bugtracker full of bugs. Get the AI to tell you what is wrong. That is which exact line of code does the wrong thing.
It doesn't need to give the corrected line of code (or you do not need to forward the correction).
If we know which line is wrong (and in which way it is wrong), then for many bugs it would be a huge steps toward fixing them.
So all you need is add the info "which line is wrong, and why that is" .
Or pick a feature that you miss. And see if the AI really generates stable working code. (Because if it aint stable, it may be easier to do it from scratch than to fix some half baked code).
Because, if you don't succeed in getting good result for some bigger tasks, well then it really doesn't matter what the license would be.
Afaik most of the examples for AI generating code are either
- trivial / standard code blocks, just rewritten to use identifiers matching a give description
- small tasks, for which the human had to give very very precise description (in human language), and often had to go through several iterations before resulting in something useful. But if the human has to describe it that detailed, then it's just a translation, and for a programmer may be easier to describe it in a programming language right to start with.
Of course I could have missed some news. After all there is a huge flood of news going on... (Maybe I could filter those news using an AI...
)