Installation

Use Python 3.11 or newer.

Install from a source checkout

git clone https://github.com/tandpds/marketbayesmeta.git
cd marketbayesmeta

python -m venv .venv
source .venv/bin/activate
python -m pip install -e ".[dev]"

Confirm that model dependencies import from the repository virtual environment:

which python
python - <<'PY'
import pymc
import numpy
print("pymc", pymc.__version__)
print("numpy", numpy.__version__)
PY

If PyMC fails to import, recreate .venv before running model fits. Tracker and config validation are still useful without sampling, but analysis runs require a working PyMC/ArviZ stack.

Avoid mixed base conda/user-site environments for release validation. Either activate .venv or prefix checks with:

PATH=.venv/bin:$PATH make check-statistical

Developer checks

make check
make check-statistical

make check is required before finalising code or documentation changes. make check-statistical runs sampling-based contract tests and should pass in the environment used for model work.

Next steps