No clue.
But what if the generative AI were used to create music instead of code would the court have ruled differently?
CONSIDER:
In 2015, a federal judge order Thicke & Pharrell to pay 50% of proceeds to the Marvin Gaye estate for being “too similar” to the song, “Gots to Give It Up”.
Comparison and commentary: https://youtu.be/7_UiQueteN4?si=SkClbyBMOcucigRm
Comparison of both songs: https://youtu.be/ziz9HW2ZmmY?si=3_VZzfoLT-NrozoK