Student homework completion by generative AI