<commit_before># Django settings for Rynda project.

import os

from django.core.exceptions import ImproperlyConfigured


def get_env_var(name):
    try:
        return os.env[name]
    except KeyError:
        raise ImproperlyConfigured("Set the %s env variable" % name)

here = lambda *x: os.path.join(os.path.abspath(os.path.dirname(__file__)), *x)

SITE_ROOT = here('..', '..')<commit_msg>Fixed get_env_var function<commit_after># Django settings for Rynda project.

import os

from django.core.exceptions import ImproperlyConfigured


def get_env_var(name):
    try:
        return os.environ[name]
    except KeyError:
        raise ImproperlyConfigured("Set the %s env variable" % name)

here = lambda *x: os.path.join(os.path.abspath(os.path.dirname(__file__)), *x)

SITE_ROOT = here('..', '..')
{'fraction_non_alphanumeric': 0.12453300124533001, 'fraction_numerical': 0.0, 'mean_word_length': 3.932515337423313, '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': '2844458', 'n_tokens_mistral': 277, 'n_tokens_neox': 273, 'n_words': 68}