• moonpiedumplings@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 day ago

    He fed only the API and the test suite to Claude and asked it to reimplement the library from scratch.

    What was the test suite licenced under? If it was in the same repo, then it was probably LGPL code as well.

    If the MIT rewrite uses the LGPL licensed test cases, including them in the repo, then it probably must be LGPL as well.

    • Kissaki@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      I find “from scratch” a questionable claim as well. The model was probably trained on the code it is supposed to replace. Interfacing with the concrete tests and interfaces makes the result even more likely to be and puts it conceptually closer to the original code fed as training data.