Repository navigation
AI assisted contribution guides - #14848
DaanHoogland wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #14848 +/- ##
=========================================
Coverage 20.92% 20.92%
- Complexity 21142 21146 +4
=========================================
Files 6057 6057
Lines 549556 549556
Branches 73477 73477
=========================================
+ Hits 114991 115002 +11
+ Misses 421116 421104 -12
- Partials 13449 13450 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
🔴 Test Coverage Grade:
|
| Metric | Value |
|---|---|
| Line coverage | 25.87% |
| Branch coverage | 21.08% |
Grade Scale
| Grade | Line Coverage | Meaning |
|---|---|---|
| 🟢 A | ≥ 80% | Excellent - this code sleeps well at night 😴 |
| 🟡 B | 60-79% | Good - almost there, don't stop now 😉 |
| 🟠 C | 40-59% | Acceptable - your code is wearing a seatbelt, but no airbags 😬 |
| 🔴 D | 20-39% | Marginal - boldly shipping where no test has gone before 🖖 |
| ⛔ F | < 20% | Failing - tests? what tests? 🔥 |
Branch coverage is shown as a secondary signal. Grade is determined by line coverage.
View full Actions run
bernardodemarco
left a comment
There was a problem hiding this comment.
@DaanHoogland, thanks for the PR, we were really needing something like this...
I just left some minor suggestions, but all good from my side
|
|
||
| ## AI-assisted contributions | ||
|
|
||
| Contributions made with the help of AI tools are welcome and appreciated. Generating an issue or a pull request with AI is cheap for the submitter, though; reviewing, reproducing and fixing it is not cheap for the volunteers who maintain ACS. |
There was a problem hiding this comment.
| Contributions made with the help of AI tools are welcome and appreciated. Generating an issue or a pull request with AI is cheap for the submitter, though; reviewing, reproducing and fixing it is not cheap for the volunteers who maintain ACS. | |
| Contributions made with the help of AI tools are welcome and appreciated. Generating an issue or a pull request with AI is cheap for the submitter. However, reviewing, reproducing, fixing and testing it is not cheap for the volunteers who maintain ACS. |
|
|
||
| Contributions made with the help of AI tools are welcome and appreciated. Generating an issue or a pull request with AI is cheap for the submitter, though; reviewing, reproducing and fixing it is not cheap for the volunteers who maintain ACS. | ||
|
|
||
| If you use AI to submit an issue of any kind (bug report, improvement, feature idea, documentation report, security finding) or a pull request, you are expected to spend the extra tokens and include the work that makes it actionable: |
There was a problem hiding this comment.
| If you use AI to submit an issue of any kind (bug report, improvement, feature idea, documentation report, security finding) or a pull request, you are expected to spend the extra tokens and include the work that makes it actionable: | |
| If you use AI to submit an issue of any kind (bug report, improvement, feature idea, documentation report, security finding) or a pull request, we kindly ask you to spend extra tokens and include the work that makes it actionable, including: |
|
|
||
| If you use AI to submit an issue of any kind (bug report, improvement, feature idea, documentation report, security finding) or a pull request, you are expected to spend the extra tokens and include the work that makes it actionable: | ||
|
|
||
| - **Documentation**: a clear description of the problem or change, the affected versions and components, and, for new or changed behaviour, the documentation or PendingReleaseNotes text that goes with it. |
There was a problem hiding this comment.
@DaanHoogland, maybe an example or description about what PendingReleaseNotes is would be helpful here
| - **Documentation**: a clear description of the problem or change, the affected versions and components, and, for new or changed behaviour, the documentation or PendingReleaseNotes text that goes with it. | |
| - **Documentation**: a clear and straightforward description of the problem or change, the affected versions and components, and, for new or changed behaviour, the documentation or PendingReleaseNotes text that goes with it. |
| If you use AI to submit an issue of any kind (bug report, improvement, feature idea, documentation report, security finding) or a pull request, you are expected to spend the extra tokens and include the work that makes it actionable: | ||
|
|
||
| - **Documentation**: a clear description of the problem or change, the affected versions and components, and, for new or changed behaviour, the documentation or PendingReleaseNotes text that goes with it. | ||
| - **Tests**: a reproducer for bugs (steps, a unit test or a Marvin test) and unit and/or integration tests for proposed changes. |
There was a problem hiding this comment.
| - **Tests**: a reproducer for bugs (steps, a unit test or a Marvin test) and unit and/or integration tests for proposed changes. | |
| - **Tests**: a reproducer for bugs (steps, a unit test or a Marvin/integration test) and unit and/or integration tests for proposed changes. |
|
|
||
| Review and verify AI output before you submit it. You are responsible for the accuracy of what you submit, and for making sure it compiles, passes the tests and actually addresses the issue. Please mention in the issue or pull request that AI tools were used. | ||
|
|
||
| Issues or pull requests that are clearly AI-generated but lack these elements may be closed or put on hold until they are completed. |
There was a problem hiding this comment.
@DaanHoogland, maybe a note highlighting the importance of manual testing AI patches and ensuring they actually work?
bhouse-nexthop
left a comment
There was a problem hiding this comment.
I agree this is a good direction to advertise that AI assistance was used in generation of the PR. I also agree that if a contributor is using AI they should be generating test coverage as well, that is something AI excels at.
That said, I think you should go a step further in this PR (or a follow-up) and provide a detailed AGENTS.md to provide some guardrails to ensure PRs are still reviewable by humans for common problems:
- language forms for commit messages, code comments, and pr descriptions that aren't in plain simple english, or state things that simply don't need to be said or don't add clarity.
- code comments just stating what the code below does that is already obvious.
- minimize code for review-ability. Often AI will go down a rabbit hole on handling code paths that are impossible making PRs 10x larger than they need to be.



Description
This PR...
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?