Thank you for considering a contribution to rl-insight! We welcome contributions of any kind - bug fixes, enhancements, documentation improvements, or even just feedback. Whether you're an experienced developer or this is your first open-source project, your help is invaluable.
Your support can take many forms:
- Report issues or unexpected behaviors.
- Suggest or implement new features.
- Improve or expand documentation.
- Review pull requests and assist other contributors.
- Spread the word: share rl-insight in blog posts, social media, or give the repo a ⭐.
Looking for ways to dive in? Check out these issues:
- Good first issues
- Call for contribution Furthermore, you can learn the development plan and roadmap via RFC and Roadmap.
- Create and activate a Python virtual environment (Python >= 3.9).
- Install the project in editable mode:
pip install -e ".[test]"When developing or testing Recipe, include its optional dependencies:
pip install -e ".[recipe,test]"We rely on pre-commit to keep our code consistent. To set it up:
pip install pre-commit
pre-commit install
# for staged changes
pre-commit run
# for all files in the repo
pre-commit run --all-files
# run a specific hook (example)
pre-commit run --all-files --show-diff-on-failure --color=always ruff
pre-commit run --all-files --show-diff-on-failure --color=always mypyRun the test suite locally:
pytestIf possible, please add CI test(s) for your new feature:
- Find the most relevant workflow file under
.github/workflows/. - Add related path patterns to the
pathssection if not already included. - Minimize the workload of the test script(s) (see existing workflows for examples).
Currently the documentation is maintained as markdown files under the docs/ directory.
You can preview them locally with any markdown viewer or render them using your preferred static site generator.
Thanks for submitting a PR! To streamline reviews:
- Follow our Pull Request Template for title format and checklist.
- Adhere to our pre-commit lint rules and ensure all checks pass.
- Update docs for any user-facing changes.
- Add or update tests in the CI workflows, or explain why tests aren't applicable.
See the LICENSE file for full details.
We appreciate your contributions to rl-insight. Your efforts help make the project stronger and more user-friendly. Happy coding!