Contributions are welcomed via pull requests on GitHub <https://github.com/glotzerlab/hoomd-rs/pulls>__. Contact the hoomd-rs
developers before starting work to ensure it meshes well with the planned
development direction and standards set for the project.
AI is a tool. Like a chainsaw, you could use it with brute force to cut down a tree and leave the brush pile for someone else to deal with. Or you could apply it with finesse and create a beautiful stump carving.
hoomd-rs accepts AI-assisted pull requests and issues where you chose to apply the tool with finesse:
- Use AI to help you understand a problem.
- Use AI to suggest several possible fixes.
- If you absolutely must, use AI to draft code. Then ask it to simplify its code.
- YOU are responsible for understanding every single line you change. If you don't understand, ask your AI to explain it until you do. If you still don't understand, then don't make the change.
- Use AI to review your branch before you submit and save the reviewer's time. Apply any reasonable fixes, as long as you understand them.
hoomd-rs does not accept fully AI-generated pull requests or issue reports:
- DO NOT submit an AI generated pull request description, issue, or comment. Your tool's output is to assist you in making an informed choice. Post pull requests, issues, and comments 100% in your own words. If the reviewers want to see a model's output, they will use their own tool.
- DO NOT submit code changes that you do not understand. You are responsible for 100% of the changes you propose.
Contribute new features to the core hoomd-rs that are likely to be used by
the majority of users. You should publish your own crates for capabilities
that are specific to a small subset of users. Please respect the HOOMD brand
name and choose a name for your crate that does NOT start with hoomd-.
New features should be applicable to a variety of use-cases. The hoomd-rs developers can assist you in designing flexible interfaces.
Base bug fixes, new functionality, and API incompatible changes on trunk.
All changes in a pull request should be closely related. Multiple change sets that are loosely coupled should be proposed in separate pull requests.
All contributors must agree to the Contributor Agreement before their pull request can be merged.
Follow the guidelines established in the Code style section of the documentation.
Add comments in the code, but only when necessary to explain why a particular block of code is structured the way it is.
Your changes should compile without warnings.
Add unit tests for all new functionality.
The developer should run research-scale simulations using the new functionality and ensure that it behaves as intended.
Fully document your code using rustdoc documentation comments. Include at least one doc test for each method, type, and trait. Trivial and obvious methods may omit examples as long as the type's documentation explains the expected behavior.
Update the doc/src/credits.md to list the name and affiliation of each
individual that has contributed to the code.
Propose a concise entry describing the change in release-notes.md.