<commit_before>package main

import (
	"flag"
	"net/http"
)

var (
	port = flag.String("port", "3000", "port to use")
)

func main() {
	flag.Parse()
	http.Handle("/", http.FileServer(http.Dir(".")))
	http.ListenAndServe(":"+*port, nil)
}<commit_msg>have directory setting, some semblance of logging<commit_after>package main

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

var (
	port = flag.String("port", "3000", "port to use")
	dir  = flag.String("dir", ".", "directory to serve")
)

func main() {
	flag.Parse()
	http.Handle("/", http.FileServer(http.Dir(*dir)))
	log.Printf("Serving %s on port %s", *dir, *port)
	http.ListenAndServe(":"+*port, nil)
}
{'fraction_non_alphanumeric': 0.21207430340557276, 'fraction_numerical': 0.01238390092879257, 'mean_word_length': 4.675438596491228, 'pattern_counts': {'":': 2, '<': 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': '2530151', 'n_tokens_mistral': 260, 'n_tokens_neox': 252, 'n_words': 57}