<!DOCTYPE html><html><head><title></title><style type="text/css">#qt p.qt-MsoNormal{margin-top:0in;margin-right:0in;margin-left:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:"Calibri", sans-serif;}
#qt a:link{color:rgb(5, 99, 193);text-decoration-line:underline;text-decoration-style:solid;text-decoration-color:currentcolor;text-decoration-thickness:auto;}
#qt a:visited{color:rgb(149, 79, 114);text-decoration-line:underline;text-decoration-style:solid;text-decoration-color:currentcolor;text-decoration-thickness:auto;}

p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div style="font-family:Arial;">Hi Gene<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">Thank you for the quick response and the good idea.<br></div><div style="font-family:Arial;">I implemented it in a way that is demonstrated by the  enclosed minimal example.<br></div><div style="font-family:Arial;">(The use of 'ASSIGNED_SCORE' I grabbed from the author guide page 48.)<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">Is this the way to go?<br></div><div style="font-family:Arial;">And a follow-up question --<br></div><div style="font-family:Arial;">To confirm the assignment of the score do I have to publish the problem and import it into a course?<br></div><div style="font-family:Arial;">Or, is there a way to show it in author space?<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">Thanks!<br></div><div style="font-family:Arial;">Itay<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">Minimal example follows:<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;"><problem><br></div><div style="font-family:Arial;">  <startouttext /><br></div><div style="font-family:Arial;">  Write down a solution to the quadratic equation <algebra>x^2 + 2x + 3 = 0</algebra>.  <br /><br></div><div style="font-family:Arial;">  Write the string 'NA' in case there is no solution.<br></div><div style="font-family:Arial;">  <endouttext /><br></div><div style="font-family:Arial;">  <customresponse id="11"><br></div><div style="font-family:Arial;">    <answer type="loncapa/perl"><br></div><div style="font-family:Arial;">      if ($submission =~ /^\s*NA\s*$/)        { return('ASSIGNED_SCORE', 150); }<br></div><div style="font-family:Arial;">      # Here, in a full problem, would go code that handles the other cases.<br></div><div style="font-family:Arial;">      return 'INCORRECT';<br></div><div style="font-family:Arial;">    </answer><br></div><div style="font-family:Arial;">    <textline readonly="no" /><br></div><div style="font-family:Arial;">  </customresponse><br></div><div style="font-family:Arial;"></problem><br></div><div style="font-family:Arial;"></div><div style="font-family:Arial;"><br></div><div>On Sat, 12 Dec 2020, at 21:04, Harding, Gene L wrote:<br></div><blockquote type="cite" id="qt" style=""><div class="qt-WordSection1"><p class="qt-MsoNormal"><span style=""><span class="size" style="font-size:12pt;">Hi Itay,</span></span><br></p><p class="qt-MsoNormal"><span style=""><span class="size" style="font-size:12pt;"> </span></span><br></p><p class="qt-MsoNormal"><span style=""><span class="size" style="font-size:12pt;">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.</span></span><br></p><p class="qt-MsoNormal"><span style=""><span class="size" style="font-size:12pt;"> </span></span><br></p><p class="qt-MsoNormal"><span style=""><span class="size" style="font-size:12pt;">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…</span></span><br></p><p class="qt-MsoNormal"><span style=""><span class="size" style="font-size:12pt;"> </span></span><br></p><p class="qt-MsoNormal"><span style=""><span class="size" style="font-size:12pt;">Best regards,</span></span><br></p><p class="qt-MsoNormal"><span style=""><span class="size" style="font-size:12pt;"> </span></span><br></p><div><p class="qt-MsoNormal"><span style=""><span class="size" style="font-size:12pt;">Gene L. Harding, PE</span></span><br></p><p class="qt-MsoNormal"><span style=""><span class="size" style="font-size:12pt;">Associate Professor of ECET</span></span><br></p></div><p class="qt-MsoNormal"><span style=""><span class="size" style="font-size:12pt;"> </span></span><br></p><div><div style="border-right-color:currentcolor;border-right-style:none;border-right-width:medium;border-bottom-color:currentcolor;border-bottom-style:none;border-bottom-width:medium;border-left-color:currentcolor;border-left-style:none;border-left-width:medium;border-image-outset:0;border-image-repeat:stretch;border-image-slice:100%;border-image-source:none;border-image-width:1;border-top-color:rgb(225, 225, 225);border-top-style:solid;border-top-width:1pt;padding-top:3pt;padding-right:0in;padding-bottom:0in;padding-left:0in;"><p class="qt-MsoNormal"></p><div><b>From:</b> LON-CAPA-users <lon-capa-users-bounces@mail.lon-capa.org> <b>On Behalf Of </b>Itay via LON-CAPA-users<br></div><div> <b>Sent:</b> Saturday, December 12, 2020 12:19 PM<br></div><div> <b>To:</b> Discussion list for LON-CAPA users <lon-capa-users@mail.lon-capa.org><br></div><div> <b>Subject:</b> [LON-CAPA-users] How to mark certain responses to be hand-graded?<br></div><p></p></div></div><p class="qt-MsoNormal"> <br></p><div><p class="qt-MsoNormal"><span style=""><span class="font" style="font-family:"Arial", sans-serif;">Hi</span></span><br></p></div><div><p class="qt-MsoNormal"><span style=""><span class="font" style="font-family:"Arial", sans-serif;"> </span></span><br></p></div><div><p class="qt-MsoNormal"><span style=""><span class="font" style="font-family:"Arial", sans-serif;">I am setting up a graphical custom-response problem.</span></span><br></p></div><div><p class="qt-MsoNormal"><span style=""><span class="font" style="font-family:"Arial", sans-serif;">In most cases, there would a solution to the question being asked, and the student sould respond with a numerical answer.</span></span><br></p></div><div><p class="qt-MsoNormal"><span style=""><span class="font" style="font-family:"Arial", sans-serif;">However, in rare cases a solution does not exist.</span></span><br></p></div><div><p class="qt-MsoNormal"><span style=""><span class="font" style="font-family:"Arial", sans-serif;"> </span></span><br></p></div><div><p class="qt-MsoNormal"><span style=""><span class="font" style="font-family:"Arial", sans-serif;">Avoiding these rare cases  in advance or handling them programmatically would require a lot of effort.</span></span><br></p></div><div><p class="qt-MsoNormal"><span style=""><span class="font" style="font-family:"Arial", sans-serif;">In contrast, handling them manually would be easy (because this is a graphical problem).</span></span><br></p></div><div><p class="qt-MsoNormal"><span style=""><span class="font" style="font-family:"Arial", sans-serif;"> </span></span><br></p></div><div><p class="qt-MsoNormal"><span style=""><span class="font" style="font-family:"Arial", sans-serif;">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.</span></span><br></p></div><div><p class="qt-MsoNormal"><span style=""><span class="font" style="font-family:"Arial", sans-serif;"> </span></span><br></p></div><div><p class="qt-MsoNormal"><span style=""><span class="font" style="font-family:"Arial", sans-serif;">Is it possible to do?</span></span><br></p></div><div><p class="qt-MsoNormal"><span style=""><span class="font" style="font-family:"Arial", sans-serif;">If yes: how?</span></span><br></p></div><div><p class="qt-MsoNormal"><span style=""><span class="font" style="font-family:"Arial", sans-serif;"> </span></span><br></p></div><div><p class="qt-MsoNormal"><span style=""><span class="font" style="font-family:"Arial", sans-serif;">Thank you in advance</span></span><br></p></div><div><p class="qt-MsoNormal"><span style=""><span class="font" style="font-family:"Arial", sans-serif;">Itay</span></span><br></p></div></div></blockquote><div style="font-family:Arial;"><br></div></body></html>