Thanks for your interest in improving DRIP! This guide covers the essentials.
-
Create the environment (see the README):
bash setup_env.sh conda activate prompt
-
Install the development tooling:
pip install pytest ruff
-
Lint with the shared configuration:
ruff check . -
Run the unit tests:
pytest
GPU/model tests are skipped automatically when
torchis unavailable, so the suite runs quickly on CPU-only machines. -
Keep changes focused, and write a clear PR description (what changed and why).
-
Match the style of the surrounding code. New comments and docstrings should be in English.
Please open an issue with a minimal reproduction: the exact command you ran, and the observed vs. expected behavior.
All participants are expected to follow the Code of Conduct.