Integrating Online Learning and Corrective Assignment