-
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.1 KB
/
Makefile
File metadata and controls
38 lines (26 loc) · 1.1 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: setup preflight full-run ingest-full ingest-incremental quality-check benchmark ragas-eval retention-check health-ready test clean
setup:
uv venv
. .venv/bin/activate && uv pip install -e '.[dev]'
preflight:
python -m src.pipeline preflight
full-run:
python -m src.pipeline full-run --n 30 --top-k 5 --questions data/eval/questions.json --benchmark-cases data/benchmark/cases.jsonl --lang ru
ingest-full:
python -m src.pipeline ingest-full --n 30 --lang ru
ingest-incremental:
python -m src.pipeline ingest-incremental --lang ru
quality-check:
python -m src.pipeline quality-check --golden data/golden/golden_relations.jsonl --lang ru
benchmark:
python -m src.pipeline benchmark --cases data/benchmark/cases.jsonl --top-k 5 --lang ru
ragas-eval:
python -m src.pipeline evaluate-ragas --questions data/eval/questions.json --top-k 5 --lang ru
retention-check:
python -m src.pipeline retention-check --profile dev
health-ready:
python -m src.pipeline health --mode ready
test:
python -m pytest -q
clean:
rm -rf data/raw/* data/processed/* data/ingest/* data/governance/* data/ops/* .pytest_cache