Cache the group assignments for faster generation of the “next student in set” on student details page