This project uses an AI-first development workflow. Most features, bug fixes, and improvements are implemented through AI coding agents (Claude Code, GitHub Copilot, OpenAI Codex) working from structured issue descriptions.
-
Issues are the starting point — Every task begins as a GitHub issue with a structured format: an overview, a human-readable plan, a detailed implementation plan (in a collapsible block), and optionally the original prompt that generated the issue.
-
AI agents pick up issues — Issues can be assigned to AI coding agents (e.g. GitHub Copilot) which read the issue description,
AGENTS.md, andCLAUDE.mdfor context, then implement the changes autonomously. -
Human review — All AI-generated pull requests are reviewed by maintainers before merging.
When opening an issue, please use the provided issue templates. The Feature / Task Request template follows our standard format:
- Overview — What and why, in 2-4 sentences
- Plan — High-level bullet points (human-readable)
- Detailed implementation plan — File paths, steps, key files (in a collapsible block)
- Original Prompt — If you used an AI to help draft the issue, include the original prompt
If your feature involves a specific calculation, algorithm, or small piece of functionality — include example code. Even a rough script, a working prototype, or a snippet showing the existing behaviour you want to change makes a huge difference. Code examples give AI agents and human contributors concrete context to work from, and dramatically reduce misunderstandings about what you're asking for.
This structure ensures that both human contributors and AI agents can understand and act on the issue effectively.
Traditional contributions are equally welcome! If you prefer to work without AI tools, simply follow the development setup and pull request guidelines below. The issue templates are helpful for any contributor, AI or human.
Contributions are welcome and greatly appreciated!
Report bugs at https://github.com/rhayes777/PyAutoFit/issues
If you are playing with the PyAutoFit library and find a bug, please reporting it including:
- Your operating system name and version.
- Any details about your Python environment.
- Detailed steps to reproduce the bug.
The best way to send feedback is to open an issue at https://github.com/rhayes777/PyAutoFit/issues with tag enhancement.
If you are proposing a new NonLinearSearch or a new feature:
- Explain in detail how it should work.
- Keep the scope as narrow as possible, to make it easier to implement.
Look through the Git issues for operator or feature requests. Anything tagged with enhancement is open to whoever wants to implement it.
Writing new features is not the only way to get involved and contribute. Create examples with existing non-linear searches as well as improving the documentation of existing operators is as important as making new non-linear searches and very much encouraged.
Ready to contribute?
-
Follow the installation instructions for installing PyAutoFit from source root on our readthedocs.
-
Create a branch for local development:
git checkout -b name-of-your-branchNow you can make your changes locally.
-
When you're done making changes, check that old and new tests pass succesfully:
cd PyAutoFit/test_autofit python3 -m pytest -
Commit your changes and push your branch to GitLab::
git add . git commit -m "Your detailed description of your changes." git push origin name-of-your-branchRemember to add
-uwhen pushing the branch for the first time. -
Submit a pull request through the GitHub website.
Before you submit a pull request, check that it meets these guidelines:
- The pull request should include new tests for all the core routines that have been developed.
- If the pull request adds functionality, the docs should be updated accordingly.