Re: [LON-CAPA-users] Custom Response Partial Credit

2018-05-18 Thread Jacob Bond
10:27:33 PM To: Discussion list for LON-CAPA users Subject: Re: [LON-CAPA-users] Custom Response Partial Credit Hi Jacob, Thank you. I have managed to get it to respond correctly (red incorrect of total_score==0, tan partial credit if 0<total_score<1, and green correct if total_score==1). I ha

Re: [LON-CAPA-users] Custom Response Partial Credit

2018-05-18 Thread Harding, Gene L
From: LON-CAPA-users <lon-capa-users-boun...@mail.lon-capa.org> On Behalf Of Jacob Bond Sent: Friday, May 18, 2018 7:45 PM To: Discussion list for LON-CAPA users <lon-capa-users@mail.lon-capa.org> Subject: Re: [LON-CAPA-users] Custom Response Partial Credit Hi Gene, You're right th

Re: [LON-CAPA-users] Custom Response Partial Credit

2018-05-18 Thread Jacob Bond
list for LON-CAPA users Subject: [LON-CAPA-users] Custom Response Partial Credit Hi, I rewrote the problem I have been working on so that it is now a custom response, but am having trouble getting it to properly grade the problem submission. This is the code for grading inside the

[LON-CAPA-users] Custom Response Partial Credit

2018-05-18 Thread Harding, Gene L
Hi, I rewrote the problem I have been working on so that it is now a custom response, but am having trouble getting it to properly grade the problem submission. This is the code for grading inside the answer block: if ($total_score == 1) { return 'EXACT_ANS'; } elsif