<commit_before>package main

import (
	"fmt"
	"log"

	retryablehttp "github.com/hashicorp/go-retryablehttp"
)

const (
	apiURL = "https://api.opendota.com/api/"
)

func getMatchData(matchID int64) oDotaMatchData {
	var matchData oDotaMatchData
	matchURL := fmt.Sprintf("%s%s/%d", apiURL, "matches", matchID)
	log.Println(matchID)
	getJSON(matchURL, &matchData)
	return matchData
}

func forceScan(matchID int64) {
	matchURL := fmt.Sprintf("%s%s/%d", apiURL, "request", matchID)
	log.Println("Forcescan")
	log.Println(matchID)
	r, _ := retryablehttp.Post(matchURL, "", nil)

	defer r.Body.Close()
}

func getLeaguesData() oDotaLeaguesData {
	var leaguesData oDotaLeaguesData
	leaguesURL := fmt.Sprintf("%s%s", apiURL, "leagues")
	getJSON(leaguesURL, &leaguesData)
	return leaguesData
}

func getPlayersData() oDotaPlayersData {
	var playersData oDotaPlayersData
	playersURL := fmt.Sprintf("%s%s", apiURL, "proPlayers")
	getJSON(playersURL, &playersData)
	return playersData
}
<commit_msg>Force scan logging<commit_after>package main

import (
	"fmt"
	"log"

	retryablehttp "github.com/hashicorp/go-retryablehttp"
)

const (
	apiURL = "https://api.opendota.com/api/"
)

func getMatchData(matchID int64) oDotaMatchData {
	var matchData oDotaMatchData
	matchURL := fmt.Sprintf("%s%s/%d", apiURL, "matches", matchID)
	log.Println(matchID)
	getJSON(matchURL, &matchData)
	return matchData
}

func forceScan(matchID int64) {
	matchURL := fmt.Sprintf("%s%s/%d", apiURL, "request", matchID)
	log.Printf("Force scan match %d data", matchID)
	r, _ := retryablehttp.Post(matchURL, "", nil)

	defer r.Body.Close()
}

func getLeaguesData() oDotaLeaguesData {
	var leaguesData oDotaLeaguesData
	leaguesURL := fmt.Sprintf("%s%s", apiURL, "leagues")
	getJSON(leaguesURL, &leaguesData)
	return leaguesData
}

func getPlayersData() oDotaPlayersData {
	var playersData oDotaPlayersData
	playersURL := fmt.Sprintf("%s%s", apiURL, "proPlayers")
	getJSON(playersURL, &playersData)
	return playersData
}

{'fraction_non_alphanumeric': 0.1388888888888889, 'fraction_numerical': 0.00404040404040404, 'mean_word_length': 5.854671280276817, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3445398', 'n_tokens_mistral': 760, 'n_tokens_neox': 744, 'n_words': 146}