<commit_before>import cPickle
from collections import OrderedDict
import json
from flask import Flask, request
import sys
import numpy
from cnn_text_trainer.rw.datasets import clean_str

__author__ = 'devashish.shankar'


#General refactoring, comments, etc.

app = Flask(__name__)
app.config['SECRET_KEY'] = 'F34TF$($e34D';   #Required for flask server TODO check


@app.route('/healthcheck')<commit_msg>solve unpickling issue<commit_after>import cPickle
from collections import OrderedDict
import json
from flask import Flask, request
import sys
import numpy
from cnn_text_trainer.rw.datasets import clean_str
from gpu_to_cpu import UnpickledLayer

__author__ = 'devashish.shankar'


#General refactoring, comments, etc.

app = Flask(__name__)
app.config['SECRET_KEY'] = 'F34TF$($e34D';   #Required for flask server TODO check



@app.route('/healthcheck')
{'fraction_non_alphanumeric': 0.08624708624708624, 'fraction_numerical': 0.009324009324009324, 'mean_word_length': 6.279661016949152, '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': '439088', 'n_tokens_mistral': 294, 'n_tokens_neox': 278, 'n_words': 81}