Contributing to GRL¶
Thank you for your interest in contributing to Generalized Reinforcement Learning (GRL)!
How to Contribute¶
Reporting Issues¶
If you find a bug or have a suggestion:
- Check if it's already reported in GitHub Issues
-
If not, create a new issue with:
-
Clear description
- Steps to reproduce (for bugs)
- Expected vs. actual behavior
Contributing Code¶
-
Fork the repository
-
Create a branch:
git checkout -b feature/your-feature-name -
Make your changes
-
Test your changes: Ensure all tests pass
- Commit: Use clear, descriptive commit messages
- Push:
git push origin feature/your-feature-name - Create a Pull Request
Contributing Documentation¶
Documentation improvements are highly valued!
- Tutorial chapters:
docs/GRL0/tutorials/ - Implementation guides:
docs/GRL0/implementation/ - Examples and notebooks:
notebooks/
For math-heavy docs:
- Use standard LaTeX:
$...$for inline,$$...$$for display - Preview locally:
mkdocs serve - The documentation site will render math automatically
Code Style¶
- Python: Follow PEP 8
- Docstrings: Use Google style
- Type hints: Preferred for new code
- Comments: Explain "why," not "what"
Running Tests¶
Building Documentation Locally¶
Then visit http://localhost:8000
Questions?¶
Feel free to open an issue for questions or join discussions!
Thank you for contributing to GRL! 🎉