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 8aecb19 2 files · 8.8 KB Updated

File contents

pymc-labs/pymc-modeling/tree/main/skills/pymc-testing commit 8aecb19811

Frequently asked questions

npx skillmds@latest add pymc-labs/pymc-testing