<commit_before>package main

import (
	"flag"
	"fmt"
	"io/ioutil"
	"log"
	"time"

	"vallon.me/sansan"
)

func main() {
	flag.Parse()

	prog, err := ioutil.ReadFile(flag.Arg(0))
	if err != nil {
		log.Println(err)
		return
	}

	t1 := time.Now()

	sansan.NewMachine().Run(sansan.Program(prog))

	fmt.Println("\n\nProgram exited in:", time.Now().Sub(t1))
}<commit_msg>log runtime output to stderr<commit_after>package main

import (
	"flag"
	"fmt"
	"io/ioutil"
	"log"
	"os"
	"time"

	"vallon.me/sansan"
)

func main() {
	flag.Parse()

	prog, err := ioutil.ReadFile(flag.Arg(0))
	if err != nil {
		log.Println(err)
		return
	}

	t1 := time.Now()

	sansan.NewMachine().Run(sansan.Program(prog))

	fmt.Fprintln(os.Stderr, "\nProgram exited in:", time.Now().Sub(t1))
}
{'fraction_non_alphanumeric': 0.19316688567674112, 'fraction_numerical': 0.00788436268068331, 'mean_word_length': 3.8227848101265822, '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': '1954951', 'n_tokens_mistral': 363, 'n_tokens_neox': 339, 'n_words': 60}