File size: 910 Bytes
10aced5 3c949de 10aced5 3c949de | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | .PHONY: install run test test-integration lint type-check eval-retail eval-pharma eval
install:
pip install -r requirements.txt
run:
cd backend && uvicorn app:app --reload --host 0.0.0.0 --port 8000
# Unit tests only (default — no server required)
test:
pytest tests/unit -v
# Integration tests — requires running server (make run in another terminal)
test-integration:
pytest tests/integration -v -m integration
lint:
ruff check client/ backend/ tests/
type-check:
mypy client/
eval-retail:
python eval/metrics.py --domain retail
open eval/reports/report_retail.html 2>/dev/null || xdg-open eval/reports/report_retail.html
eval-pharma:
python eval/metrics.py --domain pharma
open eval/reports/report_pharma.html 2>/dev/null || xdg-open eval/reports/report_pharma.html
eval:
python eval/metrics.py
open eval/reports/report_all.html 2>/dev/null || xdg-open eval/reports/report_all.html
|