def main(max_grid_size, max_genome_size, max_mutation_rate, max_threads, output_file=OUTPUTFILE_NAME): if not os.path.exists('CMakeLists.txt'): print('You should be at the root of the project') return False tools.fetch() tags = tools.tags() tags = [tag for tag in tags if 'singleMeasure' in tag] labels = ['grid_size', 'genome_size', 'mutation_rate', 'num_threads'] labels += tags rows = generate_rows(max_grid_size, max_genome_size, max_mutation_rate, max_threads) os.makedirs('experiments', exist_ok=True) measures = measure(tags, rows) for i, r in enumerate(rows): for tag in tags: rows[i] += measures[tag] rows.insert(0, labels) generate_output(rows, output_file) return True
async def find(self, sub, *param): """Get a random post from a subreddit Will return a random post from a subreddit Will display NSFW results in #nsfw and SFW results in other channels But you can bypass this by adding "-f" at the end of your query""" print(param) if len(param) > 0 and param[0] == "-f": res = tools.fetch(sub, True) else: res = tools.fetch(sub) await self.client.say(res.url)
async def kanmusunights(self): """r/KanMusuNights Shipgirls having good time (Shigure best girl btw)""" res = tools.fetch('KanMusuNights') await self.client.say(res.url)
async def kanmusu(self): """r/KanMusu Cute shipgirls (Shigure best girl btw)""" res = tools.fetch('KanMusu') await self.client.say(res.url)
async def smug(self): """r/smugs smug faces""" res = tools.fetch('smugs') await self.client.say(res.url)
async def thh(self): """r/tighhighhentai Girls in tigh-highs doing... things""" res = tools.fetch('thighhighhentai') await self.client.say(res.url)
async def legwear(self): """r/animelegwear Socks, thigh-highs, tights and other things that hug legs!""" res = tools.fetch('animelegwear') await self.client.say(res.url)
async def imouto(self): """r/imouto I guess there are some siscons here""" res = tools.fetch('imouto') await self.client.say(res.url)
async def bigfang(self): """r/massivefangs For people appreciating the variety of fangs""" res = tools.fetch('massivefangs') await self.client.say(res.url)
async def longhhair(self): """r/longhairedwaifus Adorable girls with flowing long hair""" res = tools.fetch('longhairedwaifus') await self.client.say(res.url)
async def ecchi(self): """r/ecchi NSFW anime girls""" res = tools.fetch('ecchi') await self.client.say(res.url)
async def sukebei(self): """r/Sukebei More NSFW anime girls""" res = tools.fetch('Sukebei') await self.client.say(res.url)
async def pantsu(self): """r/pantsu Slightly NSFW anime girls""" res = tools.fetch('pantsu') await self.client.say(res.url)
async def oppai(self): """r/dekaihentai For the titty lovers""" res = tools.fetch('dekaihentai') await self.client.say(res.url)
async def towel(self): """r/animegirlswithtowels Girls wearing towels""" res = tools.fetch('animegirlswithtowels') await self.client.say(res.url)
async def handbra(self): """r/animehandbras Lovely girls using the handbra technique""" res = tools.fetch('animehandbras') await self.client.say(res.url)
async def shorthair(self): """r/shorthairedwaifus Anime girls lacking hair length""" res = tools.fetch('shorthairedwaifus') await self.client.say(res.url)
async def hentai(self): """r/hentai Really ??""" res = tools.fetch('hentai') await self.client.say(res.url)
async def yuri(self): """r/yuri For girls liking girls""" res = tools.fetch('yuri') await self.client.say(res.url)
async def nekogirl(self): """r/nekogirls Because we love nekos""" res = tools.fetch('nekogirls') await self.client.say(res.url)
async def fang(self): """r/cutelittlefangs For girls with cute little fangs""" res = tools.fetch('cutelittlefangs') await self.client.say(res.url)
async def tsundere(self): """r/Tsunderes B-Baka!""" res = tools.fetch('Tsunderes') await self.client.say(res.url)
async def tying(self): """r/tyingherhairup Girls tying their hair""" res = tools.fetch('tyingherhairup') await self.client.say(res.url)
async def ponytail(self): """r/animeponytails Some ponytailed girls""" res = tools.fetch('animeponytails') await self.client.say(res.url)
async def zr(self): """r/ZettaiRyouiki legwear and skirts""" res = tools.fetch('ZettaiRyouiki') await self.client.say(res.url)
async def pout(self): """r/pouts :<""" res = tools.fetch('pouts') await self.client.say(res.url)
async def twintail(self): """r/twintails Two is better than one !""" res = tools.fetch('twintails') await self.client.say(res.url)
async def nekomimi(self): """r/Nekomimi Because we never have enough nekos !""" res = tools.fetch('Nekomimi') await self.client.say(res.url)