<commit_before>"""
views.py

URL route handlers

"""

from flask import render_template, flash, url_for, redirect, json
from flask import render_template


def index():
	return "Test Flask App"

def teamMetricsStaticImage(team, metric):
	d=dict();
	d["team"]=team;
	d["metric"]=metric;
	return render_template('chart.html',data=d)

def teamMetricsDynamicImage(team, metric):
	d=dict();
	d["team"]=team;
	d["metric"]=metric;
	return render_template('dchart.html',data=d)<commit_msg>Updated home page view.<commit_after>"""
views.py

URL route handlers

"""

from flask import render_template, flash, url_for, redirect, json
from flask import render_template


def index():
	return render_template('index.html')

def teamMetricsStaticImage(team, metric):
	d=dict();
	d["team"]=team;
	d["metric"]=metric;
	return render_template('chart.html',data=d)

def teamMetricsDynamicImage(team, metric):
	d=dict();
	d["team"]=team;
	d["metric"]=metric;
	return render_template('dchart.html',data=d)
{'fraction_non_alphanumeric': 0.15228426395939088, 'fraction_numerical': 0.0, 'mean_word_length': 7.216666666666667, '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': '4470724', 'n_tokens_mistral': 340, 'n_tokens_neox': 330, 'n_words': 78}