Code for the SPINS QA pipelines