Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ The CI has an "always green" approach which means that failing tests are not all

Note: Usually you can run the CI on your own fork to verify that it passes before even open an PR. Unfortunately some changes to avoid duplicated builds in our CI disabled this (TODO: file a ticket about this).

### AI/LLM Disclosure

If you choose to use AI/LLM to assist with your work please disclose this in the description of the PR (so it will be part of the commit message of the merged changes) by stating the name and the version of the model in question.

Also please attribute any such changes with `Co-authored-by:` for the respective model (if available).

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is useful, there is some consensus that AI should not be regarded as an author: https://academia.stackexchange.com/a/225428

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is unfortunate as that would have greatly helped to easily identify (one click) commits which were authored with the help of AI.

I do have seen people attributing it to GitHub accounts for these models.


PRs containing such changes should also be flagged with the [`ai-assisted`](https://github.com/cppcheck-opensource/cppcheck/issues?q=state%3Aopen%20label%3Aai-assisted) label.

### Targets

Cppcheck is tracking its issues at https://trac.cppcheck.net.
Expand Down