In cell 39 of the ipynb you link to there is a call to pm.set_data that your code is missing:
...
with m_13_4:
pm.set_data(new_data)
...
This line sets values of variables for generating posterior predictions for chimp 2. Without this line, you’re generating posterior predictions for every row in the original data, of which there are 504.