update
This commit is contained in:
16
Makefile
16
Makefile
@@ -1,4 +1,4 @@
|
||||
.PHONY: install dev prod stop logs remove auth sync sync-projects sync-all sync-all-reverse projects searxng ollama qa
|
||||
.PHONY: install dev prod stop logs remove auth sync sync-projects sync-all sync-all-reverse projects searxng ollama qa test test-e2e train
|
||||
|
||||
COMPOSE = docker compose
|
||||
|
||||
@@ -114,3 +114,17 @@ qa-guide:
|
||||
cd backend && python3 guide_qa.py "$(TOPIC)" $(if $(LLM),--llm,)
|
||||
|
||||
projects: sync-projects
|
||||
|
||||
# Backend-Testsuite (Injektionstests + Fake-E2E, keine echten Agenten)
|
||||
test:
|
||||
cd backend && python3 -m pytest tests/ -q
|
||||
|
||||
# Nur die Fake-E2E-Läufe (kompletter Generierungspfad in Sekunden)
|
||||
test-e2e:
|
||||
cd backend && python3 -m pytest tests/test_e2e_fake.py -q
|
||||
|
||||
# Parameter-Training auf Mini-Themen: make train [TRIALS=40] [STUNDEN=12]
|
||||
# Achtung: jeder Trial ist ein echter Mini-Lauf (MiniMax-Tokens, Minuten).
|
||||
train:
|
||||
@set -a; [ -f .env ] && . ./.env; set +a; \
|
||||
cd backend && python3 train.py --trials $(or $(TRIALS),40) --stunden $(or $(STUNDEN),12)
|
||||
|
||||
Reference in New Issue
Block a user