<commit_before>#################################################################################
# Code part only, main config is moved to dZSbconf.tcl :)                       #
# THIS MEANS THAT YOU ARENT SUPPOSED TO EDIT THIS FILE                          #
# FOR CONFIGURATION PURPOSES!                                                   #
#################################################################################

#################################################################################
# READING THE CONFIG (and NOT being a cryptic bitch ;)                          #
#################################################################################
set dver "0.0.4"
set dzerror "0"
set pid 0
set tclroot [file dirname [info script]]
putlog "Launching dZSBot (v$dver) for zipscript-c..."

if {[catch {source [file dirname [info script]]/dZSbconf.defaults.tcl} tmperror]} {
	putlog "dZSbot: dZSbconf.defaults.tcl not found or has errors. Cannot continue."
	putlog "dZSbot: See FAQ for possible solutions/debugging options."
	die
}
if {[catch {source [file dirname [info script]]/dZSbconf.tcl} tmperror]} {
	putlog "dZSbot: dZSbconf.tcl not found or has errors. Cannot continue."
	putlog "dZSbot: See FAQ for possible solutions/debugging options."
	die
}
if {[catch {source [file dirname [info script]]/dZSbvars.tcl} tmperror]} {
	putlog "dZSbot: dZSbvars.tcl not found or has errors. Cannot continue."
	putlog "dZSbot: See FAQ for possible solutions/debugging options."
	die
}<commit_msg>Made bot NOT die on missing dZSbconf.tcl. It will just continue with defaults only, and instruct on how to fix.<commit_after>#################################################################################
# Code part only, main config is moved to dZSbconf.tcl :)                       #
# THIS MEANS THAT YOU ARENT SUPPOSED TO EDIT THIS FILE                          #
# FOR CONFIGURATION PURPOSES!                                                   #
#################################################################################

#################################################################################
# READING THE CONFIG (and NOT being a cryptic bitch ;)                          #
#################################################################################
set dver "0.0.4"
set dzerror "0"
set pid 0
set tclroot [file dirname [info script]]
putlog "Launching dZSBot (v$dver) for zipscript-c..."

if {[catch {source [file dirname [info script]]/dZSbconf.defaults.tcl} tmperror]} {
	putlog "dZSbot: dZSbconf.defaults.tcl not found or has errors. Cannot continue."
	putlog "dZSbot: See FAQ for possible solutions/debugging options."
	die
}
if {[catch {source [file dirname [info script]]/dZSbconf.tcl} tmperror]} {
	putlog "dZSbot: dZSbconf.tcl not found or has errors. Continuing with defaults only!"
	putlog "dZSbot: See FAQ/README for possible solutions/debugging options."
	putlog "dZSbot: If this is your first install - do; cp dZSbconf.dist.tcl dZSbconf.tcl."
}
if {[catch {source [file dirname [info script]]/dZSbvars.tcl} tmperror]} {
	putlog "dZSbot: dZSbvars.tcl not found or has errors. Cannot continue."
	putlog "dZSbot: See FAQ for possible solutions/debugging options."
	die
}
{'fraction_non_alphanumeric': 0.27693262961813103, 'fraction_numerical': 0.003104625892579944, 'mean_word_length': 3.794642857142857, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6025579', 'n_tokens_mistral': 919, 'n_tokens_neox': 872, 'n_words': 305}