<commit_before>import ephem
import yaml

import panoptes.utils.logger as logger
import panoptes.utils.config as config

@logger.has_logger
@config.has_config
class Panoptes:

    """
    Base class for our unit. This is inherited by *every* object and is just
    used to set some base items for the application. Sets up logger, reads
    config file and starts up application.
    """
    import panoptes.observatory as observatory

    def __init__(self):
        # Setup utils
        self.logger.info('Initializing panoptes unit')

        # This is mostly for debugging
        if 'name' in self.config:
            self.logger.info('Welcome {}'.format(self.config.get('name')))

        # Create our observatory, which does the bulk of the work
        # NOTE: Here we would pass in config options
        self.observatory = observatory.Observatory()

    def start_session(self):
        """<commit_msg>Removing unused modules in main class<commit_after>import panoptes.utils.logger as logger
import panoptes.utils.config as config

@logger.has_logger
@config.has_config
class Panoptes:

    """
    Base class for our unit. This is inherited by *every* object and is just
    used to set some base items for the application. Sets up logger, reads
    config file and starts up application.
    """
    import panoptes.observatory as observatory

    def __init__(self):
        # Setup utils
        self.logger.info('Initializing panoptes unit')

        # This is mostly for debugging
        if 'name' in self.config:
            self.logger.info('Welcome {}'.format(self.config.get('name')))

        # Create our observatory, which does the bulk of the work
        # NOTE: Here we would pass in config options
        self.observatory = observatory.Observatory()

    def start_session(self):
        """
{'fraction_non_alphanumeric': 0.07920792079207921, 'fraction_numerical': 0.0, 'mean_word_length': 2.8619957537154987, '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': '4292346', 'n_tokens_mistral': 498, 'n_tokens_neox': 484, 'n_words': 187}