Implementing a simple toy scenario with probabilistic reasoning in pymc

I am not familiar with the inference method webPPL is using, but the model with Categorical variable also use a reject sampling to do the inference.
In general PyMC does not focus on these type of discrete model as they usually dont scale well.