(self, length)
| 44 | return {"win_round": win_round, "total_round": total_round, "win_rate": win_round / total_round} |
| 45 | |
| 46 | def _random_string(self, length): |
| 47 | chars = string.ascii_lowercase + string.digits |
| 48 | return ''.join(random.choices(chars, k=length)) |
| 49 | |
| 50 | def _delete_dir(self, directory): |
| 51 | try: |