<commit_before>from flask import Flask
from flask import render_template
from flask import request
app = Flask(__name__)


@app.route("/")
def hello():
    return render_template('home.html')

@app.route("/api/prediction")
def getPrediction():
	start = request.args['start']
	end = request.args['end']
	company = request.args['company']

	print start
	print end
	print company

	return "True"

if __name__ == "__main__":
    app.run(debug=True)<commit_msg>added date parsing<commit_after>from flask import Flask
from flask import render_template
from flask import request
from datetime import *
app = Flask(__name__)


@app.route("/")
def hello():
    return render_template('home.html')

@app.route("/api/prediction")
def getPrediction():
	start = request.args['start']
	end = request.args['end']
	company = request.args['company']

	startDate =  datetime.strptime(start, "%m/%d/%Y").date()
	endDate =  datetime.strptime(end, "%m/%d/%Y").date()

	return "True"

if __name__ == "__main__":
    app.run(debug=True)
{'fraction_non_alphanumeric': 0.1510365251727542, 'fraction_numerical': 0.0, 'mean_word_length': 5.035714285714286, 'pattern_counts': {'":': 2, '<': 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': '1575140', 'n_tokens_mistral': 343, 'n_tokens_neox': 328, 'n_words': 84}