<commit_before>import copy

from board import Tableau, Deck
from events import *
import events


class FreeCellLogic(object):
    def __init__(self):
        self.deck = Deck()
        self.table = Tableau()
        self.event_dispatch = events.event_dispatch

    def start(self):
        self.event_dispatch.register(self.process_move, ["MoveEvent"])
        self.event_dispatch.register(self.automove, ["MoveCompleteEvent"])

    def load_seed(self, seed):
        self.seed = seed
        self.deck.shuffle(seed)
        self.table.setup(self.deck)

        self.start = time.time()

        self.history = []
        self.solved = False
        self.moves = 0
        self.undos = 0
        self.move_queue = []
<commit_msg>Was shadowing FreeCellLogic.start<commit_after>import copy

from board import Tableau, Deck
from events import *
import events


class FreeCellLogic(object):
    def __init__(self):
        self.deck = Deck()
        self.table = Tableau()
        self.event_dispatch = events.event_dispatch

    def start(self):
        self.event_dispatch.register(self.process_move, ["MoveEvent"])
        self.event_dispatch.register(self.automove, ["MoveCompleteEvent"])

    def load_seed(self, seed):
        self.seed = seed
        self.deck.shuffle(seed)
        self.table.setup(self.deck)

        self.start_time = time.time()

        self.history = []
        self.solved = False
        self.moves = 0
        self.undos = 0
        self.move_queue = []

{'fraction_non_alphanumeric': 0.10721510451786918, 'fraction_numerical': 0.0026972353337828725, 'mean_word_length': 2.467289719626168, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7186793', 'n_tokens_mistral': 457, 'n_tokens_neox': 442, 'n_words': 92}