Code for the Pipeline chapter of the Lift Cookbook