Objective
Online courses and large classes bring a heavy marking load. Grading homework by hand takes a lot of time, and tired graders make mistakes. The authors of this paper wanted a tool that could grade a special kind of assignment automatically and also give students quick feedback while they practice.
The assignments in this study ask students to run statistics in R, a programming language used for data analysis. Each solution is a list of commands, the output each command produces, and a short written comment in Italian that explains what the result means. For example, a student might have to decide whether a difference between three surgery types is statistically significant, and then say so in a sentence. The tool compares a student's solution with the professor's correct solution and measures how far apart they are. It checks the commands with code analysis and judges the written comments with language processing, which means software that works with human language.
The authors set out to test whether the tool could do three things:
- shorten correction time and help avoid grading errors for the professor;
- support students with automatic feedback while they work on exercises;
- go along with better learning results for students who use it for practice.
They also checked how closely the tool's grades matched the professor's grades, and how well it could tell correct written comments from incorrect ones.
Methods
This was a design-and-evaluation study with several parts. It was not a single controlled experiment, so some results show only that two things went together, not that one caused the other.
Setting and participants
The tool was tested in three courses at the University of L'Aquila in Italy: Health Informatics in the Master's degree in Medicine and Surgery, and Information Systems in the Master's degrees in Prevention Sciences and Nursing Sciences. Students did R exercises as homework and then took a practical exam with the same structure.
How the tool works
The tool lists the commands in a student's solution and counts missing commands, commands with a different output from the professor's, and incorrect comments. These counts, each with a weight, make up a distance from the correct solution, and the distance becomes a grade on the Italian scale of 0 to 30, where 18 is a pass. For the written comments, a classifier (a program that sorts items into groups) labeled each as correct or incorrect. It used sentence embeddings, which turn a sentence into numbers that capture its meaning, plus seven measures of how similar two sentences are. The training set had 1,069 pairs of student and model answers, 663 labeled pass and 406 fail. The authors also tried a more advanced language model called BERT as a comparison.
Evaluations
- Grade agreement: the tool graded 122 solutions to 11 assignments from ten exam rounds, December 2018 to September 2019, and the results were compared with the professor's grades.
- Formative use (practice): 36 students joined voluntarily. They used the tool for feedback while doing homework and answered a short three-question usability questionnaire (rated 1 to 7) and questions about how they used it.
- Marking time: a professor corrected 44 assignments, 21 without the tool and 23 with it, assigned at random.
- Learning outcomes: exam grades were compared for students who did not use the tool, used it at least once, or used it for more than half of the exercises. An engagement questionnaire was also used.
The paper does not mention ethics approval.
Key Findings
Overall, the tool's grades lined up well with the professor's, it saved marking time, and students who used it more tended to have higher exam grades, though the tool made some wrong pass or fail calls.
Classifying written answers
- Sentence embeddings did the main work. Adding the seven similarity measures gave only a slight improvement. Using the similarity measures alone worked for correct answers (an F1 score, a combined accuracy measure, of 0.758) but almost never caught incorrect answers (0.035).
- The BERT model did not converge, so it gave no stable results. The authors think the training set was too small for it.
- Most errors came from answers that were "partially correct", where the wording was imprecise but the professor could see the meaning was right. These cases were hard even for a human grader.
Agreement with the professor
- Across the 122 solutions, the average grade was 24 out of 30 and 18% were not good enough to pass.
- The agreement score (intraclass correlation) between tool and professor was 0.893, which the authors call excellent. The tool explained most of the variation in the professor's grades (R squared of 0.829).
- The tool was a bit stricter than the professor and gave lower grades on average.
- On pass or fail alone, agreement (Cohen's kappa) was 0.71, described as close to satisfactory. Ten solutions the tool judged insufficient and two it judged sufficient were judged the opposite way by the professor, so 12 of 122 were on the wrong side of the pass line.
- The new approach explained 0.089 more of the variation than the authors' earlier version, which had an R squared of 0.740.
Student use and views
- The 36 students rated usability about 5.2 out of 7 for ease and for time, and 5.5 for support information. The authors saw no usability problems.
- Students said they used it to check their exam preparation (62%), to learn the right statistical method (54%) and to understand their mistakes (50%).
- 85% asked for feedback that better explains why an analysis was wrong.
- Most used the tool right before the exam, with a typical gap of two days (the most common gap was one day).
Marking time
- With the tool, the professor needed about 85 seconds per assignment instead of about 148, a 43% reduction. After adjusting for assignment length the reduction was 33%. Both were statistically significant.
- Rechecking the 21 hand-graded assignments with the tool found one more small mistake, caused by a capitalization error by the student.
Exam grades
- Students who never used the tool averaged 21.7 on the exam. Students who used it for at least one exercise averaged 24.7, and those who used it for more than half the exercises averaged 26.3. Both differences from non-users were statistically significant (p = 0.0101 and p = 0.0146).
- Engagement scores did not differ meaningfully between the groups, and engagement did not predict grades well. But only 24 of 125 students (19.4%) filled in that questionnaire.
Implications
For teachers and professors
The results suggest that a tool like this can take over part of the routine grading of structured assignments, where a correct solution exists and answers follow a pattern. In this study it saved the professor roughly a minute per assignment and helped catch a slip. The authors also note that the tool can return wrong pass or fail results, especially near the pass mark. A sensible reading is that a person should review borderline cases, and the paper's own tool is built to include an instructor review.
For students
Students used the tool as a practice checker, mostly the day or two before the exam. They said they wanted feedback that explains why an answer is wrong, not only that it is wrong. Those who practiced more with the tool had higher grades, but this does not show that the tool caused the higher grades.
For developers and course designers
- With about a thousand training examples, sentence embeddings with a standard classifier worked better than a large language model that needed far more data.
- The authors say the approach could apply to other subjects and languages, provided a professor collects pairs of correct and incorrect answers from past exams to tune the classifier for each topic.
- Better explanations in the feedback are the next improvement suggested by what students asked for.
The paper does not give advice for schools or policymakers, and the evidence here is too narrow to support broad rules about replacing human grading.
Limitations
The authors point out several limits. The higher grades of students who used the tool may come from other things, such as motivation or earlier knowledge of R. They checked engagement, but only 24 of 125 students answered that questionnaire, so that check is weak. The tool can also give wrong pass or fail results, especially close to the pass mark. And the correct answers all follow roughly the same template that the professor taught, so the classifier may be picking up on that pattern and its wording clues instead of the real meaning.
The paper does not mention, but there are other things to keep in mind:
- The study took place in one country, at one university, in one subject area (health statistics in R), with one professor doing the grading. Results may not carry over to other settings.
- Students chose whether to use the tool, so the groups were not formed at random. The paper does not say how many students were in each group.
- Only 36 students took part in the practice-use part, and the marking-time test covered 44 assignments.
- The professor's grades were treated as the correct answer, but human graders can disagree with each other.
- The paper does not report a check on whether the exam grades of tool users and non-users were comparable beforehand, other than the argument that the students were unlikely to know R already.
- The paper does not report ethics approval.
Future Directions
The authors say that the way students used the tool points to better ways to structure the feedback, and that these will go into the next version. In particular, students wanted clearer explanations of why an analysis was wrong.
They also say the approach is general and could be tried in other subjects and languages. Each new topic would need a set of correct and incorrect sentence pairs from past exams to tune the classifier. As more student answers are collected, newer language-model approaches, which did not work here, might become possible.
The study leaves several questions open:
- Do students who practice with the tool really learn more, when students are assigned to use it or not at random?
- How well does the tool work with other subjects, other languages and other graders?
- How can the tool avoid wrong pass or fail calls for answers close to the threshold?
- Does the tool depend on the way the professor teaches students to word their answers?
The bottom line: In one Italian university setting, a tool that grades R statistics homework, including short written answers, agreed closely with a professor's grades and cut marking time per assignment by 43%. Students who used it more also had higher exam grades, though they chose to use it, so the link may not be due to the tool. It wrongly passed or failed 12 of 122 solutions, so a human should still look at close calls. The evidence is promising but comes from one course, one grader and a small group of students.
Comments 0
No comments yet. Be the first to share a thought.
Get new research summaries by email
Every new summary, daily at 8:00 AM Eastern (or weekly if you prefer). Unsubscribe in one click.