Adapting Assignments for Online Learning