<commit_before>package config

import (
	"encoding/json"
	"errors"
	"io/ioutil"
	"os"

	"github.com/op/go-logging"
)

var log = logging.MustGetLogger("tenyks")

type configPaths struct {
	paths []string
}

var ConfigSearch configPaths

func (self *configPaths) AddPath(path string) {
	ConfigSearch.paths = append(ConfigSearch.paths, path)
}

type Config struct {
	Debug       bool
	Redis       RedisConfig
	Connections []ConnectionConfig
	Control     ControlConfig
	LogLocation string
	Version     string
}

type RedisConfig struct {
	Host           string `json:"host"`
	Port           int<commit_msg>In fact, we don't need that right now<commit_after>package config

import (
	"encoding/json"
	"errors"
	"io/ioutil"
	"os"

	"github.com/op/go-logging"
)

var log = logging.MustGetLogger("tenyks")

type configPaths struct {
	paths []string
}

var ConfigSearch configPaths

func (self *configPaths) AddPath(path string) {
	ConfigSearch.paths = append(ConfigSearch.paths, path)
}

type Config struct {
	Debug       bool
	Redis       RedisConfig
	Connections []ConnectionConfig
	Control     ControlConfig
	LogLocation string
	Version     string
}

type RedisConfig struct {
	Host           string
	Port           int
{'fraction_non_alphanumeric': 0.08649093904448106, 'fraction_numerical': 0.0, 'mean_word_length': 3.4833948339483394, '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': '5956043', 'n_tokens_mistral': 392, 'n_tokens_neox': 388, 'n_words': 105}