refactor get_assessments_for to inprove get_score method's performance