<commit_before>from flask import request, redirect
import httplib as http
from dateutil.parser import parse as parse_date
import functools

from modularodm import Q
from modularodm.exceptions import ValidationValueError

from framework import status
from framework.mongo import database
from framework.mongo.utils import get_or_http_error, autoload
from framework.exceptions import HTTPError
from framework.status import push_status_message

from website.exceptions import NodeStateError
from website.util.permissions import ADMIN
from website.project.decorators import (
    must_be_valid_project,
    must_have_permission,
    http_error_if_disk_saving_mode
)
from website import language
from website.project import utils as project_utils
from website.project.model import MetaSchema, DraftRegistration, DraftRegistrationApproval
from website.project.metadata.utils import serialize_meta_schema, serialize_draft_registration
from website.project.utils import serialize_node

get_schema_or_fail = lambda query: get_or_http_error(MetaSchema, query)<commit_msg>Remove unused import<commit_after>from flask import request, redirect
import httplib as http
from dateutil.parser import parse as parse_date
import functools

from modularodm import Q
from modularodm.exceptions import ValidationValueError

from framework.mongo import database
from framework.mongo.utils import get_or_http_error, autoload
from framework.exceptions import HTTPError
from framework.status import push_status_message

from website.exceptions import NodeStateError
from website.util.permissions import ADMIN
from website.project.decorators import (
    must_be_valid_project,
    must_have_permission,
    http_error_if_disk_saving_mode
)
from website import language
from website.project import utils as project_utils
from website.project.model import MetaSchema, DraftRegistration, DraftRegistrationApproval
from website.project.metadata.utils import serialize_meta_schema, serialize_draft_registration
from website.project.utils import serialize_node

get_schema_or_fail = lambda query: get_or_http_error(MetaSchema, query)
{'fraction_non_alphanumeric': 0.035238095238095235, 'fraction_numerical': 0.0, 'mean_word_length': 7.23921568627451, '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': '3722973', 'n_tokens_mistral': 560, 'n_tokens_neox': 546, 'n_words': 177}