[LON-CAPA-users] How to mark certain responses to be hand-graded?

Raeburn, Stuart raeburn at msu.edu
Sat Dec 12 15:29:07 EST 2020


Itay,

Within the <answer type="loncapa/perl"></answer> section inside the customresponse item you could include

if  ($submission =~ /^\s*NA\s*$/) {
    return 'SUBMITTED';        
}

The feedback seen by a student who entered NA would then be: "Your submission has been recorded.", unless the problemstatus parameter was set to "No".

As Course Coordinator submissions of this type will be shown as "u" in the Assessment Chart, and in the Grading Interface for the problem (Content Grades > Manual Grading/View Submissions) for the Submission Status option select "with ungraded submissions" to display students who entered NA.

Stuart Raeburn
LON-CAPA Academic Consortium
________________________________________
From: LON-CAPA-users <lon-capa-users-bounces at mail.lon-capa.org> on behalf of Itay via LON-CAPA-users <lon-capa-users at mail.lon-capa.org>
Sent: Saturday, December 12, 2020 12:19 PM
To: Discussion list for LON-CAPA users
Subject: [LON-CAPA-users] How to mark certain responses to be hand-graded?

Hi

I am setting up a graphical custom-response problem.
In most cases, there would a solution to the question being asked, and the student sould respond with a numerical answer.
However, in rare cases a solution does not exist.

Avoiding these rare cases  in advance or handling them programmatically would require a lot of effort.
In contrast, handling them manually would be easy (because this is a graphical problem).

So I thought to instruct the students, in case they think there is no solution to the problem, to respond with the string 'NA'.  In the customresponse code I would intercept this string and mark the problem for that particular student to be hand-graded.

Is it possible to do?
If yes: how?

Thank you in advance
Itay


More information about the LON-CAPA-users mailing list