<commit_before>package main

import (
	"fmt"
	"time"
)

func assertEqual(a interface{}, b interface{}) {
	if a != b {
		panic(fmt.Sprint("Expected ", a, ", but got ", b))
	}
}

func fib(n int) int {
	if n < 2 {
		return 1
	}
	return fib(n - 1) + fib(n - 2)
}

func addOne(x int) int {
	return x + 1
}

func testMath() {
	assertEqual(2, 1 + 1)
}

func testFunctions() {
	assertEqual(5, fib(4))
	assertEqual(2, addOne(1))
}

func testPerf() {
	start := time.Now()
	fib(10)
	fmt.Println("Took ", time.Since(start))
}

func main() {
	testMath()
	testFunctions()
	testPerf()
	fmt.Print("Pass!")
}<commit_msg>Change timing to time the full test suite<commit_after>package main

import (
	"fmt"
	"time"
)

func assertEqual(a interface{}, b interface{}) {
	if a != b {
		panic(fmt.Sprint("Expected ", a, ", but got ", b))
	}
}

func fib(n int) int {
	if n < 2 {
		return 1
	}
	return fib(n - 1) + fib(n - 2)
}

func addOne(x int) int {
	return x + 1
}

func testMath() {
	assertEqual(2, 1 + 1)
}

func testFunctions() {
	assertEqual(5, fib(4))
	assertEqual(2, addOne(1))
}

func main() {
	start := time.Now()
	testMath()
	testFunctions()
	fmt.Print("Pass!")
	fmt.Println("Took ", time.Since(start))
}
{'fraction_non_alphanumeric': 0.18120805369127516, 'fraction_numerical': 0.02181208053691275, 'mean_word_length': 3.57088122605364, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5748188', 'n_tokens_mistral': 512, 'n_tokens_neox': 490, 'n_words': 129}