<commit_before>""" WSGI application settings for FST instance 

The default setup at Domstolsverket assumes every instance of FST is 
running under it's own virtualenv. 
"""
import os
import sys
import site

#VIRTUALENV_PATH = '/path/of/your/virtualenv'
PYTHON_SITE_PACKAGES = 'lib/python2.6/site-packages'

# Specify the site-packages folder of your virtualenv
# ALLDIRS = ['/opt/rinfo/fst/instances/fffs/lib/python2.6/site-packages']
ALLDIRS = [os.path.join(VIRTUALENV_PATH, PYTHON_SITE_PACKAGES)]

# Redirect sys.stdout to sys.stderr for bad libraries like geopy that uses
# print statements for optional import exceptions.
sys.stdout = sys.stderr<commit_msg>Uncomment virtualenv path<commit_after>""" WSGI application settings for FST instance 

The default setup at Domstolsverket assumes every instance of FST is 
running under it's own virtualenv. 
"""
import os
import sys
import site

VIRTUALENV_PATH = '/path/of/your/virtualenv'
PYTHON_SITE_PACKAGES = 'lib/python2.6/site-packages'

# Specify the site-packages folder of your virtualenv
# ALLDIRS = ['/opt/rinfo/fst/instances/fffs/lib/python2.6/site-packages']
ALLDIRS = [os.path.join(VIRTUALENV_PATH, PYTHON_SITE_PACKAGES)]

# Redirect sys.stdout to sys.stderr for bad libraries like geopy that uses
# print statements for optional import exceptions.
sys.stdout = sys.stderr
{'fraction_non_alphanumeric': 0.08913857677902622, 'fraction_numerical': 0.00599250936329588, 'mean_word_length': 5.15668202764977, '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': '1227999', 'n_tokens_mistral': 446, 'n_tokens_neox': 431, 'n_words': 129}