def parse_spec(self):
recruiters = []<EOL>spec = get_config().get("<STR_LIT>")<EOL>for match in self.SPEC_RE.finditer(spec):<EOL><INDENT>name = match.group(<NUM_LIT:1>)<EOL>count = int(match.group(<NUM_LIT:2>))<EOL>recruiters.append((name, count))<EOL><DEDENT>return recruiters<EOL>
Parse the specification of how to recruit participants.

        Example: recruiters = bots: 5, mturk: 1