From hng at fsu.edu Sat Jan 9 13:57:34 2021 From: hng at fsu.edu (H.K. Ng) Date: Sat, 9 Jan 2021 18:57:34 +0000 Subject: [LON-CAPA-users] Partial credit in custom response Message-ID: Hi, Is there a way to assign partial credit in customresponse? There are two parameters, 'SUBMITTED_CREDIT' and 'ASSIGNED_SCORE that would indicate that this is possible. If so, how are they used? Thanks. Regards, -hk -------------- next part -------------- An HTML attachment was scrubbed... URL: From raeburn at msu.edu Tue Jan 12 11:24:09 2021 From: raeburn at msu.edu (Raeburn, Stuart) Date: Tue, 12 Jan 2021 16:24:09 +0000 Subject: [LON-CAPA-users] Partial credit in custom response In-Reply-To: References: Message-ID: HK, To assign partial credit in a customresponse item, return 'ASSIGNED_SCORE', $score where $score is a number between 0 and 1, from within the block when the student's submission satisfies your criteria for earning partial credit, but not full credit. e.g., if (abs($submission-$answer) < 0.00001) { return 'APPROX_ANS'; } elsif (abs($submission-$answer) < 0.1) { return ('ASSIGNED_SCORE',0.5); } return 'INCORRECT'; There are three awards applied when the questiontype parameter in effect is a survey or anonymous survey, which are not listed in the "Full list of possible return codes" included in section 7.12 "Custom Response Problems" in the Authoring Manual: SUBMITTED_CREDIT, ANONYMOUS, and ANONYMOUS_CREDIT. LON-CAPA will automatically replace the award set by the customresponse item if it was one of INCORRECT, APPROX_ANS or EXACT_ANS, and in the case of the two *_CREDIT awards will award a score of 1.0, regardless of whether the student's submission was 'correct' or not. The intent of SUBMITTED_CREDIT and ANONYMOUS_CREDIT is to assign credit to students for making a submission to a survey item (which could be any type of response item). The questiontype parameter is used to assign a problem as survey, anonymous survey (with or without credit). I have just committed a minor change to LON-CAPA so that for questiontype of survey with a customresponse which returns ASSIGNED_SCORE, the behavior will be the same as for INCORRECT, APPROX_ANS or EXACT_ANS. See: mail.lon-capa.org/pipermail/lon-capa-cvs/Week-of-Mon-20210111/029319.html Stuart Raeburn LON-CAPA Academic Consortium ________________________________________ From: LON-CAPA-users on behalf of H.K. Ng via LON-CAPA-users Sent: Saturday, January 9, 2021 1:57 PM To: Discussion list for LON-CAPA users Subject: [LON-CAPA-users] Partial credit in custom response Hi, Is there a way to assign partial credit in customresponse? There are two parameters, 'SUBMITTED_CREDIT' and 'ASSIGNED_SCORE that would indicate that this is possible. If so, how are they used? Thanks. Regards, -hk From masten at egr.msu.edu Sat Jan 30 14:11:30 2021 From: masten at egr.msu.edu (Susan Masten) Date: Sat, 30 Jan 2021 14:11:30 -0500 Subject: [LON-CAPA-users] Student teams (groups) In-Reply-To: References: Message-ID: Greetings and I hope you're all having a relaxing weekend. I have an excel file where I've assigned students to teams (groups). Is there an easy way to assign them to the same teams on LON-CAPA? I'm not seeing anything in the new manual. Thanks Susan Masten Michigan State University -- Be well, keep hope, seek justice. Privileged to be working at home. -- Susan J. Masten, Ph.D., P.E. Professor Department of Civil and Environmental Engineering Engineering Building 3505 428 S. Shaw Ln., Room 3546 East Lansing, MI 48824 Phone: 517 355-2254 Fax: 517 355-0250 From glhardin at purdue.edu Sat Jan 30 19:46:16 2021 From: glhardin at purdue.edu (Harding, Gene L) Date: Sun, 31 Jan 2021 00:46:16 +0000 Subject: [LON-CAPA-users] Student teams (groups) In-Reply-To: References: Message-ID: Hi Susan, The only way I know to do it is one group at a time from the People tab at the top: People --> Groups, then fill out the info on that page, click Next, check any optional privileges desired, check the names of students for that group, Next, fill out the last page if applicable, and click Create Group. If there is an easier way to do it, I'm not aware of it. Best regards, Gene L. Harding, PE Associate Professor of ECET -----Original Message----- From: LON-CAPA-users On Behalf Of Susan Masten via LON-CAPA-users Sent: Saturday, January 30, 2021 2:12 PM To: lon-capa-users at mail.lon-capa.org Subject: [LON-CAPA-users] Student teams (groups) Greetings and I hope you're all having a relaxing weekend. I have an excel file where I've assigned students to teams (groups). Is there an easy way to assign them to the same teams on LON-CAPA? I'm not seeing anything in the new manual. Thanks Susan Masten Michigan State University -- Be well, keep hope, seek justice. Privileged to be working at home. -- Susan J. Masten, Ph.D., P.E. Professor Department of Civil and Environmental Engineering Engineering Building 3505 428 S. Shaw Ln., Room 3546 East Lansing, MI 48824 Phone: 517 355-2254 Fax: 517 355-0250 _______________________________________________ LON-CAPA-users mailing list LON-CAPA-users at mail.lon-capa.org http://mail.lon-capa.org/mailman/listinfo/lon-capa-users From masten at egr.msu.edu Sat Jan 30 21:05:21 2021 From: masten at egr.msu.edu (Susan Masten) Date: Sat, 30 Jan 2021 21:05:21 -0500 Subject: [LON-CAPA-users] Student teams (groups) In-Reply-To: References: Message-ID: <34ec6f74-d466-8b39-681b-3701cda30979@egr.msu.edu> Hi Gene, Thanks - that was the only way I could think of to do it. I have to admit, I was hoping for an easier way. All the best, Susan On 1/30/2021 7:46 PM, Harding, Gene L via LON-CAPA-users wrote: > Hi Susan, > > The only way I know to do it is one group at a time from the People tab at the top: People --> Groups, then fill out the info on that page, click Next, check any optional privileges desired, check the names of students for that group, Next, fill out the last page if applicable, and click Create Group. > > If there is an easier way to do it, I'm not aware of it. > > Best regards, > > Gene L. Harding, PE > Associate Professor of ECET > > -----Original Message----- > From: LON-CAPA-users On Behalf Of Susan Masten via LON-CAPA-users > Sent: Saturday, January 30, 2021 2:12 PM > To: lon-capa-users at mail.lon-capa.org > Subject: [LON-CAPA-users] Student teams (groups) > > Greetings and I hope you're all having a relaxing weekend. > > I have an excel file where I've assigned students to teams (groups). Is there an easy way to assign them to the same teams on LON-CAPA? I'm not seeing anything in the new manual. > > Thanks > > Susan Masten > Michigan State University > > > -- > Be well, keep hope, seek justice. > > Privileged to be working at home. -- Be well, keep hope, seek justice. Privileged to be working at home. -- Susan J. Masten, Ph.D., P.E. Professor Department of Civil and Environmental Engineering Engineering Building 3505 428 S. Shaw Ln., Room 3546 East Lansing, MI 48824 Phone: 517 355-2254 Fax: 517 355-0250 From raeburn at msu.edu Sat Jan 30 21:37:50 2021 From: raeburn at msu.edu (Raeburn, Stuart) Date: Sun, 31 Jan 2021 02:37:50 +0000 Subject: [LON-CAPA-users] Student teams (groups) In-Reply-To: <34ec6f74-d466-8b39-681b-3701cda30979@egr.msu.edu> References: , <34ec6f74-d466-8b39-681b-3701cda30979@egr.msu.edu> Message-ID: Susan, > > - that was the only way I could think of to do it. I have to admit, I was hoping for an easier way. > I have added you as a Cc on two existing enhancement requests: (i) "Specify membership of group(s) when uploading list of users to a course", and (ii) "Allow upload of group attributes via CSV upload". See: https://bugs.loncapa.org/show_bug.cgi?id=5904 and https://bugs.loncapa.org/show_bug.cgi?id=6896 The status of both bugs is "Assigned". Currently, as Course Coordinator you need to create each group one at a time using the People --> Groups web form, as Gene described. Once the group(s) are created it would be possible to use a CSV file to assign membership in the group(s) to users in the CSV file, by using: People --> Users --> "Upload a File of Course Users" to assign students to new sections, if you had previously configured each group to include: "Automatically enable group membership when roles are added". To avoid interfering with any existing real section(s), you could temporarily assign a custom role (with section) in order to trigger the group membership changes. Once done, you would expire all the assigned custom roles. The section names and group names need to be unique, but you could easily use a prefix in each section name to distinguish it from the group to which it would be mapped. It is debatable whether the workaround I describe in the previous paragraph is easier than checking checkboxes for the students you wish to assign to each group. However, if your course contained many students, it would likely be quicker to add a column to your excel file with the "sections" to map, and configure each group to use the appropriate mapping than to use the standard People --> Users -> Groups --> Modify --> "Add member(s) to the group" method to assign group memberships to students (with much checking of checkboxes). Stuart Raeburn LON-CAPA Academic Consortium ________________________________________ From: LON-CAPA-users on behalf of Susan Masten via LON-CAPA-users Sent: Saturday, January 30, 2021 9:05 PM To: lon-capa-users at mail.lon-capa.org Subject: Re: [LON-CAPA-users] Student teams (groups) Hi Gene, Thanks - that was the only way I could think of to do it. I have to admit, I was hoping for an easier way. All the best, Susan On 1/30/2021 7:46 PM, Harding, Gene L via LON-CAPA-users wrote: > Hi Susan, > > The only way I know to do it is one group at a time from the People tab at the top: People --> Groups, then fill out the info on that page, click Next, check any optional privileges desired, check the names of students for that group, Next, fill out the last page if applicable, and click Create Group. > > If there is an easier way to do it, I'm not aware of it. > > Best regards, > > Gene L. Harding, PE > Associate Professor of ECET > > -----Original Message----- > From: LON-CAPA-users On Behalf Of Susan Masten via LON-CAPA-users > Sent: Saturday, January 30, 2021 2:12 PM > To: lon-capa-users at mail.lon-capa.org > Subject: [LON-CAPA-users] Student teams (groups) > > Greetings and I hope you're all having a relaxing weekend. > > I have an excel file where I've assigned students to teams (groups). Is there an easy way to assign them to the same teams on LON-CAPA? I'm not seeing anything in the new manual. > > Thanks > > Susan Masten > Michigan State University -- Be well, keep hope, seek justice. Privileged to be working at home. -- Susan J. Masten, Ph.D., P.E. Professor Department of Civil and Environmental Engineering Engineering Building 3505 428 S. Shaw Ln., Room 3546 East Lansing, MI 48824 Phone: 517 355-2254 Fax: 517 355-0250 _______________________________________________ LON-CAPA-users mailing list LON-CAPA-users at mail.lon-capa.org http://mail.lon-capa.org/mailman/listinfo/lon-capa-users From masten at egr.msu.edu Sun Jan 31 14:25:48 2021 From: masten at egr.msu.edu (Susan Masten) Date: Sun, 31 Jan 2021 14:25:48 -0500 Subject: [LON-CAPA-users] Student teams (groups) In-Reply-To: References: <34ec6f74-d466-8b39-681b-3701cda30979@egr.msu.edu> Message-ID: <019b77fa-640f-fe1c-b1a9-ac9b83c720cd@egr.msu.edu> Thanks so much Stuart, Susan On 1/30/2021 9:37 PM, Raeburn, Stuart via LON-CAPA-users wrote: > Susan, > >> - that was the only way I could think of to do it. I have to admit, I was hoping for an easier way. >> > I have added you as a Cc on two existing enhancement requests: (i) "Specify membership of group(s) when uploading list of users to a course", and (ii) "Allow upload of group attributes via CSV upload". > > See: https://bugs.loncapa.org/show_bug.cgi?id=5904 and https://bugs.loncapa.org/show_bug.cgi?id=6896 > The status of both bugs is "Assigned". > > Currently, as Course Coordinator you need to create each group one at a time using the People --> Groups web form, as Gene described. > > Once the group(s) are created it would be possible to use a CSV file to assign membership in the group(s) to users in the CSV file, by using: People --> Users --> "Upload a File of Course Users" to assign students to new sections, if you had previously configured each group to include: "Automatically enable group membership when roles are added". To avoid interfering with any existing real section(s), you could temporarily assign a custom role (with section) in order to trigger the group membership changes. Once done, you would expire all the assigned custom roles. The section names and group names need to be unique, but you could easily use a prefix in each section name to distinguish it from the group to which it would be mapped. > > It is debatable whether the workaround I describe in the previous paragraph is easier than checking checkboxes for the students you wish to assign to each group. > > However, if your course contained many students, it would likely be quicker to add a column to your excel file with the "sections" to map, and configure each group to use the appropriate mapping than to use the standard People --> Users -> Groups --> Modify --> "Add member(s) to the group" method to assign group memberships to students (with much checking of checkboxes). > > Stuart Raeburn > LON-CAPA Academic Consortium > ________________________________________ > From: LON-CAPA-users on behalf of Susan Masten via LON-CAPA-users > Sent: Saturday, January 30, 2021 9:05 PM > To: lon-capa-users at mail.lon-capa.org > Subject: Re: [LON-CAPA-users] Student teams (groups) > > Hi Gene, > > Thanks - that was the only way I could think of to do it. I have to > admit, I was hoping for an easier way. > > All the best, > > Susan > > On 1/30/2021 7:46 PM, Harding, Gene L via LON-CAPA-users wrote: >> Hi Susan, >> >> The only way I know to do it is one group at a time from the People tab at the top: People --> Groups, then fill out the info on that page, click Next, check any optional privileges desired, check the names of students for that group, Next, fill out the last page if applicable, and click Create Group. >> >> If there is an easier way to do it, I'm not aware of it. >> >> Best regards, >> >> Gene L. Harding, PE >> Associate Professor of ECET >> >> -----Original Message----- >> From: LON-CAPA-users On Behalf Of Susan Masten via LON-CAPA-users >> Sent: Saturday, January 30, 2021 2:12 PM >> To: lon-capa-users at mail.lon-capa.org >> Subject: [LON-CAPA-users] Student teams (groups) >> >> Greetings and I hope you're all having a relaxing weekend. >> >> I have an excel file where I've assigned students to teams (groups). Is there an easy way to assign them to the same teams on LON-CAPA? I'm not seeing anything in the new manual. >> >> Thanks >> >> Susan Masten >> Michigan State University > -- > Be well, keep hope, seek justice. > > Privileged to be working at home. > -- > > Susan J. Masten, Ph.D., P.E. > Professor > Department of Civil and Environmental Engineering > Engineering Building 3505 > 428 S. Shaw Ln., Room 3546 > East Lansing, MI 48824 > > Phone: 517 355-2254 > Fax: 517 355-0250 > > _______________________________________________ > LON-CAPA-users mailing list > LON-CAPA-users at mail.lon-capa.org > http://mail.lon-capa.org/mailman/listinfo/lon-capa-users > _______________________________________________ > LON-CAPA-users mailing list > LON-CAPA-users at mail.lon-capa.org > http://mail.lon-capa.org/mailman/listinfo/lon-capa-users > -- Be well, keep hope, seek justice. Privileged to be working at home. -- Susan J. Masten, Ph.D., P.E. Professor Department of Civil and Environmental Engineering Engineering Building 3505 428 S. Shaw Ln., Room 3546 East Lansing, MI 48824 Phone: 517 355-2254 Fax: 517 355-0250