-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (25 loc) · 819 Bytes
/
Copy pathMakefile
File metadata and controls
33 lines (25 loc) · 819 Bytes
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
.PHONY: up down install test lint fmt smoke research
up:
docker compose up -d postgres
@echo "Waiting for Postgres..."
@until docker compose exec postgres pg_isready -U workbench -d research_workbench > /dev/null 2>&1; do sleep 1; done
@echo "Postgres is ready."
down:
docker compose down -v
install:
pip install -e ".[dev]"
test:
pytest -q --tb=short
lint:
ruff check src/ tests/
fmt:
ruff format src/ tests/
# Non-LLM regression gate (mocked golden artifact vs frozen baseline).
smoke:
python scripts/ci_gate.py \
--baseline tests/golden/baseline.json \
--current tests/golden/baseline.json \
--tolerance 0.05
# Live end-to-end run (needs GOOGLE_API_KEY + TAVILY_API_KEY).
research:
python scripts/run_research.py --question "What are the trade-offs of ReWOO vs ReAct for tool-using agents?"