<commit_before>package api

import (
	"log"
	"net/http"
	"os"
	"time"
)

func getBaseF12APIUrl() string {
	baseUrl := os.Getenv("F12_METRICS_API_ADDRESS")
	if baseUrl == "" {
		baseUrl = "http://app.force12.io"
	}

	log.Printf("Sending results to %s", baseUrl)
	return baseUrl
}

var baseF12APIUrl string = getBaseF12APIUrl()
var httpClient *http.Client = &http.Client{
	Timeout: 30000 * time.Millisecond,
}
<commit_msg>Hmmm. Probably need to come back to this timeout.<commit_after>package api

import (
	"log"
	"net/http"
	"os"
	"time"
)

func getBaseF12APIUrl() string {
	baseUrl := os.Getenv("F12_METRICS_API_ADDRESS")
	if baseUrl == "" {
		baseUrl = "http://app.force12.io"
	}

	log.Printf("Sending results to %s", baseUrl)
	return baseUrl
}

var baseF12APIUrl string = getBaseF12APIUrl()
var httpClient *http.Client = &http.Client{
	Timeout: 15000 * time.Millisecond,
}

{'fraction_non_alphanumeric': 0.13926940639269406, 'fraction_numerical': 0.03424657534246575, 'mean_word_length': 4.515723270440252, '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': '7338959', 'n_tokens_mistral': 366, 'n_tokens_neox': 344, 'n_words': 76}