Code / Makefile
Makefile
46 lines
# =============================================================================
# Project : anomaly-atlas
# File : Makefile
# Purpose : Top-level tasks: setup, lint, test, headers, manifest, web
# Author : Simon-Pierre Boucher
# Contact : contact@spboucher.ai
# Data src : hfmarketdata.io (sole data source)
# Created : 2026-08-12
# Modified : 2026-08-12
# Platform : macOS / Apple Silicon (arm64)
# License : All rights reserved (research code)
# =============================================================================
PYTHON ?= python3
.PHONY: setup lint test headers manifest fetch scan validate web
setup:
$(PYTHON) -m venv .venv
.venv/bin/pip install -e ".[dev]"
lint:
.venv/bin/ruff check src tools benchmarks experiments
.venv/bin/ruff format --check src tools benchmarks experiments
test:
.venv/bin/pytest -q
headers:
$(PYTHON) tools/check_headers.py
manifest:
$(PYTHON) benchmarks/hardware_manifest.py
fetch:
@echo "anomaly-atlas fetch not yet implemented (Phase 0.5 — Experiment A first)"; exit 1
scan:
@echo "anomaly-atlas scan not yet implemented (Phase 5+ — detectors must pass synthetic tests first)"; exit 1
validate:
@echo "anomaly-atlas validate not yet implemented (Phase 9 — methodology.md first)"; exit 1
web:
cd web && ./sync-content.sh && npm start