Development Setup¶
Prerequisites¶
- Python 3.12 or later
gitpip
Clone the repository¶
Create a virtual environment¶
Install development dependencies¶
This installs the package in editable mode along with pytest, ruff, and other dev tooling.
Run the test suite¶
Expect 267 tests passing across 14 test files.
Run a single test¶
Lint the codebase¶
Run evaluation locally¶
Evaluation recomputes the baseline against the pinned corpus:
This requires the corpus to be checked out. See Re-baselining for details.
Debug a single package¶
This runs the full analysis pipeline on one AUR package and prints the per-rule breakdown, evidence, and final score.