-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (26 loc) · 1.33 KB
/
Copy pathMakefile
File metadata and controls
38 lines (26 loc) · 1.33 KB
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
35
36
37
38
.PHONY: up down logs ps test test-backend test-frontend fmt eval eval-record compare compare-record
up: ## build + start the whole stack
docker compose up --build
down: ## stop the stack
docker compose down
logs: ## tail all logs
docker compose logs -f
ps: ## show service status
docker compose ps
test: ## run backend + frontend test suites
$(MAKE) test-backend
$(MAKE) test-frontend
test-backend: ## run backend tests
docker compose exec -T backend pytest -q
test-frontend: ## run frontend typecheck + build (no unit-test runner yet)
docker compose exec -T frontend npm run build
fmt: ## ruff format + lint the backend
docker compose exec backend ruff format app && docker compose exec backend ruff check --fix app
eval: ## run the Agent A eval baseline (replay; deterministic, keyless)
docker compose exec -T backend python -m app.eval.runner
eval-record: ## record the eval live (needs ANTHROPIC_API_KEY), then replay
docker compose exec -T backend python -m app.eval.runner --record
compare: ## A vs B (memory off/on) on the held-out eval split (replay)
docker compose exec -T backend python -m app.eval.comparison
compare-record: ## record the comparison live (needs ANTHROPIC_API_KEY)
docker compose exec -T backend python -m app.eval.comparison --record