Lines Matching refs:groups
118 groups = []
122 groups.append(group)
123 return groups
126 groups = []
131 groups.append(group)
142 return groups
145 groups = []
154 groups.append(group)
161 return groups
176 def getNumCasesInGroups (groups): argument
178 for group in groups:
189 def selectCasesInGroups (results, groups): argument
191 for group in groups:
196 def selectRandomSubset (results, groups, limit, seed): argument
198 numSelect = min(limit, getNumCasesInGroups(groups))
201 random.shuffle(groups)
205 group = groups[groupNdx]
207 del groups[groupNdx]
208 if groupNdx == len(groups):
216 groupNdx = (groupNdx + 1) % len(groups)
274 groups = createGroups(results, readGroupList(options.groups_file)) variable
276 groups = createLeafGroups(results) variable
277 results = selectRandomSubset(results, groups, int(options.limit), int(options.seed))
279 groups = createGroups(results, readGroupList(options.groups_file)) variable
280 results = selectCasesInGroups(results, groups)