Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-43591

Auto-group: if students are not evenly divisible into groups, last group has remainder dumped in

    XMLWordPrintable

    Details

    • 20 status:
      Verified
    • Test Plan:
      Hide
      1. Create a site with a couple of rosters
      2. Add some students manually
      3. Click Site Info - > Manage Groups
      4. Click Auto Groups
      5. Step 1: Select Student and Continue
      6. Step 2: Click "Yes, allow me to select members in the selected roles from specific rosters."
      7. Select a roster and Manually-Added Users and Continue
      8. Step 3: Split by number of groups needed
      9. Add a number of groups that will not have the same member count for all
        • Example: if you have 35 students total, enter 15 groups
      10. Click Continue
      11. On the preview page, check the member count for each group - they should be as even as possible

      Currently, the last group has all the members that couldn't be evenly divisible. For example, with 180 students and 100 groups, all groups had 1 student except the last one and it had 81 students. 

       

       

      Show
      Create a site with a couple of rosters Add some students manually Click Site Info - > Manage Groups Click Auto Groups Step 1: Select Student and Continue Step 2: Click "Yes, allow me to select members in the selected roles  from specific rosters ." Select a roster and Manually-Added Users and Continue Step 3: Split by number of groups needed Add a number of groups that will not have the same member count for all Example: if you have 35 students total, enter 15 groups Click Continue On the preview page, check the member count for each group - they should be as even as possible Currently, the last group has all the members that couldn't be evenly divisible. For example, with 180 students and 100 groups, all groups had 1 student except the last one and it had 81 students.     

      Description

      SAK-43535 has already been merged, so creating a new Jira.

      I was testing the padding for 10 groups, then 100 groups. If the number of students are evenly divisible into groups, everything is fine - each group has the same number of members.

      If the students are not evenly divisible by the number of groups, then the last group has the remainder dumped in.

      I'm attaching files for 2 different tests. These can be seen in https://qa20-mysql.nightly.sakaiproject.org/portal/site/bd09967c-ba52-43a1-8016-abc0f19ae8fd

       

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                farreri Miguel Pellicer
                Reporter:
                agschmidt Andrea Schmidt
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration