Require disclosure of tool (e.g. LLM) usage to generate code #8625
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Vibe coding is a hot topic. In our experience, it doesn't produce acceptably-good code right now, but it is steadily improving, so we probably need a policy on it. Following a discussion in the dev meeting, we feel that it's fine to use tools like LLMs to generate Halide PRs. They will be held to the same standard as any other PR. The human that opens the PR will be treated as responsible for the code. In fact, we already have a history of accepting tool-generated code (some simplifier rules were discovered by superoptimization). However, we decided contributors must disclose the tools used in any significantly-tool-generated code, for a few reasons.
We decided the commit message was the right place to put the disclosure.
The credit issue makes it worthy of insertion into the code of conduct.
To set an example: The sentence added to the code of conduct below was suggested by Gemini 2.0 Flash.