<commit_before># -*- coding: utf-8 -*-
import datetime

import task_queue
import scan_manager
import record_importer
import image_importer


class ScanError(Exception):
    """
        Base exception for this module
    """
    pass


class Scanner(object):
    """
        Controls scan execution process
    """
    def __init__(self, config, session=None, redis=None):
        self.config = config
        self.session = session
        self.redis = redis
        self._scan_manager = None<commit_msg>Remove default values for constructor arguments<commit_after># -*- coding: utf-8 -*-
import datetime

import task_queue
import scan_manager
import record_importer
import image_importer


class ScanError(Exception):
    """
        Base exception for this module
    """
    pass


class Scanner(object):
    """
        Controls scan execution process
    """
    def __init__(self, config, session, redis):
        self.config = config
        self.session = session
        self.redis = redis
        self._scan_manager = None
{'fraction_non_alphanumeric': 0.0872093023255814, 'fraction_numerical': 0.001937984496124031, 'mean_word_length': 2.7427536231884058, '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': '1323650', 'n_tokens_mistral': 284, 'n_tokens_neox': 275, 'n_words': 84}