<commit_before># -*- coding: utf-8 -*-
from __future__ import unicode_literals
from os import path

import codecs


def _read_file(name, encoding='utf-8'):
    """
    Read the contents of a file.

    :param name: The name of the file in the current directory.
    :param encoding: The encoding of the file; defaults to utf-8.
    :return: The contents of the file.
    """
    with codecs.open(name, encoding=encoding) as f:
        return f.read()


__version__ = _read_file(path.join(path.dirname(__file__), 'VERSION')).strip()


def _details_from_identifier(identifier):
    pass


def vps(identifier):
    name, key, hash_ = _details_from_identifier(identifier)<commit_msg>Remove unused code<commit_after># -*- coding: utf-8 -*-
from __future__ import unicode_literals
from os import path

import codecs


def _read_file(name, encoding='utf-8'):
    """
    Read the contents of a file.

    :param name: The name of the file in the current directory.
    :param encoding: The encoding of the file; defaults to utf-8.
    :return: The contents of the file.
    """
    with codecs.open(name, encoding=encoding) as f:
        return f.read()


__version__ = _read_file(path.join(path.dirname(__file__), 'VERSION')).strip()
{'fraction_non_alphanumeric': 0.1100244498777506, 'fraction_numerical': 0.004889975550122249, 'mean_word_length': 3.599250936329588, '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': '2174183', 'n_tokens_mistral': 380, 'n_tokens_neox': 370, 'n_words': 128}