Thank you for explaining this. I had the exact same misunderstanding as the parent poster, and was only corrected (and educated) by reading your comment.
A hypothetical relating to the legal aspects: Since this was mostly done by an LLM, the legal considerations would become incredibly interesting in cases where the original code (source or binary) was illegally leaked. What happens if the LLM saw the leaked code in its training material?
(My non-lawyer brain thinks it's completely obvious that in that case you have a derived work, but apparently the world has decided that it's completely fine to train LLMs on e.g. GPL code without the output being considered derived, so what the hell do I know…)
A hypothetical relating to the legal aspects: Since this was mostly done by an LLM, the legal considerations would become incredibly interesting in cases where the original code (source or binary) was illegally leaked. What happens if the LLM saw the leaked code in its training material?
(My non-lawyer brain thinks it's completely obvious that in that case you have a derived work, but apparently the world has decided that it's completely fine to train LLMs on e.g. GPL code without the output being considered derived, so what the hell do I know…)