<commit_before>'''
Created on 3 cze 2014

@author: Przemek
'''
from src.parser.measurable import Measurable


class TypeIdItemSection(Measurable):
    '''
    classdocs
    '''


    def __init__(self, parent):
        '''
        Constructor
        '''
        Measurable.__init__(self, parent)<commit_msg>Added type_id_item_section stub.<commit_after>'''
Created on 3 cze 2014

@author: Przemek
'''
from src.items.string_id_item import StringIdItem
from src.parser.measurable import Measurable


class TypeIdItemSection(Measurable):
    '''
    classdocs
    '''


    def __init__(self, parent):
        '''
        Constructor
        '''
        Measurable.__init__(self, parent)
        item = StringIdItem(self)
        item.data.value = 1
        self.data.append(item)
        item = StringIdItem(self)
        item.data.value = 2
        self.data.append(item)
        item = StringIdItem(self)
        item.data.value = 4
        self.data.append(item)
        item = StringIdItem(self)
        item.data.value = 6
        self.data.append(item)

{'fraction_non_alphanumeric': 0.10869565217391304, 'fraction_numerical': 0.013232514177693762, 'mean_word_length': 2.3833865814696487, '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': '2632040', 'n_tokens_mistral': 347, 'n_tokens_neox': 323, 'n_words': 67}