<commit_before>from os import listdir
from os.path import abspath
from os.path import dirname
from os.path import isfile
from os.path import realpath
import cherrypy
import json
import os.path
import re

from PressUI.cherrypy.PressConfig import PressConfig
from PressUI.cherrypy.react import compile_react
from PressUI.cherrypy.static import press_get_static_file_by_dig
from PressUI.cherrypy.static import press_static_file
from PressUI.utils.browser_cache import add_cache_control_header
import PressUI.cherrypy.PressProduction as PressProduction

class PressApp():
    __JQUERY_VERSION = '2.1.3'
    __REACT_VERSION = '0.12.0'

    def __init__(self):
        with open('PressUI/reactive/index.html', 'r') as f:
            self.__index_html = f.read()
        if PressProduction.is_production():
            to_remove = 'development'<commit_msg>Update react<commit_after>from os import listdir
from os.path import abspath
from os.path import dirname
from os.path import isfile
from os.path import realpath
import cherrypy
import json
import os.path
import re

from PressUI.cherrypy.PressConfig import PressConfig
from PressUI.cherrypy.react import compile_react
from PressUI.cherrypy.static import press_get_static_file_by_dig
from PressUI.cherrypy.static import press_static_file
from PressUI.utils.browser_cache import add_cache_control_header
import PressUI.cherrypy.PressProduction as PressProduction

class PressApp():
    __JQUERY_VERSION = '2.1.3'
    __REACT_VERSION = '0.13.1'

    def __init__(self):
        with open('PressUI/reactive/index.html', 'r') as f:
            self.__index_html = f.read()
        if PressProduction.is_production():
            to_remove = 'development'
{'fraction_non_alphanumeric': 0.0695344725987036, 'fraction_numerical': 0.008249852681202121, 'mean_word_length': 4.407643312101911, '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': '4512363', 'n_tokens_mistral': 530, 'n_tokens_neox': 513, 'n_words': 142}