content

I'm doing a bit of research into the amount of exposure Godot has to LLM-generated code, after having a conversation on a Discord server about the possibility of LLM-generated code being contributed to Godot.

I see that Godot will accept LLM-generated contributions, but only if they are disclosed, fully understood by the author, and guarded against license contamination (see Godot's AI assisted contributions guidelines and #118681, which where both linked in the earlier conversation on Discord).

I looked around for a bit and did find some LLM-related contributions which were accepted and never reverted:

  • #112471 was not disclosed and the maintainers missed that it was LLM-generated. A maintainer stated that in hindsight it should have been flagged and rejected. Claude is subsequenly banned from contributing, but the commit is not reverted. This change is contained in the 4.6-stable, 4.6.1-stable, and 4.6.2-stable tags.
  • #118079 took inspiration from a repository created using AI tools for the API design, but was largely written and implemented by the contributor. It's slated to be included in 4.7.

In my assessment, it appears that #112471 is the sole AI-generated contribution that has been accepted to Godot and there appear to be no other LLM-contributions yet, even considering the contributions accepted into 4.7. Admittedly, it's a very minor contribution and I think it is unlikely to cause licensing or maintainability problems.

meta

created:

backlinks: Godot LLM contributions

commit: f84926ca