<commit_before>import logging
from spock.mcmap import smpmap
from spock.mcp import mcdata, mcpacket
from spock.mcp.mcpacket import Packet
from spock.utils import pl_announce
from micropsi_core.world.minecraft.psidispatcher import PsiDispatcher, STANCE_ADDITION
from micropsi_core.world.minecraft.psidispatcher import PsiDispatcher, STANCE_ADDITION
from micropsi_core.world.minecraft.psidispatcher import PsiDispatcher, STANCE_ADDITION

@pl_announce('Micropsi')
class MicropsiPlugin(object):

    def __init__(self, ploader, settings):

        # register required plugins
        self.net        = ploader.requires('Net')
        self.event      = ploader.requires('Event')
        self.world      = ploader.requires('World')
        self.clientinfo = ploader.requires('ClientInfo')
        self.threadpool = ploader.requires('ThreadPool')
        
        # 
        self.event.reg_event_handler(
            'cl_position_update',
            self.subtract_stance
        )

        self.psi_dispatcher = PsiDispatcher(self)

        # make references between micropsi world and MicropsiPlugin
        self.micropsi_world = settings['micropsi_world']
        self.micropsi_world.spockplugin = self

    def move(self, position=None):
<commit_msg>removes duplicate imports.<commit_after>import logging
from spock.mcmap import smpmap
from spock.mcp import mcdata, mcpacket
from spock.mcp.mcpacket import Packet
from spock.utils import pl_announce
from micropsi_core.world.minecraft.psidispatcher import PsiDispatcher, STANCE_ADDITION

@pl_announce('Micropsi')
class MicropsiPlugin(object):

    def __init__(self, ploader, settings):

        # register required plugins
        self.net        = ploader.requires('Net')
        self.event      = ploader.requires('Event')
        self.world      = ploader.requires('World')
        self.clientinfo = ploader.requires('ClientInfo')
        self.threadpool = ploader.requires('ThreadPool')
        
        # 
        self.event.reg_event_handler(
            'cl_position_update',
            self.subtract_stance
        )

        self.psi_dispatcher = PsiDispatcher(self)

        # make references between micropsi world and MicropsiPlugin
        self.micropsi_world = settings['micropsi_world']
        self.micropsi_world.spockplugin = self

    def move(self, position=None):

{'fraction_non_alphanumeric': 0.08101157308186883, 'fraction_numerical': 0.0, 'mean_word_length': 3.182795698924731, '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': '1074792', 'n_tokens_mistral': 710, 'n_tokens_neox': 669, 'n_words': 138}