Policy for AI written code - please comment!
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Quiet
- Domain
- documentation
Research direction
No files or tests are named. Start by reviewing the proposal and its five comments, then determine whether maintainers agree on the policy and where it should be documented. Done means the project has a decided, reviewable policy for AI-generated code.
Written by the indexing model from the issue text.
Description
I think we need a policy for AI written code.
I do not believe "AI written code is not allowed" will work for two reasons a) a good AI will write code we can't tell isn't human, and b) I am already using it :-)
There are two big AI written code risks: 1) pull request complexity, and 2) pull request frequency. I think we need to mitigate both, as I do think whether we use AI code review or not, we still need human code review as well.
So this is my proposal for a policy:
-
AI generated code will be accepted, provided is accompanied with a proper, reviewable issue laying out what it is trying to achieve, and the instructions which were given to the AI. If this issue is not accepted for implementation, we should not accept a pull request against it.
-
No pull request will be accepted that is too complex for the existing team of human reviewers. If real complexity is required, each step must be first documented in an uber-issue, and in one issue per step. If there are too many steps, we will not review and accept it.
-
The project maintainers are the arbiters of the definition of "proper, reviewable" in item 1, and of "too complex" and "too many" in item 2. We recognise that it is possible that some developers will take issue with any such decision. As always, you are free to fork if you do not like our decisions.
Comments welcome. I should say that I have expressly not reviewed the policies of other open source projects, but many of you will.
As an example of the sort of thing that I think is good practice (as in, the sort of thing I can cope with), I am in the process of doing some work on parallelism (with @zequihg50). I propose to put the work underway through this mechanism.
- Dominant language
- Python
- Stars
- 105
- Forks
- 29
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 9
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NCAS-CMS/pyfive
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
further optimisationPossibly taken @bnlawrence claimed this 47 days ago. Open
Difficulty 5/5 Over a week Newbie friendliness 18/100
Maintainers usually reply within 1 day
-
pyfive and hdf5>=2Openinstallation
Difficulty 4/5 3-5 days Newbie friendliness 25/100
NCAS-CMS/pyfive#279 · 2 comments ·
Maintainers usually reply within 1 day
-
VDS datasets silently return NoneMay be free again @bnlawrence claimed this 48 days ago, and no pull request is open. Openbug
Difficulty 3/5 1-2 days Newbie friendliness 68/100
NCAS-CMS/pyfive#275 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
difference in check_dtype for vlen compared to h5pyMay be free again @davidhassell claimed this 152 days ago, and no pull request is open. Openquestion
NCAS-CMS/pyfive#228 · 13 comments · 2 assignees ·
Maintainers usually reply within 1 day
Similar issues
-
eegprep-lean: set channel types from the Zarr group's channel_typePossibly taken @claude claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
sccn/eegprep#668 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
blacklanternsecurity/bbot#3679 ·
Maintainers usually reply within 2 days
-
Link Checker ReportOpenBot Type: Bug Type: Documentation
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
speakeasy-api/speakeasy#2159 ·
Maintainers usually reply within 1 day