If your code is readable, the public can learn from it.
Copyright doesn't extend to function.
People have the right to learn non-copyrightable elements from your code.
The claim is that AI learns copyrightable elements.
I agree it's certainly possible for AI to produce infringing output.
Nevertheless, people don't have the right to enforce a limitation on training.
If I "process data" by doing a word count of a book, and then I publish the number of words in that book (not the words themself! Just a word count!) I haven't created a derivative work.
Processing data isn't automatically infringement.
You think that a model that's capable of being prodded into producing an infringing output in addition to all the other non-infringing outputs it could produce is no different than a compression algorithm?