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

"""
Based on django mongotools (https://github.com/wpjunior/django-mongotools) by
<NAME> (<EMAIL>).
"""

from django import forms
from django.core.validators import EMPTY_VALUES
from django.utils.encoding import smart_unicode
from django.db.models.options import get_verbose_name
from django.utils.text import capfirst

from mongoengine import ReferenceField as MongoReferenceField

from .fields import MongoCharField, ReferenceField, DocumentMultipleChoiceField

BLANK_CHOICE_DASH = [("", "---------")]<commit_msg>Argh, forgot one import on last commit<commit_after># -*- coding: utf-8 -*-

"""
Based on django mongotools (https://github.com/wpjunior/django-mongotools) by
<NAME> (<EMAIL>).
"""

from django import forms
from django.core.validators import EMPTY_VALUES
try:
    from django.utils.encoding import smart_text as smart_unicode
except ImportError:
    try:
        from django.utils.encoding import smart_unicode
    except ImportError:
        from django.forms.util import smart_unicode
from django.db.models.options import get_verbose_name
from django.utils.text import capfirst

from mongoengine import ReferenceField as MongoReferenceField

from .fields import MongoCharField, ReferenceField, DocumentMultipleChoiceField

BLANK_CHOICE_DASH = [("", "---------")]
{'fraction_non_alphanumeric': 0.10538286580742987, 'fraction_numerical': 0.001516300227445034, 'mean_word_length': 4.814977973568282, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '4900134', 'n_tokens_mistral': 388, 'n_tokens_neox': 371, 'n_words': 110}