Hi Gene
Thank you for the quick response and the good idea.
I implemented it in a way that is demonstrated by the enclosed minimal example.
(The use of 'ASSIGNED_SCORE' I grabbed from the author guide page 48.)
Is this the way to go?
And a follow-up question --
To confirm the assignment of the score do I have to publish the problem and
import it into a course?
Or, is there a way to show it in author space?
Thanks!
Itay
Minimal example follows:
<problem>
<startouttext />
Write down a solution to the quadratic equation <algebra>x^2 + 2x + 3 =
0</algebra>. <br />
Write the string 'NA' in case there is no solution.
<endouttext />
<customresponse id="11">
<answer type="loncapa/perl">
if ($submission =~ /^\s*NA\s*$/) { return('ASSIGNED_SCORE', 150); }
# Here, in a full problem, would go code that handles the other cases.
return 'INCORRECT';
</answer>
<textline readonly="no" />
</customresponse>
</problem>
On Sat, 12 Dec 2020, at 21:04, Harding, Gene L wrote:
> Hi Itay,
>
> I have never done this, but have noticed this semester that, when I create
> dropboxes for assignments, there is a parameter “handgrade” that I do not see
> in my normal quiz questions. I just tried, and was not able to “force” the
> Hand Grade parameter to show up for one of my quiz questions, so I’m not sure
> if it is possible.
>
> If not, perhaps you could set a code in one of the other parameters. It would
> be a bit kludgy, but what if you set the score to 150 instead of somewhere in
> the 0-100 range to “flag” those problems? When you download the grades to a
> spreadsheet you could sort them by score. Any 150’s would be at the top so
> you would know which ones to hand grade. This is not a great solution, and
> hopefully someone will have a better idea, but if not, since they are rare
> perhaps something like that could work…
>
> Best regards,
>
> Gene L. Harding, PE
> Associate Professor of ECET
>
> *From:* LON-CAPA-users <[email protected]> *On Behalf
> Of *Itay via LON-CAPA-users
> *Sent:* Saturday, December 12, 2020 12:19 PM
> *To:* Discussion list for LON-CAPA users <[email protected]>
> *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
_______________________________________________
LON-CAPA-users mailing list
[email protected]
http://mail.lon-capa.org/mailman/listinfo/lon-capa-users