<commit_before>#include "../conf/zsconfig.h"
#include "../include/zsconfig.defaults.h"

#ifndef __CONSTANTS_H_
#define __CONSTANTS_H_

#define VERSION				"0.7.3 BETA4 (PRE)"

#define F_IGNORED			254
#define F_BAD				255
#define F_NFO				253
#define F_DELETED			0
#define F_CHECKED			1
#define F_NOTCHECKED			2

#define TRUE				1
#define FALSE				0

#define DISABLED			NULL

#define FILE_MAX			256
#define MAXIMUM_FILES_IN_RELEASE	1024

#ifndef O_SYNC
#define O_SYNC O_FSYNC
#endif

#define video_announce_norace_complete_type	"COMPLETE_VIDEO"
#define zip_announce_norace_complete_type	"COMPLETE_ZIP"
#define rar_announce_norace_complete_type	"COMPLETE_RAR"
#define other_announce_norace_complete_type	"COMPLETE_OTHER"
#define audio_announce_norace_complete_type	"COMPLETE_AUDIO"
#define general_announce_norace_complete_type	"COMPLETE"
#define video_announce_race_complete_type	"COMPLETE_RACE_VIDEO"
#define zip_announce_race_complete_type		"COMPLETE_RACE_ZIP"
#define rar_announce_race_complete_type		"COMPLETE_RACE_RAR"
#define other_announce_race_complete_type	"COMPLETE_RACE_OTHER"
#define audio_announce_race_complete_type	"COMPLETE_RACE_AUDIO"
#define general_announce_race_complete_type	"COMPLETE_RACE"
#define audio_announce_vbr_update_type		"UPDATE_VBR"
#define audio_announce_cbr_update_type		"UPDATE_CBR"
#define rar_announce_update_type		"UPDATE_RAR"
#define zip_announce_update_type		"UPDATE_ZIP"
#define other_announce_update_type		"UPDATE_OTHER"
#define video_announce_update_type		"UPDATE_VIDEO"
#define general_announce_update_type		"UPDATE"
#define general_race_type			"RACE"
#define general_newleader_type			"NEWLEADER"
#define norace_halfway_type			"HALFWAY_NORACE"
#define race_halfway_type			"HALFWAY_RACE"
#define general_doublesfv_type			"DOUBLESFV"
#define general_sfv_type			"SFV"
#define general_badgenre_type			"BADGENRE"
#define general_badyear_type			"BADYEAR"
#define general_badbitrate_type			"BADBITRATE"
#define general_incomplete_type			"INCOMPLETE"
#define stat_users_head_type			"STAT_USERS_HEAD"
#define stat_users_type				"STAT_USERS"
#define stat_groups_head_type			"STAT_GROUPS_HEAD"
#define stat_groups_type			"STAT_GROUPS"
#define stat_post_type				"STAT_POST"

#define deny_double_msg		"{%U} {%G} {%r} {%n}"
#define audio_cbr_warn_msg	"{%U} {%G} {%X}"
#define audio_year_warn_msg	"{%U} {%G} {%Y}"
#define audio_genre_warn_msg	"{%U} {%G} {%w}"

#define pre_stats		"dummy_pre_stats"
#define between_stats		"dummy_between_stats"
#define post_stats		"{%u} {%g} {%F} {%.1m} {%d} {%.0A} %C0 %c0 %L %l"
#define winner			"dummy_winner"
#define loser			"dummy_loser"

#ifdef _WITH_NOFORMAT
#define user_top		"{%n} {%u} {%g} {%.1m} {%f} {%.1p} {%.0s} {%D} {%W} {%M} {%A}"
#define user_info		"{%u} {%g} {%.1m} {%f} {%.1p} {%.0s}"
#define group_top		"{%n} {%g} {%.1m} {%f} {%.1p} {%.0s}"
#define group_info		"{%g} {%.1m} {%f} {%.1p} {%.0s}"
#else
#define user_top		"{%n} {%-9u} {%-9g} {%5.1m} {%2f} {%5.1p} {%5.0s} {%2D} {%2W} {%2M} {%2A}"
#define user_info		"{%u} {%g} {%.1m} {%f} {%.1p} {%.0s}"
#define group_top		"{%n} {%-9g} {%.1m} {%f} {%.1p} {%5.0s}"
#define group_info		"{%g} {%.1m} {%-2f} {%.1p} {%.0s}"
#endif

/* Special reformat cookies */
#define fastestfile		"{%u} {%g} {%.3F}"	/* Put in %l cookie */
#define slowestfile		"{%u} {%g} {%.3S}"	/* Put in %L cookie */
#define racersplit		" "	/* Put between racers in the %R
					 * cookie - !!MUST BE ONLY ONE (1)
					 * CHAR!! */
#define racersmsg		"%u/%g"	/* Put in %R cookie */
#define audio_vbr		"{%X} {%z} {%Q} {VBR} {%I}"	/* Put in %j cookie */
#define audio_cbr		"{%X} {%z} {%Q} {CBR}"	/* Put in %j cookie */
<commit_msg>fix for slowest/fastest file in post_stats<commit_after>#include "../conf/zsconfig.h"
#include "../include/zsconfig.defaults.h"

#ifndef __CONSTANTS_H_
#define __CONSTANTS_H_

#define VERSION				"0.7.3 BETA4 (PRE)"

#define F_IGNORED			254
#define F_BAD				255
#define F_NFO				253
#define F_DELETED			0
#define F_CHECKED			1
#define F_NOTCHECKED			2

#define TRUE				1
#define FALSE				0

#define DISABLED			NULL

#define FILE_MAX			256
#define MAXIMUM_FILES_IN_RELEASE	1024

#ifndef O_SYNC
#define O_SYNC O_FSYNC
#endif

#define video_announce_norace_complete_type	"COMPLETE_VIDEO"
#define zip_announce_norace_complete_type	"COMPLETE_ZIP"
#define rar_announce_norace_complete_type	"COMPLETE_RAR"
#define other_announce_norace_complete_type	"COMPLETE_OTHER"
#define audio_announce_norace_complete_type	"COMPLETE_AUDIO"
#define general_announce_norace_complete_type	"COMPLETE"
#define video_announce_race_complete_type	"COMPLETE_RACE_VIDEO"
#define zip_announce_race_complete_type		"COMPLETE_RACE_ZIP"
#define rar_announce_race_complete_type		"COMPLETE_RACE_RAR"
#define other_announce_race_complete_type	"COMPLETE_RACE_OTHER"
#define audio_announce_race_complete_type	"COMPLETE_RACE_AUDIO"
#define general_announce_race_complete_type	"COMPLETE_RACE"
#define audio_announce_vbr_update_type		"UPDATE_VBR"
#define audio_announce_cbr_update_type		"UPDATE_CBR"
#define rar_announce_update_type		"UPDATE_RAR"
#define zip_announce_update_type		"UPDATE_ZIP"
#define other_announce_update_type		"UPDATE_OTHER"
#define video_announce_update_type		"UPDATE_VIDEO"
#define general_announce_update_type		"UPDATE"
#define general_race_type			"RACE"
#define general_newleader_type			"NEWLEADER"
#define norace_halfway_type			"HALFWAY_NORACE"
#define race_halfway_type			"HALFWAY_RACE"
#define general_doublesfv_type			"DOUBLESFV"
#define general_sfv_type			"SFV"
#define general_badgenre_type			"BADGENRE"
#define general_badyear_type			"BADYEAR"
#define general_badbitrate_type			"BADBITRATE"
#define general_incomplete_type			"INCOMPLETE"
#define stat_users_head_type			"STAT_USERS_HEAD"
#define stat_users_type				"STAT_USERS"
#define stat_groups_head_type			"STAT_GROUPS_HEAD"
#define stat_groups_type			"STAT_GROUPS"
#define stat_post_type				"STAT_POST"

#define deny_double_msg		"{%U} {%G} {%r} {%n}"
#define audio_cbr_warn_msg	"{%U} {%G} {%X}"
#define audio_year_warn_msg	"{%U} {%G} {%Y}"
#define audio_genre_warn_msg	"{%U} {%G} {%w}"

#define pre_stats		"dummy_pre_stats"
#define between_stats		"dummy_between_stats"
#define post_stats		"{%u} {%g} {%F} {%.1m} {%d} {%.0A} %C0 %c0 %l %L"
#define winner			"dummy_winner"
#define loser			"dummy_loser"

#ifdef _WITH_NOFORMAT
#define user_top		"{%n} {%u} {%g} {%.1m} {%f} {%.1p} {%.0s} {%D} {%W} {%M} {%A}"
#define user_info		"{%u} {%g} {%.1m} {%f} {%.1p} {%.0s}"
#define group_top		"{%n} {%g} {%.1m} {%f} {%.1p} {%.0s}"
#define group_info		"{%g} {%.1m} {%f} {%.1p} {%.0s}"
#else
#define user_top		"{%n} {%-9u} {%-9g} {%5.1m} {%2f} {%5.1p} {%5.0s} {%2D} {%2W} {%2M} {%2A}"
#define user_info		"{%u} {%g} {%.1m} {%f} {%.1p} {%.0s}"
#define group_top		"{%n} {%-9g} {%.1m} {%f} {%.1p} {%5.0s}"
#define group_info		"{%g} {%.1m} {%-2f} {%.1p} {%.0s}"
#endif

/* Special reformat cookies */
#define fastestfile		"{%u} {%g} {%.3F}"	/* Put in %l cookie */
#define slowestfile		"{%u} {%g} {%.3S}"	/* Put in %L cookie */
#define racersplit		" "	/* Put between racers in the %R
					 * cookie - !!MUST BE ONLY ONE (1)
					 * CHAR!! */
#define racersmsg		"%u/%g"	/* Put in %R cookie */
#define audio_vbr		"{%X} {%z} {%Q} {VBR} {%I}"	/* Put in %j cookie */
#define audio_cbr		"{%X} {%z} {%Q} {CBR}"	/* Put in %j cookie */

{'fraction_non_alphanumeric': 0.15614252304305956, 'fraction_numerical': 0.018984729673957902, 'mean_word_length': 5.775396085740914, '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': '6486466', 'n_tokens_mistral': 3412, 'n_tokens_neox': 3183, 'n_words': 683}