<commit_before>package framework

type Controller struct {

}
<commit_msg>Controller changes<commit_after>package framework

import (
	"fmt"
	"net/http"
	"html/template"
)

type Controller struct {

	request http.Request

	response http.Response

}

func (c *Controller) displayView(view string, data map[string]interface{}) {
	c.response.Header().Set("Content-Type", "text/html; charset=utf-8")
	t :=  template.Must(template.New("*").ParseFiles("templates/base.html", fmt.Sprintf("templates/%s.html", view)))
	data["Section"] = template
	t.ExecuteTemplate(w, "base", data)

}
{'fraction_non_alphanumeric': 0.1579861111111111, 'fraction_numerical': 0.001736111111111111, 'mean_word_length': 5.709302325581396, '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': '7458307', 'n_tokens_mistral': 189, 'n_tokens_neox': 185, 'n_words': 38}