Development Guide¶
Environment¶
pip install -e ".[dev]"
pre-commit install
Quality checks¶
ruff check .
mypy alphaforge
pytest
Core platform regression gates¶
When a change touches canonical PIT, data-context, dataset, or operational surfaces from the roadmap, also run:
python -m pytest tests/contracts
python -m benchmarks.pit
Public web contributors¶
For the public loader pack under alphaforge.data.public_web, use the
dedicated public-web source authoring guide.
It covers helper-family selection, registry/export wiring, targeted test
expectations, and the required docs plus Linear plan updates.
Build package¶
python -m build
python -m twine check dist/*
Release flow¶
- Update changelog.
- Create a tag
vX.Y.Z. - Push the tag.
- GitHub Actions release workflow publishes to PyPI.