BENCH_PY ?= ../infospace-bench/.venv/bin/python

.PHONY: bench-test bench-plan schema-test
bench-test:
	PYTHONDONTWRITEBYTECODE=1 "$(BENCH_PY)" -m pytest -q -p no:cacheprovider tests/test_research_bench.py tests/test_research_admission.py

bench-plan:
	"$(BENCH_PY)" scripts/research_bench.py plan research/bench/infospaces/fixture-smoke

schema-test:
	PYTHONDONTWRITEBYTECODE=1 "$(BENCH_PY)" -m pytest -q -p no:cacheprovider tests/test_pattern_contract.py

.PHONY: evolution-report evolution-check evolution-test
evolution-report:
	python3 scripts/research_evolution.py generate

evolution-check:
	python3 scripts/research_evolution.py check

evolution-test:
	PYTHONDONTWRITEBYTECODE=1 "$(BENCH_PY)" -m pytest -q -p no:cacheprovider tests/test_research_evolution.py
