|
| 1 | +# Contributing |
| 2 | + |
| 3 | +Thanks for your interest in contributing to `ragcitecheck`. |
| 4 | + |
| 5 | +## Development setup |
| 6 | + |
| 7 | +Clone the repo and create a virtual environment. |
| 8 | + |
| 9 | +### Windows |
| 10 | + |
| 11 | +```bash |
| 12 | +py -3.13 -m venv .venv313 |
| 13 | +.venv313\Scripts\activate |
| 14 | +python -m pip install --upgrade pip setuptools wheel |
| 15 | +pip install -r requirements.txt |
| 16 | +pip install -e . |
| 17 | +pip install pytest |
| 18 | +``` |
| 19 | + |
| 20 | +### macOS / Linux |
| 21 | + |
| 22 | +```bash |
| 23 | +python3.13 -m venv .venv313 |
| 24 | +source .venv313/bin/activate |
| 25 | +python -m pip install --upgrade pip setuptools wheel |
| 26 | +pip install -r requirements.txt |
| 27 | +pip install -e . |
| 28 | +pip install pytest |
| 29 | +``` |
| 30 | + |
| 31 | +## Running tests |
| 32 | + |
| 33 | +Run the smoke tests with: |
| 34 | + |
| 35 | +```bash |
| 36 | +pytest -q |
| 37 | +``` |
| 38 | + |
| 39 | +## Project scope |
| 40 | + |
| 41 | +`ragcitecheck` focuses on evidence stability diagnostics for RAG pipelines, including: |
| 42 | + |
| 43 | +- document-level citation overlap |
| 44 | +- span-level evidence overlap |
| 45 | +- per-query instability summaries |
| 46 | +- lightweight validation and reporting workflows |
| 47 | + |
| 48 | +Please keep changes aligned with this scope. |
| 49 | + |
| 50 | +## Pull requests |
| 51 | + |
| 52 | +Please open pull requests against the `dev` branch. |
| 53 | + |
| 54 | +A good PR should: |
| 55 | + |
| 56 | +- keep changes focused and small |
| 57 | +- include tests when behavior changes |
| 58 | +- avoid committing generated outputs or large artifacts |
| 59 | +- update docs when CLI behavior or input format changes |
| 60 | + |
| 61 | +## Repo hygiene |
| 62 | + |
| 63 | +Please do not commit: |
| 64 | + |
| 65 | +- `__pycache__` |
| 66 | +- `.egg-info` |
| 67 | +- local virtual environments |
| 68 | +- generated reports |
| 69 | +- benchmark output folders |
| 70 | +- zip archives |
| 71 | +- large experiment artifacts |
| 72 | + |
| 73 | +## Reporting issues |
| 74 | + |
| 75 | +If you open an issue, it is helpful to include: |
| 76 | + |
| 77 | +- the command you ran |
| 78 | +- the input format used |
| 79 | +- the exact error message |
| 80 | +- Python version |
| 81 | +- operating system |
0 commit comments