Error in code example: “Bayesian Hierarchical Weighting Adjustment and Survey Inference.”

Just found this related thread from the forum. There seems quite a bit of interest in getting this issue resolved as the application looks very useful.
Thanks so much for all your help.