Pymc Testing

Load when writing or modifying pytest tests that touch pymc.Model, pm.sample, or any PyMC model code. Covers pymc.testing.mock_sample, pytest fixtures for Bayesian models, and the distinction between fast structure-only tests (mocking) and slow posterior inference tests. Triggers include: testing PyMC, pytest with pymc, unit tests for Bayesian models, mock sampling, test fixtures for models, CI/CD for PyMC.

pymc-labs Updated

File contents

pymc-labs/python-analytics-skills commit 8aecb19811

Frequently asked questions

npx get-skill add pymc-labs/pymc-testing-2