Thank you for your interest in contributing. This guide will help you get started.
- Fork the repository on GitHub to your own account
- Clone your fork locally:
git clone git@github.com:YOUR_USERNAME/xgboost-interp.git cd xgboost-interp
- Install uv if you haven't already
- Install dependencies:
uv sync
-
Create a feature branch from
main:git checkout -b feature/your-feature-name
-
Make your changes and test locally by running the examples:
uv run python xgboost_interp/examples/iris_classification_example.py uv run python xgboost_interp/examples/california_housing_example.py
-
Run the tests to make sure everything works:
uv run pytest tests/
-
Commit your changes with a clear message:
git add . git commit -m "Add feature: description of your changes"
-
Push your branch to your fork:
git push origin feature/your-feature-name
-
Open a Pull Request on GitHub against the
mainbranch -
Fill out the PR template with:
- A description of what your PR does
- The type of change (bug fix, new feature, etc.)
- Any related issues
- Confirmation that you've completed the checklist items
- Follow existing code patterns and conventions in the repository
- Use clear, descriptive variable and function names
- Add docstrings to new functions and classes
- Keep changes focused and minimal
If you have questions or need help, feel free to open an issue.