RankLLM Contribution flow
- Fork + submit PRs.
- PRs should have appropriate documentation describing change.
- If PR makes modifications that warrant testing, provide tests
- If change may impact efficiency, run benchmarks before change and after change for validation.
- Every PR should be formatted. Below are the instructions to do so:
- Bootstrap the repo-local development environment with
uv python install 3.11,uv venv --python 3.11,source .venv/bin/activate, anduv sync --group dev - Run the following command in the project root to set up pre-commit and pre-push hooks (all commits through git UI will automatically be formatted):
uv run pre-commit install --install-hooks --hook-type pre-commit --hook-type pre-push - To manually make sure your code is correctly formatted and lint-clean, run
uv run pre-commit run --all-files - To run Ruff directly, use
uv run ruff check .anduv run ruff format .
- Bootstrap the repo-local development environment with
- Run from the root directory the unit tests with
uv run python -m unittest discover test - Update the
pyproject.tomlif applicable
Use the following shape for PR descriptions so reviews stay consistent:
ref:issue number orN/ASummaryWhyValidationFollow-ups
For packaging or CI changes, include a compact before/after note that shows the install or workflow change clearly.
We use GitHub issues to track public bugs and features requests. Please ensure your description is coherent and has provided all instructions to be able to reproduce the issue or to be able to implement the feature.
By contributing to RankLLM, you agree that your contributions will be licensed under the LICENSE file in the root directory of this source tree.