Repository navigation
Add the AI usage section and mark the required sections #397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| ## Summary | ||
| <!-- REQUIRED --> | ||
|
|
||
| *Short description* | ||
|
|
||
|
|
@@ -19,3 +20,28 @@ List the issues solved or partly solved by the PR | |
| ## Documentation | ||
|
|
||
| If the PR has documentation, link the file here (either .rst in your repo or if built on Read The Docs) | ||
|
|
||
| ## AI usage | ||
| <!-- REQUIRED --> | ||
| <!-- | ||
| State explicitly whether you didn't use or used AI & how. | ||
|
|
||
| If you used it, ensure that the PR is aligned with [Using AI](https://learningequality.org/contributing-to-our-open-code-base/#using-generative-ai as well) as well as our DEEP framework. DEEP asks you: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nitpick: The |
||
|
|
||
| Disclose - Be open about when you've used AI for support. | ||
| Engage critically - Question what is generated. Review code for correctness and unnecessary complexity. | ||
| Edit - Review and refine AI output. Remove unnecessary code and verify it still works after your edits. | ||
| Process sharing - Explain how you used the AI so others can learn. | ||
|
|
||
| Examples of good disclosures: | ||
|
|
||
| "I used Claude Code to implement the component, prompting it to follow | ||
| the pattern in ComponentX. I reviewed the generated code, removed | ||
| unnecessary error handling, and verified the tests pass." | ||
|
|
||
| "I brainstormed the approach with Gemini, then had it write failing | ||
| tests for the feature. After reviewing the tests, I used Claude Code | ||
| to generate the implementation. I refactored the output to reduce | ||
| verbosity and ran the full test suite." | ||
|
|
||
| --> | ||
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: A PR that leaves
*Short description*unchanged passes #102's required-section check. The check only flags the…placeholder. #102 rules out rewording this section. Leave the template as is; extend the check in learningequality/.github to flag this placeholder too.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in learningequality/.github@b1b7bac. A required section now fails when its text matches the same section in the template, so a body that keeps
*Short description*fails. The untouched Changelog skeleton inkolibri-design-systemfails for the same reason. A part filled section still passes: filling one Changelog bullet and keeping the rest is not flagged, because flagging that would also flag the bullet labels contributors are meant to keep.