Skip to content

Commit

Permalink
Merge pull request #208 from GatorEducator/enhance/debug-improve-grou…
Browse files Browse the repository at this point in the history
…p_random

Adding description to group_random.py Docstrings
  • Loading branch information
Michionlion authored Mar 5, 2019
2 parents e57e94c + 1705059 commit e80533e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions gatorgrouper/utils/group_random.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" group using randomization approach """
""" Promotes diversity by grouping using randomization approach. """

import copy
import logging
Expand All @@ -8,7 +8,10 @@


def group_random_group_size(responses, grpsize):
""" group responses using randomization approach """
"""
Forms equally sized groups based on desired group size using randomization
approach.
"""

# use itertools to chunk the students into groups
iterable = iter(responses)
Expand Down Expand Up @@ -40,7 +43,10 @@ def group_random_group_size(responses, grpsize):


def group_random_num_group(responses, numgrp):
""" group responses using randomization approach """
"""
Forms equally sized groups based on the desired number of groups using
randomization approach.
"""
# number of students placed into a group
stunum = 0
iterable = iter(responses)
Expand Down

0 comments on commit e80533e

Please sign in to comment.