.PHONY: install test lint format eval eval-quick eval-longmemeval eval-usage docs

install:
	uv sync

test:
	uv run pytest

lint:
	uv run ruff check .
	uv run ruff format --check .

format:
	uv run ruff check --fix .
	uv run ruff format .

eval:
	uv run python eval/run.py

eval-quick:
	uv run python eval/run.py --quick

# Need GROQ_API_KEY (in .env or the environment); LLM replies are cached in eval/.cache
eval-longmemeval:
	uv run python eval/longmemeval.py

eval-usage:
	uv run python eval/rule_usage.py

docs:
	uv run --group docs mkdocs build --strict
