<commit_before>import datetime
import json
import urllib
import numpy as np
import fix_yahoo_finance
import pandas as pd
import plotly
import plotly.graph_objs as go
from flask import Flask, jsonify, render_template, request,session
from pandas_datareader import data as pdr
from Store import dataStore

app = Flask(__name__)
app.secret_key = 'render_templateqweaqdfsafASDAS,smaCount=smaCount)'
store= dataStore()
@app.route('/')
def main():
    session['smaCount']=0
    store.dataList=[]
    store.graphs=dict()
    store.symbolList=[]
    store.optionList=[]
    return render_template('index.html')

@app.route('/rule')
def rule():
    print
    return render_template('rule.html',options=store.optionList)
    
@app.route('/sma')<commit_msg>reinit dataStore()<commit_after>import datetime
import json
import urllib
import numpy as np
import fix_yahoo_finance
import pandas as pd
import plotly
import plotly.graph_objs as go
from flask import Flask, jsonify, render_template, request,session
from pandas_datareader import data as pdr
from Store import dataStore

app = Flask(__name__)
app.secret_key = 'render_templateqweaqdfsafASDAS,smaCount=smaCount)'
store= dataStore()
@app.route('/')
def main():
    session['smaCount']=0
    store=dataStore()
    store.dataList=[]
    store.graphs=dict()
    store.symbolList=[]
    store.optionList=[]
    return render_template('index.html')

@app.route('/rule')
def rule():
    print
    return render_template('rule.html',options=store.optionList)
    
@app.route('/sma')
{'fraction_non_alphanumeric': 0.11125740618828177, 'fraction_numerical': 0.0013166556945358788, 'mean_word_length': 5.3070539419087135, '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': '837646', 'n_tokens_mistral': 502, 'n_tokens_neox': 489, 'n_words': 125}