Learning from assessment events: the role of goal knowledge