Assess the quality of a written document using an algorithm that mirrors the human process of grading