<commit_before>package main

import (
	"flag"
	"log"
	"net/http"
	"time"

	"github.com/zeebox/go-http-middleware"
	"github.com/zeebox/goose4"
)

var (
	GitRepo = flag.String("repo", "", "Git repo which stores job configuration")
	L       = log.New(os.Stdout, "", log.LstdFlags|log.Lshortfile)
)

func main() {
	flag.Parse()

	c := goose4.Config{
		ArtifactID:      "cronut",
		BuildNumber:     "n/a",
		BuildMachine:    "",
		BuiltBy:         "",
		BuiltWhen:       time.Now(),
		CompilerVersion: "",
		GitSha:          "",
		RunbookURI:      "",
		Version:         "v0.0.1",
	}

	se4, err := goose4.NewGoose4(c)
	if err != nil {
		panic(err)<commit_msg>Log out initialisation details<commit_after>package main

import (
	"flag"
	"log"
	"net/http"
	"time"

	"github.com/zeebox/go-http-middleware"
	"github.com/zeebox/goose4"
)

var (
	GitRepo = flag.String("repo", "", "Git repo which stores job configuration")
	L       = log.New(os.Stdout, "", log.LstdFlags|log.Lshortfile)
)

func main() {
	flag.Parse()
	L.Print("cronut")
	L.Printf("Initialized with repo: %q", *GitRepo)

	c := goose4.Config{
		ArtifactID:      "cronut",
		BuildNumber:     "n/a",
		BuildMachine:    "",
		BuiltBy:         "",
		BuiltWhen:       time.Now(),
		CompilerVersion: "",
		GitSha:          "",
		RunbookURI:      "",
		Version:         "v0.0.1",
	}

	se4, err := goose4.NewGoose4(c)
	if err != nil {
		panic(err)
{'fraction_non_alphanumeric': 0.17372577171572146, 'fraction_numerical': 0.01148600143575018, 'mean_word_length': 2.7675675675675677, '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': '2284553', 'n_tokens_mistral': 589, 'n_tokens_neox': 563, 'n_words': 100}