<commit_before>#!/usr/bin/python
import sys,os
prefix = os.path.dirname(__file__)
sys.path.insert(0, prefix)
import cStringIO, webui, store, config

store.keep_conn = True

class Request:

    def __init__(self, environ, start_response):
        self.start_response = start_response
        self.rfile = cStringIO.StringIO(environ['wsgi.input'].read())
        self.wfile = cStringIO.StringIO()
        self.config = config.Config(prefix+'/config.ini')
    
    def send_response(self, code, message='no details available'):
        self.status = '%s %s' % (code, message)<commit_msg>last diff from live server<commit_after>#!/usr/bin/python
import sys,os
prefix = os.path.dirname(__file__)
sys.path.insert(0, prefix)
import cStringIO, webui, store, config

store.keep_conn = True

class Request:

    def __init__(self, environ, start_response):
        self.start_response = start_response
        self.rfile = cStringIO.StringIO(environ['wsgi.input'].read())
        self.wfile = cStringIO.StringIO()
        self.config = config.Config('/data/pypi/config.ini')
    
    def send_response(self, code, message='no details available'):
        self.status = '%s %s' % (code, message)
{'fraction_non_alphanumeric': 0.13260135135135134, 'fraction_numerical': 0.0016891891891891893, 'mean_word_length': 3.7211155378486054, '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': '6973401', 'n_tokens_mistral': 380, 'n_tokens_neox': 375, 'n_words': 81}