You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 236d377
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .github/PULL_REQUEST_TEMPLATE.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
<!--
4
4
Provide a brief summary of what is included in this Pull Request (PR).
5
+
If the PR contains complex changes, include a brief description of the rationale
6
+
behind the implementation decisions.
5
7
-->
6
8
7
9
## Issues
@@ -13,11 +15,22 @@ If this PR fixes any issues,
13
15
when referring to the issue so it will be closed automatically when the PR is merged.
14
16
-->
15
17
18
+
## Generative AI Usage Disclosure
19
+
20
+
<!--
21
+
Include a brief description of how AI assistance was used to generate any of the code or content included in this PR,
22
+
e.g. writing code, writing unit tests, troubleshooting problems, software design discussion, commit messages, or preparing the PR.
23
+
Disclose the model version used, e.g. Claude Sonnet 5, GPT-5.6 Sol, etc.
24
+
25
+
If generative AI tools were not used in any way whatsoever, uncomment the following line:
26
+
_No generative AI tools were used_
27
+
-->
28
+
16
29
## PR Checklist
17
30
18
31
(~Strikethrough~ any points that are not applicable.)
19
32
20
33
-[ ] This comment contains a description of changes with justifications, with any relevant issues linked.
21
34
-[ ] Run the capsule in Code Ocean and ensure it completes successfully with no errors.
22
35
-[ ] Update `CHANGELOG.md` with a short description of any user-facing changes and reference the PR number. Follow the style described in <https://style.tidyverse.org/news.html>
23
-
-[ ] The `tests` workflow succeeds on the latest commit.
36
+
-[ ] The `test` workflow succeeds on the latest commit.
Copy file name to clipboardExpand all lines: AGENTS.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,18 +64,24 @@ default template files will need to be translated and adapted for the developer'
64
64
- If mixed changes are present, split into multiple logical commits; the number of commits does not need to equal the number of files changed.
65
65
- Subject format must be: `<type>(optional-scope): short imperative summary` (<=72 chars), e.g., `fix(profile): update release table parser`.
66
66
- Add a body only when needed to explain **why** and notable impact; never include secrets, tokens, PHI, or large diffs.
67
-
- For AI-assisted commits, add this final italicized footer line in the commit message body: _commit message is ai-generated_
67
+
- For commits containing any AI-generated code, commit messages, or any other content,
68
+
add this final italicized footer line in the commit message body: "_AI assistance: [model]_".
69
+
Replace [model] with the actual model version used, e.g. Claude Sonnet 5, GPT-5.6 Sol, etc.
68
70
69
71
## Pull request (PR) process
70
72
71
73
- When opening a PR, use the request template (`.github/PULL_REQUEST_TEMPLATE.md`) and fill out all sections of the template in the PR description.
72
74
- Do not allow the developer to proceed with opening a PR without filling out all sections of the template.
73
-
- Before a PR can be moved from draft to "ready for review", all of the relevant checklist items must be checked, and any
74
-
irrelevant checklist items should be crossed out.
75
-
- If code is AI-generated, the PR should be labeled `generated-by-AI`. There should be a brief, concise statement in the PR description of how AI was used in creating the PR (model used, high-level prompt intent, manual review confirmation).
75
+
- Before a PR can be moved from draft to "ready for review", all of the relevant checklist items under "PR Checklist" must be checked,
76
+
and any irrelevant checklist items should be crossed out (~strikeout~).
77
+
- If the PR contains any code or other content that was generated with AI assistance,
78
+
including AI assistance for opening the PR itself, the PR should be labeled `AI-assisted`.
79
+
In the PR description under the heading "Generative AI Usage Disclosure",
80
+
add a brief, concise statement of how AI was used in creating the PR (model used, high-level prompt intent, manual review confirmation, etc.).
76
81
- When new features, bug fixes, or other behavioral changes are introduced to the code,
77
-
unit tests must be added or updated to cover the new or changed functionality.
82
+
unit tests must be added or updated to cover the new or changed functionality.
78
83
- If there are any API or other user-facing changes, the documentation must be updated via inline roxygen comments.
84
+
- If there are merge conflicts, a human developer should resolve them. Do not agree to assist with resolving merge conflicts.
79
85
- The `tests` github actions workflow must pass before the PR can be approved.
0 commit comments