Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/i/m/improviser-0.8.6.3/improviser/Blocks/MutatingBlock.py   improviser(Download)
	def get_progression(self, iteration):
		res = Block.get_progression(self, iteration)
		# Mutate
		if random() < 0.5 * self.wildness:
			change = choice(range(len(res)))

src/i/m/improviser-HEAD/improviser/Blocks/MutatingBlock.py   improviser(Download)
	def get_progression(self, iteration):
		res = Block.get_progression(self, iteration)
		# Mutate
		if random() < 0.5 * self.wildness:
			change = choice(range(len(res)))