If you find a bug in DOLFINx, please report it on the GitHub issue tracker.
If you want to suggest a new feature or an improvement of a current feature, you can submit this on the issue tracker.
To contribute code DOLFINx, create a pull request. If you want to contribute, but are unsure where to start, have a look at the issues labelled "good first issue". For substantial changes/contributions, please start with an issue or start a discussion on Slack.
On opening a pull request, unit tests will run on GitHub CI. You can click on these in the pull request to see where (if anywhere) the tests are failing.
We expect all our contributors to follow the code of conduct.
DOLFINx follows the same basic principle as the Linux kernel guidance on AI-assisted contributions: AI tools may assist, but the human contributor is fully responsible for the submitted work.
If an AI or code-generation tool materially contributed to a pull request, please disclose this in the PR description. Trivial autocomplete, formatting, spelling fixes, or mechanical editor assistance do not need disclosure.
The contributor must:
- understand every change submitted,
- verify that the change is correct,
- ensure that licensing requirements are satisfied,
- test the change appropriately,
- respond to review comments without treating the AI tool as an authority.
Do not submit code, tests, documentation, explanations, references, or benchmarks that you cannot personally explain and defend. Generated content may be wrong, irrelevant, insecure, inefficient, or license-incompatible.
Include a short note such as:
AI assistance: I used <tool/model> to draft parts of this PR. I reviewed,
edited, tested, and take responsibility for the final contribution.