<commit_before>#coding: utf-8

from collections import namedtuple

Substance = namedtuple('Substance', 'name alias')
Measurement = namedtuple('Measurement', 'substance unit performed value')
Result = namedtuple('Result', 'measurements substances units station_alias')<commit_msg>Use tuple in namedtuples initization<commit_after>#coding: utf-8

from collections import namedtuple

Substance = namedtuple('Substance', ('name', 'alias'))
Measurement = namedtuple('Measurement', ('substance', 'unit', 'performed',
                                         'value'))
Result = namedtuple('Result', ('measurements', 'substances', 'units',
                               'station_alias'))
{'fraction_non_alphanumeric': 0.12794117647058822, 'fraction_numerical': 0.0029411764705882353, 'mean_word_length': 4.198473282442748, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6927614', 'n_tokens_mistral': 171, 'n_tokens_neox': 168, 'n_words': 47}