Contributing
Guidelines for contributing to Zygotrix.
Getting Started
- Fork the repository
- Clone your fork
- Create a feature branch
- Make your changes
- Submit a pull request
Development Setup
# Clone
git clone https://github.com/YOUR_USERNAME/Zygotrix.git
cd Zygotrix
# Backend setup
cd backend
python -m venv .venv
source .venv/bin/activate # or .venv\Scripts\activate on Windows
pip install -r requirements.txt
# C++ engine (if modifying)
cd ../zygotrix_engine_cpp
cmake -B build -S .
cmake --build build
# Frontend (if modifying)
cd ../zygotrix_ai
npm install
Branch Naming
| Type | Format | Example |
|---|---|---|
| Feature | feature/description | feature/add-gwas-visualization |
| Bug fix | fix/description | fix/punnett-square-error |
| Docs | docs/description | docs/update-api-reference |
Commit Messages
Follow conventional commits:
feat: add GWAS visualization
fix: correct Punnett square calculation
docs: update API documentation
refactor: simplify auth service
test: add trait search tests
Pull Request Process
- Update documentation if needed
- Add tests for new features
- Ensure all tests pass
- Request review from maintainers
- Address feedback
What to Contribute
Good First Issues
- Documentation improvements
- Bug fixes with existing tests
- Small feature enhancements
Larger Contributions
- New genetics tools
- Performance improvements
- New AI chatbot capabilities
Code of Conduct
- Be respectful and inclusive
- Provide constructive feedback
- Help others learn