<commit_before>package main

import "fmt"

func main() {
	fmt.Println("Problem 1:", problem1())
	fmt.Println("Problem 2:", problem2())
	fmt.Println("Problem 3:", problem3())
	fmt.Println("Problem 4:", problem4())
	fmt.Println("Problem 5:", problem5())
	fmt.Println("Problem 6:", problem6())
	fmt.Println("Problem 7:", problem7())
	fmt.Println("Problem 8:", problem8())
	fmt.Println("Problem 9:", problem9())
	fmt.Println("Problem 10:", problem10())
}<commit_msg>Displaying the time it took to get the answer<commit_after>package main

import (
	"fmt"
	"time"
)

func main() {
	displayAnswer(1, problem1)
	displayAnswer(2, problem2)
	displayAnswer(3, problem3)
	displayAnswer(4, problem4)
	displayAnswer(5, problem5)
	displayAnswer(6, problem6)
	displayAnswer(7, problem7)
	displayAnswer(8, problem8)
	displayAnswer(9, problem9)
	displayAnswer(10, problem10)
}

func displayAnswer(n int, fn func() int) {
	start := time.Now()
	result := fn()
	stop := time.Now()
	fmt.Printf("Answer %2d: %15d\t(%s)\n", n, result, stop.Sub(start))
}
{'fraction_non_alphanumeric': 0.1766990291262136, 'fraction_numerical': 0.04563106796116505, 'mean_word_length': 6.061643835616438, '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': '7506837', 'n_tokens_mistral': 405, 'n_tokens_neox': 367, 'n_words': 89}