Can you share a minimal example? I’m not sure what to make of key errors
We are planning to divide the example you cite in two, one for posterior predictive sampling, the other for predictive checks (prior or posterior), see prior and posterior predictive checks · Issue #69 · pymc-devs/pymc-examples · GitHub