<commit_before># -*- encoding: utf-8 -*-
import types
import time # used to eval time.strftime expressions
import logging

import pooler
import netsvc
import misc
from config import config

try:
    import yaml
except ImportError, e:
    msg = "Module yaml was not found."
    e.args = (msg,)
    raise e

logger_channel = 'tests'

class YamlImportException(Exception):<commit_msg>[REF] Reorganized imports (and undo previous non-sense change).<commit_after># -*- encoding: utf-8 -*-
import types
import time # used to eval time.strftime expressions
import logging

import pooler
import netsvc
import misc
from config import config

import yaml

logger_channel = 'tests'

class YamlImportException(Exception):
{'fraction_non_alphanumeric': 0.08180535966149506, 'fraction_numerical': 0.0028208744710860366, 'mean_word_length': 4.461538461538462, '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': '6505045', 'n_tokens_mistral': 211, 'n_tokens_neox': 196, 'n_words': 80}