def getNonKilledSwarms(self, sprintIdx):
swarmIds = []<EOL>for swarmId, info in self._state['<STR_LIT>'].items():<EOL><INDENT>if info['<STR_LIT>'] == sprintIdx and info['<STR_LIT:status>'] != '<STR_LIT>':<EOL><INDENT>swarmIds.append(swarmId)<EOL><DEDENT><DEDENT>return swarmIds<EOL>
Return the list of swarms in the given sprint that were not killed.
        This is called when we are trying to figure out which encoders to carry
        forward to the next sprint. We don't want to carry forward encoder
        combintations which were obviously bad (in killed swarms).

        Parameters:
        ---------------------------------------------------------------------
        retval:   list of active swarm Ids in the given sprint