code for paper on automating confounder control methods