Students at the University of Staffordshire have spent the past two years learning to code from AI-generated course material.