<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:13.0pt">I've just tried changing the assigned score values from fractions to decimals and this gives the same results.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.0pt">As another data point, a score of 12/15 in the puzzle with an assigned_score of .8000 comes out as 4.85714285714285 points out of 5 in the course. I am expecting that to be 4 out of 5.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.0pt"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:black">Doug<o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Douglas Mills<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Director of Instructional Technology<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Department of Chemistry<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">University of Illinois<o:p></o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><span style="font-size:13.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.0pt"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="color:black">From: </span>
</b><span style="color:black">"Mills, Douglas G" <dmills@illinois.edu><br>
<b>Date: </b>Wednesday, March 20, 2019 at 10:22 AM<br>
<b>To: </b>Discussion list for LON-CAPA users <lon-capa-users@mail.lon-capa.org><br>
<b>Cc: </b>"Mills, Douglas G" <dmills@illinois.edu><br>
<b>Subject: </b>assigned_score and unexpected results<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:13.0pt">Hi All,</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:13.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:13.0pt">I have a word search activity implemented in Lon-Capa worth 5 course points if completed with no hints. There are 12 words to find plus 3 "starter points" that you can spend on 3 different
 hints for a total of 15 possible points. In the course parameters I've weighted the activity to 5 points. In the activity itself I've used assigned_score as follows:</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:13.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:13.0pt">if($submission eq "12|3"){return (ASSIGNED_SCORE,15/15)}; #12|3 means all words found and no hints used, etc.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:13.0pt">if($submission  eq "12|2"){return (ASSIGNED_SCORE,14/15)};</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:13.0pt">if($submission  eq "12|1"){return (ASSIGNED_SCORE,13/15)};</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:13.0pt">if($submission  eq "12|0"){return (ASSIGNED_SCORE,12/15)};</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:13.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:13.0pt">My expectation then, for example, is that if I complete the puzzle using two hints, in the course I should see 4.333 points awarded.  However, what I'm seeing in the course for that
 outcome is a score of 4.90476190476191 out of 5.  </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:13.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:13.0pt">The Word Search problem itself is a one-part problem with 7 customresponses; however, the score should be coming from only the customresponse with the assigned_score section shown
 above. All of the other 6 customresponses are weighted at 0.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:13.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:13.0pt">So what am I missing?  Thanks!</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:black"> </span><o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:black">Doug</span><o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:black"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:black">Douglas Mills</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:black">Director of Instructional Technology</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:black">Department of Chemistry</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:black">University of Illinois</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
</div>
</body>
</html>