@Michionlion It was there already, we didn't refactor it since it only uses numgroup.
elif (
GG_ARGUMENTS.method == constants.ALGORITHM_GRAPH
and GG_ARGUMENTS.num_group is not constants.DEFAULT_NUMGRP
):
GROUPED_STUDENT_IDENTIFIERS = group_graph.group_graph_partition(
SHUFFLED_STUDENT_IDENTIFIERS, GG_ARGUMENTS.num_group
)
However, there was a bug that if we don't use --num-group with --graph and only use --graph the program will run group_random. We can fix that bug with a different PR or just in PR#261.
@Michionlion It was there already, we didn't refactor it since it only uses
numgroup
.However, there was a bug that if we don't use
--num-group
with--graph
and only use--graph
the program will rungroup_random
. We can fix that bug with a different PR or just in PR#261.Originally posted by @Lancasterwu in https://github.com/GatorEducator/gatorgrouper/pull/260#issuecomment-472910446