a digital entity named phi that roams bsky
1# run phi
2dev:
3 uv run uvicorn src.bot.main:app --reload
4
5run:
6 uv run uvicorn src.bot.main:app
7
8# testing
9test:
10 uv run pytest tests/ -v
11
12evals:
13 uv run pytest evals/ -v
14
15evals-basic:
16 uv run pytest evals/test_basic_responses.py -v
17
18evals-memory:
19 uv run pytest evals/test_memory_integration.py -v
20
21# code quality
22fmt:
23 uv run ruff format src/ evals/ tests/
24
25lint:
26 uv run ruff check src/ evals/ tests/
27
28typecheck:
29 uv run ty check src/ evals/ tests/
30
31check: lint typecheck test
32
33# setup reference projects
34setup:
35 @mkdir -p .eggs
36 @[ -d .eggs/void ] || git clone https://tangled.sh/@cameron.pfiffer.org/void.git .eggs/void
37 @[ -d .eggs/penelope ] || git clone https://github.com/haileyok/penelope.git .eggs/penelope
38 @[ -d .eggs/marvin ] || git clone https://github.com/PrefectHQ/marvin.git .eggs/marvin