I'm not a developer/engineer, or code savvy by any means, but lately I've been working with Codex to help me out with my Backdrop site and it's been a game changer. The model can get really creative sometimes and has even made updates to some of my modules to help me accomplish my goals.
For example, I was struggling with the font awesome module until Codex helped me realize that it didn't support the version that was required to provide the icons that I wanted. Codex made the changes, and even provided new functionality to the module such as adding a field for a custom CDN URL, and it worked like a charm. Since this these changes were helpful for my site, and helped update the module's compatibility with a newer version of font awesome, it made me wonder...is this worthy of sharing back with the author/community?
Is it ok to share AI generated code with the community? Honestly I have no idea what I'm doing, but I was able to get my work done and I think it could also be helpful to others. I'm curious how others feel about the subject.
Best, D.
With any contribution, you need to keep the reviewers in mind. It can't be too large a change that is hard to understand; the changes should be relevant to the intended functionality or bug fix. Random changes are not appreciated. And if there are tests, the PR should pass those tests. And if it's a core PR it will need to have a new test with it. You will need to make sure that the test actually tests what is relevant. I've heard that some AI generated tests don't actually test properly despite claims.