Prefer setLearnerState to setLearnerAttributes